/*------------------------------------*\
Sommaire

Variables Fluence UI
Mixins Fluence UI
Base application
Layout application
Cartes et grilles
Étapes et progression
Lecture guidée
Page livre / lecture
Statistiques parent
Formulaires simples
États et messages
Pages légales
Overrides DaisyUI
\*------------------------------------*/
/*------------------------------------*\
Variables Fluence UI
\*------------------------------------*/
/* Couleurs principales */
/* Couleurs d’action et d’état */
/* Couleurs lecture */
/* Typographies */
/* Espacements */
/* Layout */
/* Rayons */
/* Ombres */
/* Transitions */
/* Breakpoints */
/*------------------------------------*\
Mixins Fluence UI
\*------------------------------------*/
/*------------------------------------*\
Base application
\*------------------------------------*/
:root {
  color-scheme: light;
  --fluence-app-frame-width: min(1280px, calc(100% - 40px));
  --fluence-bg: #f8fafc;
  --fluence-panel: #ffffff;
  --fluence-text: #172033;
  --fluence-muted: #667085;
  --fluence-border: #d9e2ec;
  --fluence-primary: #2563eb;
  --fluence-primary-dark: #1e40af;
  --fluence-success: #15803d;
  --fluence-danger: #b42318;
  --fluence-locked: #64748b;
  /* Alias temporaires : utilisés par le CSS actuel et conservés pendant la migration. */
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: #d9e2ec;
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --success: #15803d;
  --locked: #64748b;
  --danger: #b42318;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body,
.fluence-app-shell,
.app-shell {
  min-height: 100vh;
  margin: 0;
  background: #f8fafc;
  color: #172033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}
body {
  padding-top: 20px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
/*------------------------------------*\
Layout application
\*------------------------------------*/
.fluence-app-header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px max(24px, calc((100% - 1280px) / 2));
  background: #ffffff;
  border-bottom: 1px solid #d9e2ec;
}
@media (max-width: 900px) {
  .fluence-app-header {
    grid-template-columns: 1fr auto;
  }
}
@media (max-width: 680px) {
  .fluence-app-header {
    gap: 12px;
    padding: 12px 16px;
  }
}
.fluence-app-header__brand {
  display: inline-flex;
  align-items: center;
  margin-top: -20px;
}
.fluence-app-header__brand:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-app-header__brand img {
  display: block;
  width: auto;
  height: 42px;
}
.fluence-app-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
@media (max-width: 900px) {
  .fluence-app-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
    justify-content: flex-start;
  }
}
.fluence-app-nav__link {
  padding: 8px 12px;
  border-bottom: 3px solid transparent;
  color: #667085;
  font-weight: 700;
  white-space: nowrap;
}
.fluence-app-nav__link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-app-nav__link:hover,
.fluence-app-nav__link.is-active {
  border-bottom-color: #2563eb;
  color: #1e40af;
}
.fluence-app-user {
  display: grid;
  grid-template-columns: 44px auto;
  align-items: center;
  column-gap: 8px;
  font-weight: 700;
}
.fluence-app-user a {
  grid-column: 2;
  color: #667085;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
}
@media (max-width: 680px) {
  .fluence-app-user {
    display: none;
  }
}
.fluence-app-avatar {
  width: 55px;
  height: 55px;
  border: 2px solid #d9e2ec;
  border-radius: 50%;
  object-fit: cover;
}
.fluence-app-logout button {
  padding: 8px 12px;
  background: transparent;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  color: #172033;
  cursor: pointer;
  font-weight: 700;
}
.fluence-app-logout button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
@media (max-width: 680px) {
  .fluence-app-logout button {
    padding-inline: 8px;
  }
}
.fluence-app-main,
.fluence-main,
.app-main {
  width: var(--fluence-app-frame-width);
  margin: 0 auto;
  padding: 28px;
}
@media (max-width: 680px) {
  .fluence-app-main,
  .fluence-main,
  .app-main {
    padding: 18px;
  }
}
.fluence-page-header,
.page-header {
  margin-bottom: 24px;
}
.fluence-page-header h1,
.page-header h1 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.1;
}
@media (max-width: 680px) {
  .fluence-page-header h1,
  .page-header h1 {
    font-size: 1.8rem;
  }
}
.fluence-eyebrow,
.eyebrow {
  margin: 0 0 6px;
  color: #667085;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}
/*------------------------------------*\
Accueil enfant
\*------------------------------------*/
.fluence-home-page {
  display: grid;
  gap: 24px;
}
.fluence-home-hero {
  position: relative;
  display: grid;
  min-height: 260px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #cfe3ee;
  border-radius: 8px;
  padding: 32px;
  background: #edf8f4;
}
@media (max-width: 680px) {
  .fluence-home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 24px;
  }
}
.fluence-home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 590px;
}
.fluence-home-hero__content h1 {
  margin: 0 0 12px;
  color: #173d45;
  font-size: 2.6rem;
  line-height: 1.08;
}
@media (max-width: 680px) {
  .fluence-home-hero__content h1 {
    font-size: 2rem;
  }
}
.fluence-home-hero__content p {
  max-width: 530px;
  margin: 0;
  color: #45636a;
  font-size: 1.25rem;
}
.fluence-home-hero__star {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 48%;
  width: 56px;
  height: 56px;
  object-fit: contain;
}
@media (max-width: 680px) {
  .fluence-home-hero__star {
    top: 8px;
    right: 8px;
    left: auto;
    width: 42px;
    height: 42px;
  }
}
.fluence-home-hero__image {
  position: relative;
  align-self: stretch;
  min-height: 220px;
}
.fluence-home-hero__image img {
  position: absolute;
  right: 0;
  bottom: -32px;
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}
.fluence-home-hero__image .fluence-home-hero__background {
  width: 100%;
  height: 100%;
}
.fluence-home-hero__image .fluence-home-hero__reader {
  right: 8%;
  width: 78%;
  height: 90%;
}
@media (max-width: 680px) {
  .fluence-home-hero__image {
    min-height: 170px;
  }
  .fluence-home-hero__image img {
    bottom: -24px;
  }
}
/*------------------------------------*\
Cartes action accueil
\*------------------------------------*/
.fluence-home-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .fluence-home-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .fluence-home-actions {
    grid-template-columns: 1fr;
  }
}
.fluence-home-logout {
  display: contents;
}
.fluence-action-card {
  display: grid;
  min-height: 218px;
  grid-template-rows: 56px 1fr auto;
  gap: 12px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
  color: #172033;
  font: inherit;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.fluence-action-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}
.fluence-action-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-action-card > img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.fluence-action-card > span {
  display: grid;
  align-content: start;
  gap: 8px;
  color: inherit;
}
.fluence-action-card > span strong {
  font-size: 1.2rem;
  line-height: 1.2;
}
.fluence-action-card > span small {
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.4;
}
.fluence-action-card > b {
  justify-self: start;
  border-radius: 8px;
  padding: 7px 11px;
  background: #e8eefc;
  color: #1e40af;
  font-size: 0.86rem;
}
.fluence-action-card--primary {
  border-top: 5px solid #2563eb;
}
.fluence-action-card--success {
  border-top: 5px solid #15803d;
}
.fluence-action-card--success > b {
  background: #e8f6ed;
  color: #166534;
}
.fluence-action-card--warning {
  border-top: 5px solid #d69e2e;
}
.fluence-action-card--warning > b {
  background: #fff7db;
  color: #854d0e;
}
.fluence-action-card--danger {
  width: 100%;
  border-top: 5px solid #b42318;
  cursor: pointer;
}
.fluence-action-card--danger > b {
  background: #fff0ee;
  color: #b42318;
}
.fluence-action-card.is-disabled {
  color: #64748b;
  cursor: not-allowed;
  opacity: 0.72;
  pointer-events: none;
}
/*------------------------------------*\
Résumé progression accueil
\*------------------------------------*/
.fluence-home-summary {
  position: relative;
  display: grid;
  min-height: 230px;
  grid-template-columns: 190px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  border: 1px solid #d9e8cf;
  border-radius: 8px;
  padding: 24px;
  background: #f5faef;
}
@media (max-width: 900px) {
  .fluence-home-summary {
    grid-template-columns: 150px 1fr;
  }
  .fluence-home-summary .fluence-home-summary__metrics {
    grid-column: 1 / -1;
  }
}
@media (max-width: 680px) {
  .fluence-home-summary {
    grid-template-columns: 1fr;
  }
}
.fluence-home-summary__book {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 4px solid #ffffff;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.fluence-home-summary__book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fluence-home-summary__content {
  position: relative;
  z-index: 1;
}
.fluence-home-summary__content h2 {
  margin: 0 0 4px;
  font-size: 1.65rem;
  line-height: 1.2;
}
.fluence-home-summary__content p {
  margin: 0 0 12px;
  color: #667085;
}
.fluence-progress-bar {
  height: 13px;
  overflow: hidden;
  border-radius: 8px;
  background: #dce8d3;
}
.fluence-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #15803d;
}
.fluence-home-summary__progress {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px !important;
}
.fluence-home-summary__metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 12px;
}
.fluence-home-summary__metrics div {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 0 8px;
  border: 1px solid #d7e5cb;
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.88);
}
.fluence-home-summary__metrics img {
  width: 38px;
  height: 38px;
  grid-row: 1 / 3;
  object-fit: contain;
}
.fluence-home-summary__metrics strong {
  font-size: 1.35rem;
  line-height: 1;
}
.fluence-home-summary__metrics span {
  color: #667085;
  font-size: 0.82rem;
}
@media (max-width: 680px) {
  .fluence-home-summary__metrics {
    grid-template-columns: 1fr;
  }
}
.fluence-home-summary__mascot {
  position: static;
  z-index: 1;
  width: 110px;
  opacity: 1;
  pointer-events: none;
  justify-self: center;
  align-self: end;
}
.fluence-home-summary--empty {
  grid-template-columns: 140px 1fr;
}
.fluence-home-summary--empty > img {
  width: 130px;
  max-height: 170px;
  object-fit: contain;
}
.fluence-home-summary--empty h2,
.fluence-home-summary--empty p {
  margin: 0 0 8px;
}
@media (max-width: 680px) {
  .fluence-home-summary--empty {
    grid-template-columns: 1fr;
  }
}
/*------------------------------------*\
Mes livres
\*------------------------------------*/
.fluence-books-shell {
  min-height: 100vh;
  background-color: #eef8fc;
  background-image: url('/images/app-ui/backgrounds/books-listing-field.webp');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}
.fluence-books-shell .fluence-app-main {
  width: var(--fluence-app-frame-width);
  padding: 12px 0 24px;
}
.fluence-books-page {
  display: grid;
  min-width: 0;
  gap: 16px;
  padding: 18px;
}
.fluence-book-carousel {
  --fluence-book-carousel-gap: 64px;
  --fluence-book-card-width: min(100%, 552px);
  --fluence-book-carousel-index: 0;
  position: relative;
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: 14px;
  padding: 0;
}
@media (min-width: 901px) {
  .fluence-book-carousel {
    --fluence-book-card-width: calc((100% - var(--fluence-book-carousel-gap)) / 2);
  }
}
@media (max-width: 900px) {
  .fluence-book-carousel {
    --fluence-book-card-width: min(100%, 560px);
  }
}
.fluence-books-intro {
  padding: 8px 14px 0;
}
.fluence-books-intro .fluence-eyebrow {
  margin-bottom: 8px;
  color: #676f7e;
  font-size: 1rem;
}
.fluence-books-intro h1 {
  margin: 0 0 8px;
  color: #1c2433;
  font-size: 3rem;
  line-height: 1.02;
}
.fluence-books-intro p:last-child {
  margin: 0;
  color: #6d7683;
  font-size: 1.18rem;
}
.fluence-book-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: #1f9abc;
  color: #fff;
  cursor: pointer;
  font-size: 2.15rem;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(31, 152, 185, 0.3);
  transform: translateY(-50%);
}
.fluence-book-carousel__arrow:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-book-carousel__arrow--prev {
  left: 4px;
}
.fluence-book-carousel__arrow--next {
  right: 4px;
}
.fluence-book-carousel__stage {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding: 0 88px 4px;
}
.fluence-book-carousel__viewport {
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  margin-inline: -10px;
  padding: 10px 10px 0;
  touch-action: pan-y;
}
.fluence-book-carousel__track {
  display: flex;
  gap: var(--fluence-book-carousel-gap);
  transform: translateX(calc(var(--fluence-book-carousel-index) * -1 * (var(--fluence-book-card-width) + var(--fluence-book-carousel-gap))));
  transition: transform 0.28s ease;
  will-change: transform;
}
.fluence-book-carousel__card {
  position: relative;
  display: grid;
  flex: 0 0 var(--fluence-book-card-width);
  min-height: 470px;
  grid-template-rows: auto auto 1fr auto;
  justify-items: center;
  align-content: start;
  gap: 14px;
  overflow: visible;
  border: 1px solid #dce5d3;
  border-radius: 34px;
  padding: 0 0 22px;
  background: #ffffff;
  box-shadow: 0 4px 4px rgba(51, 65, 85, 0.1);
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
@media (max-width: 900px) {
  .fluence-book-carousel__card {
    min-height: 570px;
  }
}
@media (max-width: 680px) {
  .fluence-book-carousel__card {
    min-height: 520px;
    padding: 0 0 20px;
  }
}
.fluence-book-carousel__card.is-current {
  transform: translateY(-4px);
}
.fluence-book-carousel__card.tone-emerald .fluence-book-carousel__title {
  color: #18513d;
}
.fluence-book-carousel__card.tone-emerald .fluence-book-carousel__badge {
  background: rgba(88, 172, 59, 0.96);
}
.fluence-book-carousel__card.tone-emerald .fluence-book-carousel__open {
  background: linear-gradient(180deg, #3aa44c 0%, #2e8c3b 100%);
}
.fluence-book-carousel__card.tone-violet .fluence-book-carousel__title {
  color: #4d2aa0;
}
.fluence-book-carousel__card.tone-violet .fluence-book-carousel__badge {
  background: rgba(105, 66, 188, 0.96);
}
.fluence-book-carousel__card.tone-violet .fluence-book-carousel__open {
  background: linear-gradient(180deg, #6c45bf 0%, #5230a6 100%);
}
.fluence-book-carousel__card.tone-gold .fluence-book-carousel__title {
  color: #2b6a29;
}
.fluence-book-carousel__card.tone-gold .fluence-book-carousel__badge {
  background: rgba(46, 143, 50, 0.96);
}
.fluence-book-carousel__card.tone-gold .fluence-book-carousel__open {
  background: linear-gradient(180deg, #2f8f32 0%, #267526 100%);
}
.fluence-book-carousel__badge {
  position: absolute;
  z-index: 2;
  top: -6px;
  left: -10px;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.96);
  color: #fff;
  box-shadow: 0 4px 5px rgba(24, 81, 61, 0.2);
}
.fluence-book-carousel__badge strong {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}
.fluence-book-carousel__badge span {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.02;
  text-transform: lowercase;
}
.fluence-book-carousel__cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background: #f6f7f9;
}
.fluence-book-carousel__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f6f7f9;
  margin-top: -15%;
}
.fluence-book-carousel__title {
  width: calc(100% - 40px);
  margin: 6px auto 0;
  color: #1a503e;
  font-size: 2.1rem;
  font-weight: 850;
  line-height: 1.02;
}
.fluence-book-carousel__theme {
  margin: 0;
  color: #5f6d5f;
  font-size: 1.08rem;
}
.fluence-book-carousel__progress {
  width: calc(100% - 40px);
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.fluence-book-carousel__step {
  color: #687583;
  font-size: 1rem;
}
.fluence-book-carousel__open {
  width: calc(100% - 40px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 58px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: #2f7d32;
  color: #fff;
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 700;
}
.fluence-book-carousel__open:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-book-carousel__open img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.fluence-book-carousel__open:hover {
  filter: brightness(0.97);
}
.fluence-book-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 0;
}
.fluence-book-carousel__dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfd9ea;
  cursor: pointer;
}
.fluence-book-carousel__dot:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-book-carousel__dot.is-active {
  width: 18px;
  height: 18px;
  background: #1f98b9;
}
.fluence-books-empty {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 224px;
  overflow: hidden;
  border: 1px solid #d7e5cb;
  border-radius: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
}
.fluence-books-empty img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.fluence-books-empty h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  line-height: 1.15;
}
.fluence-books-empty p {
  margin: 0;
  color: #667085;
}
@media (max-width: 680px) {
  .fluence-books-empty {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .fluence-books-empty img {
    justify-self: center;
  }
}
@media (max-width: 900px) {
  .fluence-books-shell .fluence-app-main {
    width: var(--fluence-app-frame-width);
    padding-inline: 0;
  }
  .fluence-books-page {
    border-radius: 28px;
    padding: 12px;
  }
  .fluence-book-carousel__stage {
    padding-inline: 64px;
  }
}
@media (max-width: 680px) {
  .fluence-book-carousel {
    --fluence-book-carousel-gap: 14px;
    --fluence-book-card-width: 100%;
  }
  .fluence-book-carousel__stage {
    padding-inline: 0;
  }
  .fluence-book-carousel__arrow {
    display: none;
  }
  .fluence-book-carousel__stage {
    display: grid;
    gap: 10px;
  }
  .fluence-book-carousel__track {
    gap: var(--fluence-book-carousel-gap);
  }
  .fluence-book-carousel__card {
    flex-basis: 100%;
  }
  .fluence-book-carousel__badge {
    width: 78px;
    height: 78px;
  }
  .fluence-book-carousel__badge strong {
    font-size: 1.7rem;
  }
  .fluence-book-carousel__badge span {
    font-size: 0.82rem;
  }
  .fluence-book-carousel__title,
  .fluence-book-carousel__progress,
  .fluence-book-carousel__open {
    width: calc(100% - 32px);
  }
}
.fluence-progress-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}
.fluence-progress-track__bar {
  position: relative;
  height: 28px;
  overflow: visible;
  border-radius: 999px;
  background: #f1ead8;
}
.fluence-progress-track__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #89c91f 0%, #cde36a 100%);
}
.fluence-progress-track__marker {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  object-fit: contain;
}
.fluence-progress-track__percent {
  color: #2553a7;
  font-size: 1.08rem;
  font-weight: 700;
}
/*------------------------------------*\
Page progrès
\*------------------------------------*/
.fluence-progress-page {
  display: grid;
  gap: 24px;
}
.fluence-progress-page__header {
  max-width: 760px;
}
.fluence-progress-page__header h1 {
  margin: 0 0 8px;
  font-size: 2.2rem;
  line-height: 1.15;
}
.fluence-progress-page__header p:last-child {
  margin: 0;
  color: #667085;
}
/*------------------------------------*\
Cartes et grilles
\*------------------------------------*/
.fluence-ui-grid,
.fluence-action-grid,
.fluence-book-grid,
.fluence-child-grid,
.fluence-step-grid,
.action-grid,
.book-grid,
.child-grid,
.step-grid {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 680px) {
  .fluence-ui-grid,
  .fluence-action-grid,
  .fluence-book-grid,
  .fluence-child-grid,
  .fluence-step-grid,
  .action-grid,
  .book-grid,
  .child-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }
}
.fluence-action-grid,
.fluence-book-grid,
.fluence-child-grid,
.action-grid,
.book-grid,
.child-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.fluence-step-grid,
.step-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.fluence-ui-card,
.fluence-action-card,
.fluence-book-card,
.fluence-child-card,
.fluence-step-card,
.action-card,
.book-card,
.child-card,
.step-tile {
  display: flex;
  min-height: 132px;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  color: #172033;
  text-align: left;
}
@media (max-width: 680px) {
  .fluence-ui-card,
  .fluence-action-card,
  .fluence-book-card,
  .fluence-child-card,
  .fluence-step-card,
  .action-card,
  .book-card,
  .child-card,
  .step-tile {
    min-height: 112px;
  }
}
.fluence-action-card,
.fluence-book-card,
.fluence-child-card,
.fluence-step-card,
.action-card,
.book-card,
.child-card,
.step-tile {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.fluence-action-card:hover,
.fluence-book-card:hover,
.fluence-child-card:hover,
.fluence-step-card:hover,
.action-card:hover,
.book-card:hover,
.child-card:hover,
.step-tile:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}
.fluence-action-card:focus-visible,
.fluence-book-card:focus-visible,
.fluence-child-card:focus-visible,
.fluence-step-card:focus-visible,
.action-card:focus-visible,
.book-card:focus-visible,
.child-card:focus-visible,
.step-tile:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-action-card span,
.fluence-book-card span,
.fluence-child-card span,
.fluence-step-card span,
.action-card span,
.book-card span,
.child-card span,
.step-tile span {
  color: #667085;
  font-size: 0.95rem;
  font-weight: 700;
}
.fluence-action-card strong,
.fluence-book-card strong,
.fluence-child-card strong,
.fluence-step-card strong,
.action-card strong,
.book-card strong,
.child-card strong,
.step-tile strong {
  font-size: 1.35rem;
  line-height: 1.2;
}
.fluence-child-card,
.fluence-step-card,
.child-card,
.step-tile,
.logout-card .action-card,
.fluence-logout-card .fluence-action-card {
  cursor: pointer;
}
.fluence-primary-card,
.primary-card {
  border-color: rgba(37, 99, 235, 0.45);
}
.fluence-logout-card,
.logout-card {
  margin: 0;
}
.fluence-ui-empty-state,
.fluence-empty-state,
.empty-state {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  padding: 22px;
}
/*------------------------------------*\
Étapes et progression
\*------------------------------------*/
.fluence-step-card em,
.step-tile em {
  color: #15803d;
  font-style: normal;
  font-weight: 700;
}
.fluence-step-card.is-available,
.step-tile.is-available {
  border-color: rgba(37, 99, 235, 0.45);
}
.fluence-step-card.is-completed em,
.step-tile.is-completed em {
  color: #15803d;
}
.fluence-step-card.is-reread em,
.step-tile.is-reread em {
  color: #0f766e;
}
.fluence-step-card.is-review,
.step-tile.is-review {
  border-color: rgba(180, 83, 9, 0.55);
}
.fluence-step-card.is-review em,
.step-tile.is-review em {
  color: #b45309;
}
.fluence-step-card.is-locked,
.step-tile.is-locked {
  color: #64748b;
  cursor: not-allowed;
  opacity: 0.72;
}
.fluence-step-card.is-locked em,
.step-tile.is-locked em {
  color: #64748b;
}
.is-locked,
.is-disabled {
  color: #64748b;
  cursor: not-allowed;
  opacity: 0.72;
}
.fluence-steps-shell {
  position: relative;
  min-height: 100vh;
  background-color: #fffaf3;
  background-image: linear-gradient(180deg, #fffaf0 0%, #f3f8ff 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
.fluence-steps-shell::before {
  position: fixed;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: env(safe-area-inset-bottom, 0px);
  left: 0;
  content: '';
  pointer-events: none;
  background-image: url('/images/app-ui/decorations/plants/home-bottom-left.webp'), url('/images/app-ui/decorations/plants/home-bottom-right.webp');
  background-repeat: no-repeat;
  background-position: left bottom, right bottom;
  background-size: 260px auto, 390px auto;
}
@media (max-width: 900px) {
  .fluence-steps-shell::before {
    background-size: 170px auto, 250px auto;
    opacity: 0.72;
  }
}
@media (max-width: 680px) {
  .fluence-steps-shell::before {
    background-size: 90px auto, 135px auto;
    opacity: 0.45;
  }
}
.fluence-steps-shell .fluence-app-main {
  position: relative;
  z-index: 1;
  width: var(--fluence-app-frame-width);
  padding: 14px 0 26px;
}
.fluence-steps-page {
  position: relative;
  display: grid;
  margin-bottom: 30px;
  width: 100%;
  gap: 20px;
  padding: 20px 20px 22px;
}
.fluence-steps-page__toolbar {
  display: flex;
  justify-content: flex-end;
}
.fluence-steps-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 18px;
  background: #ffffff;
  color: #2258e0;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(30, 63, 125, 0.1);
}
.fluence-steps-back:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-steps-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 300px;
  padding: 0 14px 0;
}
@media (max-width: 900px) {
  .fluence-steps-hero {
    grid-template-columns: 250px minmax(0, 3fr) minmax(0, 0fr);
  }
  .fluence-steps-hero .fluence-steps-hero__decoration {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: -4px;
    display: none;
  }
}
@media (max-width: 680px) {
  .fluence-steps-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }
}
.fluence-steps-hero__cover {
  width: 100%;
  aspect-ratio: 0.82 / 1;
  overflow: hidden;
  border: 1px solid #d4dbe7;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(31, 48, 64, 0.11);
}
.fluence-steps-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 680px) {
  .fluence-steps-hero__cover {
    max-width: 250px;
    justify-self: start;
  }
}
.fluence-steps-hero__content {
  display: grid;
  gap: 12px;
  align-content: center;
  min-width: 0;
}
.fluence-steps-hero__content h1 {
  margin: 0;
  color: #0d285a;
  font-size: 3rem;
  line-height: 0.92;
  letter-spacing: 0;
}
.fluence-steps-hero__subtitle {
  margin: 0 0 10px;
  color: #6e7b8f;
  font-size: 1.42rem;
  line-height: 1.2;
}
.fluence-steps-progress-card {
  display: grid;
  gap: 10px;
  max-width: 480px;
  padding: 12px 16px 14px;
  border: 1px solid #e8eef6;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px rgba(32, 49, 77, 0.1);
}
.fluence-steps-progress-card__summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.fluence-steps-progress-card__summary img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.fluence-steps-progress-card__summary strong {
  display: block;
  color: #24365c;
  font-size: 1.2rem;
  line-height: 1.1;
}
.fluence-steps-progress-card__summary span {
  color: #7a8796;
  font-size: 0.95rem;
  font-weight: 600;
}
.fluence-step-grid--rich {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}
@media (max-width: 1200px) {
  .fluence-step-grid--rich {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 840px) {
  .fluence-step-grid--rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .fluence-step-grid--rich {
    grid-template-columns: 1fr;
  }
}
.fluence-step-grid--rich .fluence-step-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 240px;
  grid-template-rows: auto 105px 1fr auto;
  justify-items: center;
  gap: 6px;
  overflow: hidden;
  border: 1px solid #d5e0ef;
  border-radius: 20px;
  padding: 10px 12px 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(32, 49, 77, 0.08);
  text-align: center;
}
.fluence-step-grid--rich .fluence-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(32, 49, 77, 0.12);
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__label {
  justify-self: stretch;
  padding-left: 0;
  color: #9299a5;
  font-size: 0.96rem;
  font-weight: 700;
  text-align: left;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(53, 81, 127, 0.14);
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__badge.is-available {
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 0 16px 0 15px;
  background-color: #2a7cea;
  background-image: url('/images/app-ui/icons/states/step-available-star.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 30px;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__badge.is-available img {
  display: none;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__badge.is-completed,
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__badge.is-reread {
  background: transparent;
  box-shadow: none;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__badge.is-completed img,
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__badge.is-reread img {
  width: 42px;
  height: 42px;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__badge.is-review {
  background: #f4a61e;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__media {
  display: grid;
  place-items: center;
  width: 105px;
  height: 105px;
  margin-top: 0;
  background: transparent;
  box-shadow: none;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__media img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__media.is-placeholder {
  background: transparent;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__media.is-locked {
  width: 88px;
  height: 88px;
  opacity: 1;
  background: transparent;
  box-shadow: none;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__media.is-locked img {
  width: 88px;
  height: 88px;
  border-radius: 0;
  object-fit: contain;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__title {
  width: 100%;
  align-self: center;
  min-height: 46px;
  color: #1c2440;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  width: 100%;
  min-width: 100%;
  min-height: 40px;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #eef4ff;
  color: #214a96;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__action img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__action::after {
  content: '→';
  font-size: 1.1rem;
  line-height: 1;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__action.is-locked {
  gap: 8px;
  background: #f0f1f4;
  color: #7d8797;
}
.fluence-step-grid--rich .fluence-step-card .fluence-step-card__action.is-locked::after {
  content: '';
}
.fluence-step-grid--rich .fluence-step-card.is-completed,
.fluence-step-grid--rich .fluence-step-card.is-reread {
  border-color: #cfe4c6;
  background: #f6fbf1;
}
.fluence-step-grid--rich .fluence-step-card.is-completed .fluence-step-card__action,
.fluence-step-grid--rich .fluence-step-card.is-reread .fluence-step-card__action {
  background: #edf8ea;
  color: #2d7b3d;
}
.fluence-step-grid--rich .fluence-step-card.is-completed .fluence-step-card__action::after,
.fluence-step-grid--rich .fluence-step-card.is-reread .fluence-step-card__action::after {
  content: '';
}
.fluence-step-grid--rich .fluence-step-card.is-completed .fluence-step-card__label,
.fluence-step-grid--rich .fluence-step-card.is-reread .fluence-step-card__label {
  color: #2d7b3d;
}
.fluence-step-grid--rich .fluence-step-card.is-review {
  border-color: #f4d59d;
  background: #fff8e8;
}
.fluence-step-grid--rich .fluence-step-card.is-review .fluence-step-card__action {
  background: #fff2d6;
  color: #9d5f00;
}
.fluence-step-grid--rich .fluence-step-card.is-review .fluence-step-card__label {
  color: #9d5f00;
}
.fluence-step-grid--rich .fluence-step-card.is-locked {
  grid-template-rows: auto 108px 1fr auto;
  min-height: 260px;
  opacity: 1;
  cursor: default;
  border-color: #eadfc6;
  background: linear-gradient(180deg, #fffaf0 0%, #fdf9ef 100%);
  box-shadow: 0 10px 20px rgba(125, 125, 108, 0.08);
}
.fluence-step-grid--rich .fluence-step-card.is-locked .fluence-step-card__title {
  color: #5c6471;
}
.fluence-step-grid--rich .fluence-step-card.is-locked .fluence-step-card__label {
  color: #7d8797;
}
.fluence-step-grid--rich .fluence-step-card.is-locked .fluence-step-card__media.is-locked {
  width: 120px;
  height: 120px;
}
.fluence-step-grid--rich .fluence-step-card.is-locked .fluence-step-card__media.is-locked img {
  width: 120px;
  height: 120px;
}
.fluence-step-grid--rich .fluence-step-card.is-locked .fluence-step-card__action {
  justify-content: center;
  background: #eef0f4;
  color: #7d8797;
  font-size: 0.98rem;
}
.fluence-step-grid--rich .fluence-step-card.is-locked .fluence-step-card__action::after {
  content: '';
}
.fluence-step-grid--rich .fluence-step-card.is-available {
  border-color: #a4c6ff;
  background: #f3f8ff;
}
.fluence-step-grid--rich .fluence-step-card.is-available .fluence-step-card__title {
  color: #13295d;
}
.fluence-step-grid--rich .fluence-step-card.is-available .fluence-step-card__label {
  color: #214a96;
}
.fluence-step-grid--rich .fluence-step-card.is-available .fluence-step-card__action {
  background: #2a7cea;
  color: #ffffff;
}
.fluence-steps-empty-state {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid #dfe6d8;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
}
.fluence-steps-empty-state img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.fluence-steps-empty-state h2 {
  margin: 0 0 8px;
  color: #1c2433;
  font-size: 1.5rem;
  line-height: 1.15;
}
.fluence-steps-empty-state p {
  margin: 0;
  color: #667085;
}
@media (max-width: 900px) {
  .fluence-steps-page {
    padding: 16px;
  }
  .fluence-steps-hero {
    min-height: 0;
  }
  .fluence-steps-hero__decoration {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: -6px;
  }
}
@media (max-width: 840px) {
  .fluence-step-grid--rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .fluence-steps-shell .fluence-app-main {
    width: var(--fluence-app-frame-width);
  }
  .fluence-steps-page {
    gap: 16px;
    padding: 14px;
  }
  .fluence-steps-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fluence-steps-hero__cover {
    max-width: 248px;
  }
  .fluence-steps-hero__content h1 {
    font-size: 3.1rem;
  }
  .fluence-steps-hero__subtitle {
    font-size: 1.1rem;
  }
  .fluence-steps-progress-card {
    max-width: none;
  }
  .fluence-step-grid--rich {
    grid-template-columns: 1fr;
  }
  .fluence-step-grid--rich .fluence-step-card {
    min-height: 260px;
  }
}
/*------------------------------------*\
Lecture guidée
\*------------------------------------*/
.fluence-reading-layout,
.reading-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 680px) {
  .fluence-reading-layout,
  .reading-layout {
    grid-template-columns: 1fr;
  }
}
.fluence-reading-image,
.reading-image {
  width: 100%;
  height: 100%;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
}
@media (max-width: 680px) {
  .fluence-reading-image,
  .reading-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
.fluence-reading-stage,
.reading-stage {
  display: grid;
  gap: 18px;
  min-width: 0;
  align-content: start;
}
.fluence-reading-preview,
.reading-preview {
  display: flex;
  min-height: clamp(280px, 45vh, 460px);
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  font-size: 1.35rem;
}
@media (max-width: 680px) {
  .fluence-reading-preview,
  .reading-preview {
    min-height: 240px;
  }
}
.fluence-reading-preview--placeholder,
.reading-preview--placeholder,
.fluence-reading-preview.reading-preview--placeholder,
.reading-preview.reading-preview--placeholder {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.fluence-reading-preview--active,
.reading-preview--active,
.fluence-reading-preview.reading-preview--active,
.reading-preview.reading-preview--active {
  justify-content: flex-start;
}
.fluence-reading-preview--active p,
.reading-preview--active p,
.fluence-reading-preview.reading-preview--active p,
.reading-preview.reading-preview--active p {
  margin: 0 0 12px;
}
.fluence-reading-preview--active p:last-child,
.reading-preview--active p:last-child,
.fluence-reading-preview.reading-preview--active p:last-child,
.reading-preview.reading-preview--active p:last-child {
  margin-bottom: 0;
}
.fluence-reading-preview-intro,
.reading-preview-intro {
  margin: 0;
  color: #667085;
  font-size: 1rem;
  font-weight: 700;
}
.fluence-preparation-panel,
.fluence-confirmation-panel,
.fluence-completion-panel,
.preparation-panel,
.confirmation-panel,
.completion-panel {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 16px;
  padding: 22px;
}
.fluence-preparation-panel h2,
.fluence-confirmation-panel h2,
.fluence-completion-panel h2,
.preparation-panel h2,
.confirmation-panel h2,
.completion-panel h2,
.fluence-preparation-panel p,
.fluence-confirmation-panel p,
.fluence-completion-panel p,
.preparation-panel p,
.confirmation-panel p,
.completion-panel p {
  margin: 0;
}
.fluence-attention-text,
.attention-text {
  border-left: 4px solid #2563eb;
  padding-left: 14px;
  font-weight: 700;
}
.fluence-practice-list,
.fluence-reading-actions,
.practice-list,
.reading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.fluence-reading-actions:not(.fluence-reading-actions--primary),
.reading-actions:not(.reading-actions--primary) {
  margin-top: 20px;
}
.fluence-reading-actions--primary,
.reading-actions--primary {
  justify-content: center;
}
@media (max-width: 680px) {
  .fluence-reading-actions .btn,
  .reading-actions .btn,
  .fluence-reading-actions .fluence-toolbar-button,
  .reading-actions .fluence-toolbar-button,
  .fluence-reading-actions .toolbar-button,
  .reading-actions .toolbar-button {
    width: 100%;
  }
}
.fluence-child-timer,
.fluence-child-wpm,
.child-timer,
.child-wpm {
  margin: 0 0 16px;
  color: #667085;
  font-weight: 800;
}
.fluence-toolbar-button,
.toolbar-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  cursor: pointer;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  text-align: center;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.fluence-toolbar-button:focus-visible,
.toolbar-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-toolbar-button:hover,
.toolbar-button:hover {
  background: #1e40af;
  transform: translateY(-1px);
}
.fluence-toolbar-button--secondary,
.toolbar-button-secondary {
  border: 1px solid #d9e2ec;
  background: #ffffff;
  color: #172033;
}
.fluence-toolbar-button--secondary:hover,
.toolbar-button-secondary:hover {
  background: #f8fafc;
}
/*------------------------------------*\
Page livre / lecture
\*------------------------------------*/
.fluence-reading-shell,
.reading-shell {
  position: relative;
  min-height: 100vh;
  background-color: #fffaf3;
  background-image: linear-gradient(180deg, #fffaf0 0%, #f3f8ff 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
.fluence-reading-shell::before,
.reading-shell::before {
  position: fixed;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: env(safe-area-inset-bottom, 0px);
  left: 0;
  content: '';
  pointer-events: none;
  background-image: url('/images/app-ui/decorations/plants/home-bottom-left.webp'), url('/images/app-ui/decorations/plants/home-bottom-right.webp');
  background-repeat: no-repeat;
  background-position: left bottom, right bottom;
  background-size: 260px auto, 390px auto;
}
@media (max-width: 900px) {
  .fluence-reading-shell::before,
  .reading-shell::before {
    background-size: 170px auto, 250px auto;
    opacity: 0.72;
  }
}
@media (max-width: 680px) {
  .fluence-reading-shell::before,
  .reading-shell::before {
    background-size: 90px auto, 135px auto;
    opacity: 0.45;
  }
}
.fluence-reading-shell .fluence-app-main,
.reading-shell .fluence-app-main {
  position: relative;
  z-index: 1;
}
.fluence-reading-shell:has(.fluence-reading-page--active)::before,
.reading-shell:has(.fluence-reading-page--active)::before {
  display: none;
}
.fluence-reading-shell .fluence-main,
.fluence-reading-shell .app-main,
.reading-shell .fluence-main,
.reading-shell .app-main {
  width: var(--fluence-app-frame-width);
  max-width: none;
  padding: 24px 0 32px;
}
@media (max-width: 680px) {
  .fluence-reading-shell .fluence-main,
  .fluence-reading-shell .app-main,
  .reading-shell .fluence-main,
  .reading-shell .app-main {
    padding: 12px 0;
  }
}
body.is-reading-focus .fluence-app-header {
  display: none;
}
body.is-reading-focus.fluence-reading-shell .fluence-main,
body.is-reading-focus.fluence-reading-shell .app-main,
body.is-reading-focus.reading-shell .fluence-main,
body.is-reading-focus.reading-shell .app-main {
  padding-top: 16px;
}
body.is-reading-focus.fluence-reading-shell::before,
body.is-reading-focus.reading-shell::before {
  display: none;
}
.fluence-reading-page,
.reading-page {
  width: 100%;
  margin: 0 0 24px;
  color: #263238;
  font-family: "Andika", "Atkinson Hyperlegible", "Trebuchet MS", Verdana, "Noto Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.fluence-reading-page *,
.reading-page * {
  box-sizing: border-box;
}
.fluence-orientation-hint {
  display: none;
}
@media (orientation: portrait) and (max-width: 900px) {
  body:not(.is-orientation-hint-dismissed) .fluence-orientation-hint {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px 16px;
    align-content: center;
    align-items: center;
    justify-items: start;
    padding: 28px;
    background: rgba(255, 250, 243, 0.97);
    color: #172033;
    text-align: left;
    backdrop-filter: blur(8px);
  }
  body:not(.is-orientation-hint-dismissed) .fluence-orientation-hint img {
    width: 76px;
    height: 76px;
    grid-row: 1;
    object-fit: contain;
  }
  body:not(.is-orientation-hint-dismissed) .fluence-orientation-hint div {
    display: grid;
    gap: 6px;
  }
  body:not(.is-orientation-hint-dismissed) .fluence-orientation-hint strong {
    color: #18386f;
    font-size: clamp(1.55rem, 6vw, 2.1rem);
    line-height: 1.1;
  }
  body:not(.is-orientation-hint-dismissed) .fluence-orientation-hint span {
    max-width: 34rem;
    color: #667085;
    font-size: 1rem;
    line-height: 1.5;
  }
  body:not(.is-orientation-hint-dismissed) .fluence-orientation-hint .btn {
    grid-column: 1 / -1;
    min-height: 46px;
    justify-self: stretch;
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: #2563eb;
    font-weight: 800;
  }
}
.fluence-reading-board {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(1280px, 100%);
  margin: 0 auto;
  overflow: visible;
  padding: 22px;
}
.fluence-reading-toolbar {
  display: flex;
  justify-content: flex-end;
}
.fluence-reading-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(38, 99, 217, 0.24);
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.95);
  color: #245ad8;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(69, 104, 170, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.fluence-reading-back:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-reading-back:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(69, 104, 170, 0.12);
}
.fluence-reading-back span[aria-hidden="true"] {
  font-size: 1.2rem;
  line-height: 1;
}
.fluence-reading-layout {
  display: grid;
  grid-template-columns: minmax(360px, 41%) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.fluence-reading-layout.is-reading-active {
  align-items: stretch;
  grid-template-columns: minmax(300px, 34%) minmax(0, 1fr);
}
.fluence-reading-page__image,
.illustration-block {
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: stretch;
  justify-content: stretch;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(243, 214, 168, 0.8);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.fluence-reading-page__image img,
.illustration-block img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}
.fluence-reading-page__image {
  min-height: 560px;
}
.fluence-reading-layout.is-reading-active .fluence-reading-page__image {
  min-height: 680px;
}
.fluence-reading-page__content,
.page-content {
  display: grid;
  min-width: 0;
  gap: 16px;
}
.fluence-reading-header,
.page-header {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.fluence-reading-title-row,
.day-title-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}
.fluence-reading-title-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}
.fluence-reading-mode-label {
  color: #4d678f;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}
.fluence-reading-badge,
.day-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(245, 200, 118, 0.85);
  border-radius: 999px;
  padding: 8px 14px 8px 16px;
  background: #fff8e9;
  color: #20315f;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.fluence-reading-badge img,
.day-badge img {
  width: 18px;
  height: 18px;
  flex: none;
}
.fluence-reading-title-row h1,
.page-header h1 {
  margin: 0;
  color: #18386e;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}
.fluence-reading-warmup,
.warmup {
  border: 1px solid rgba(244, 208, 163, 0.95);
  border-radius: 22px;
  padding: 14px 16px 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 18px rgba(107, 94, 64, 0.06);
}
.fluence-reading-warmup-title,
.warmup-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  border: 1px solid #f5d8a8;
  border-radius: 999px;
  padding: 7px 14px;
  background: #fff0d8;
  color: #2f3c58;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}
.fluence-reading-warmup-title img,
.warmup-title img {
  width: 22px;
  height: 22px;
}
.fluence-reading-warmup-lines,
.warmup-lines {
  display: grid;
  gap: 10px;
}
.fluence-reading-line,
.warmup p {
  margin: 0;
  color: #2b3550;
  font-size: 17px;
  line-height: 1.45;
}
.fluence-reading-tag,
.tag {
  display: inline-flex;
  align-items: center;
  margin: 2px 4px 0 0;
  border-radius: 999px;
  padding: 4px 11px;
  background: #eaf1ff;
  color: #2c3c62;
  font-weight: 800;
  line-height: 1;
}
.fluence-reading-tag--soft,
.minimal-pair {
  background: #fff3d5;
}
.fluence-reading-story,
.story {
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 420px;
  border: 1px solid rgba(219, 226, 238, 0.95);
  border-radius: 22px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.98);
  color: #273555;
  font-size: 22px;
  line-height: 1.62;
  box-shadow: 0 10px 24px rgba(74, 92, 126, 0.08);
}
.fluence-reading-story p,
.story p {
  margin: 0;
}
.fluence-reading-story--opendyslexic {
  font-family: 'OpenDyslexic', "Andika", "Atkinson Hyperlegible", "Trebuchet MS", Verdana, "Noto Sans", Arial, sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.72;
}
.fluence-reading-story--actions,
.story-actions {
  justify-items: center;
  align-content: center;
  text-align: center;
}
.fluence-reading-actions,
.reading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.fluence-reading-actions--primary {
  justify-content: center;
  margin-top: 2px;
}
.fluence-reading-runtime-actions,
.reading-actions--runtime {
  position: sticky;
  z-index: 2;
  bottom: 12px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  border: 1px solid rgba(219, 226, 238, 0.9);
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 18px rgba(49, 71, 109, 0.09);
  backdrop-filter: blur(8px);
}
.fluence-reading-runtime-actions .fluence-reading-button--primary,
.reading-actions--runtime .fluence-reading-button--primary {
  width: 100%;
  min-width: 0;
}
.fluence-reading-button,
.toolbar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  border-radius: 16px;
  padding: 13px 22px;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0;
}
.fluence-reading-button--primary {
  background: linear-gradient(180deg, #2f74ef 0%, #1f66e8 100%);
  box-shadow: 0 10px 18px rgba(39, 98, 210, 0.22);
}
.fluence-reading-button--secondary,
.toolbar-button-secondary {
  border: 1px solid rgba(36, 90, 216, 0.24);
  background: rgba(255, 255, 255, 0.95);
  color: #245ad8;
  box-shadow: 0 8px 18px rgba(72, 98, 146, 0.08);
}
.fluence-reading-button--ghost {
  border: 1px solid transparent;
  background: transparent;
  color: #53637f;
  box-shadow: none;
}
.fluence-reading-button--ghost:hover {
  border-color: rgba(83, 99, 127, 0.18);
  background: rgba(244, 247, 251, 0.92);
  color: #31425f;
}
.fluence-reading-button--exit {
  min-height: 50px;
  border: 1px solid rgba(83, 99, 127, 0.18);
  background: #f5f8fc;
  color: #485a78;
  box-shadow: none;
}
.fluence-reading-button--exit:hover {
  border-color: rgba(83, 99, 127, 0.3);
  background: #edf3fa;
  color: #31425f;
}
.fluence-reading-free-hint,
.fluence-reading-free-banner {
  margin: 0;
  color: #52627c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.fluence-reading-free-banner {
  border: 1px solid rgba(60, 130, 161, 0.2);
  border-radius: 14px;
  padding: 10px 14px;
  background: #effaff;
  color: #215b70;
  text-align: left;
}
.fluence-reading-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}
.fluence-reading-button__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.fluence-reading-button--secondary img {
  width: 22px;
  height: 22px;
}
.fluence-reading-mission,
.mission {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(242, 211, 150, 0.96);
  border-radius: 22px;
  padding: 16px 18px 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 18px rgba(112, 90, 42, 0.06);
}
.fluence-reading-mission-heading,
.mission-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.mission-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px 14px 14px 999px;
  padding: 8px 14px 8px 16px;
  background: #ffb11b;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}
.fluence-reading-mission-star,
.mission-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}
.fluence-reading-mission-star img,
.mission-star img {
  width: 100%;
  height: 100%;
}
.fluence-reading-mission-dots,
.mission-dots {
  flex: 1;
  border-bottom: 2px dotted rgba(242, 211, 150, 0.95);
  transform: translateY(1px);
}
.fluence-reading-repeat-label,
.mission-repeat-label,
.fluence-reading-question,
.fluence-reading-word-line,
.question,
.word-line {
  margin: 0;
  color: #2b3550;
  font-size: 15px;
  line-height: 1.45;
}
.mission-grid p {
  margin-bottom: 10px;
}
.mission-grid .fluence-reading-repeat {
  margin-bottom: 30px;
}
.fluence-reading-repeat {
  border-radius: 12px;
  padding: 10px 14px;
  background: #fff1b7;
  color: #283255;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}
.fluence-reading-word-challenge,
.fluence-reading-word-count,
.word-challenge,
.word-count {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: #edf3ff;
  color: #273355;
  font-weight: 800;
}
.fluence-reading-word-count,
.word-count {
  margin-left: 6px;
  background: #f6f6f6;
  color: #6b7280;
}
.fluence-reading-checks,
.checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.fluence-reading-checks-shell {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(215, 226, 213, 0.95);
  border-radius: 20px;
  padding: 14px 16px;
  background: rgba(251, 255, 249, 0.98);
}
.fluence-reading-checks-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fluence-reading-checks-title {
  margin: 0;
  color: #284f3f;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}
.fluence-reading-extra-attempts {
  display: inline-flex;
  min-width: 38px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: #dff2d4;
  color: #2f6f2b;
  font-weight: 900;
}
.fluence-reading-checks-help {
  margin: 0;
  color: #657765;
  font-size: 14px;
  font-weight: 700;
}
.fluence-reading-check,
.checks > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid rgba(242, 211, 150, 0.95);
  border-radius: 14px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.95);
  color: #2d3550;
  font-weight: 800;
  text-align: center;
}
.fluence-reading-check__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(96, 111, 139, 0.25);
  border-radius: 50%;
  background: #fff;
  color: #738099;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.fluence-reading-check.is-completed {
  border-color: rgba(163, 205, 122, 0.95);
  background: #f2f8e5;
  color: #2f7b28;
}
.fluence-reading-check.is-completed .fluence-reading-check__icon {
  border-color: #65a94f;
  background: #65a94f;
  color: #fff;
}
.fluence-reading-victory,
.victory {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  border: 1px solid rgba(247, 193, 195, 0.95);
  border-radius: 18px;
  padding: 14px 18px;
  background: #fff1f3;
  color: #5c2d47;
  font-size: 16px;
  font-weight: 800;
}
.fluence-reading-victory-heart,
.victory-heart {
  color: #e84a5f;
  font-size: 1.2rem;
  line-height: 1;
}
.fluence-child-timer,
.fluence-child-wpm,
.child-timer,
.child-wpm {
  margin: 0;
  color: #667085;
  font-weight: 800;
}
.fluence-confirmation-panel,
.fluence-completion-panel,
.confirmation-panel,
.completion-panel {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
}
.fluence-confirmation-panel h2,
.fluence-completion-panel h2,
.confirmation-panel h2,
.completion-panel h2,
.fluence-confirmation-panel p,
.fluence-completion-panel p,
.confirmation-panel p,
.completion-panel p {
  margin: 0;
}
.fluence-reading-panel-kicker {
  color: #58709a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}
.fluence-confirmation-panel h2,
.fluence-completion-panel h2,
.confirmation-panel h2,
.completion-panel h2 {
  color: #18386e;
  font-size: 20px;
  line-height: 1.15;
}
.fluence-confirmation-panel .reading-actions,
.fluence-completion-panel .reading-actions,
.confirmation-panel .reading-actions,
.completion-panel .reading-actions {
  justify-content: flex-start;
}
.fluence-completion-panel {
  border-color: rgba(164, 205, 127, 0.8);
  background: linear-gradient(135deg, #fbfff7 0%, #f2faeb 100%);
}
.fluence-reading-completion {
  gap: 12px;
}
.fluence-reading-completion__title {
  color: #1e5e30;
  font-size: clamp(26px, 2.3vw, 30px);
  font-weight: 900;
  line-height: 1.16;
}
.fluence-reading-completion__summary {
  color: #546475;
  font-size: 17px;
  line-height: 1.45;
}
.fluence-reading-completion__rhythm {
  display: grid;
  justify-items: start;
  gap: 2px;
  width: fit-content;
  border: 1px solid rgba(119, 174, 155, 0.32);
  border-radius: 14px;
  padding: 10px 14px;
  background: rgba(238, 250, 244, 0.92);
}
.fluence-reading-completion__rhythm > span {
  color: #60786f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}
.fluence-reading-completion__rhythm strong {
  color: #1d6250;
  font-size: 18px;
  line-height: 1.25;
}
.fluence-reading-completion-actions {
  justify-content: flex-end;
}
.fluence-parent-review-actions {
  position: fixed;
  z-index: 25;
  top: 124px;
  right: 24px;
  display: grid;
  justify-items: end;
  gap: 8px;
  width: min(270px, calc(100vw - 48px));
}
.fluence-parent-review-trigger,
.fluence-parent-review-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(222, 180, 108, 0.72);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 253, 248, 0.97);
  color: #4b5361;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(96, 82, 55, 0.12);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.fluence-parent-review-trigger:focus-visible,
.fluence-parent-review-toggle:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-parent-review-trigger:hover,
.fluence-parent-review-toggle:hover {
  border-color: rgba(214, 157, 63, 0.95);
  color: #263b68;
  box-shadow: 0 14px 30px rgba(96, 82, 55, 0.17);
  transform: translateY(-1px);
}
.fluence-parent-review-trigger.is-saved,
.fluence-parent-review-toggle.is-saved {
  border-color: rgba(115, 171, 100, 0.58);
  background: rgba(246, 253, 242, 0.98);
  color: #356f36;
}
.fluence-parent-review-trigger__icon,
.fluence-parent-review-toggle__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}
.fluence-parent-review-toggle {
  min-height: 38px;
  border-color: rgba(181, 193, 211, 0.86);
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.94);
  color: #607086;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(44, 62, 91, 0.09);
}
.fluence-parent-review-toggle:hover {
  border-color: rgba(117, 139, 171, 0.9);
  color: #2e486f;
  box-shadow: 0 11px 24px rgba(44, 62, 91, 0.13);
}
.fluence-parent-review-toggle.is-planned {
  border-color: rgba(226, 178, 82, 0.68);
  background: rgba(255, 250, 238, 0.97);
  color: #7a5a20;
}
.fluence-parent-review-notice {
  margin: 0;
  border-radius: 12px;
  padding: 7px 10px;
  background: rgba(247, 250, 252, 0.96);
  color: #5b687b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  box-shadow: 0 6px 16px rgba(44, 62, 91, 0.07);
}
.fluence-parent-review-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
}
.fluence-parent-review-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: rgba(24, 39, 70, 0.48);
  cursor: default;
  backdrop-filter: blur(3px);
}
.fluence-parent-review-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid rgba(211, 220, 235, 0.95);
  border-radius: 26px;
  padding: 24px;
  background: #fff;
  color: #172033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 28px 70px rgba(20, 40, 75, 0.24);
}
.fluence-parent-review-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.fluence-parent-review-dialog__header h2,
.fluence-parent-review-dialog__header p {
  margin: 0;
}
.fluence-parent-review-dialog__header h2 {
  color: #18386e;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.15;
}
.fluence-parent-review-dialog__header p:last-child {
  margin-top: 7px;
  color: #667085;
  font-size: 15px;
  line-height: 1.45;
}
.fluence-parent-review-dialog__eyebrow {
  margin-bottom: 6px;
  color: #59729d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}
.fluence-parent-review-dialog__close {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e2ec;
  border-radius: 50%;
  background: #f8fafc;
  color: #53627a;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.fluence-parent-review-dialog__close:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-parent-review-dialog__close:hover {
  background: #eef3fa;
  color: #18386e;
}
.fluence-parent-review-dialog__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}
.fluence-parent-review-pin,
.fluence-parent-review-pin-empty,
.fluence-parent-review-form {
  display: grid;
  gap: 18px;
}
.fluence-parent-review-pin label {
  color: #2d3d5f;
  font-weight: 800;
}
.fluence-parent-review-pin .input {
  width: min(240px, 100%);
  font-size: 1.2rem;
  letter-spacing: 0.28em;
  text-align: center;
}
.fluence-parent-review-pin-empty {
  border: 1px solid rgba(235, 199, 123, 0.58);
  border-radius: 18px;
  padding: 18px;
  background: #fffaf0;
}
.fluence-parent-review-pin-empty p {
  margin: 0;
  color: #5f5139;
  line-height: 1.5;
}
.fluence-parent-review-pin-empty .btn {
  width: fit-content;
}
.fluence-parent-review-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.fluence-parent-review-field {
  display: grid;
  gap: 7px;
  color: #2d3d5f;
  font-weight: 800;
}
.fluence-parent-review-field .input,
.fluence-parent-review-field .select,
.fluence-parent-review-field .textarea {
  width: 100%;
  font-weight: 500;
}
.fluence-parent-review-field small {
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.fluence-parent-review-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(234, 205, 143, 0.72);
  border-radius: 17px;
  padding: 14px 16px;
  background: #fffaf0;
  color: #38435b;
  cursor: pointer;
}
.fluence-parent-review-checkbox .checkbox {
  margin-top: 2px;
  flex: none;
}
.fluence-parent-review-checkbox span {
  display: grid;
  gap: 3px;
}
.fluence-parent-review-checkbox strong {
  color: #34415f;
  font-size: 15px;
}
.fluence-parent-review-checkbox small {
  color: #6d7481;
  font-size: 12px;
  line-height: 1.4;
}
@media (max-width: 1499px) {
  .fluence-parent-review-actions {
    position: static;
    width: fit-content;
    margin: 0 18px 0 auto;
  }
}
@media (max-width: 900px) {
  .fluence-reading-board {
    width: min(100%, 1280px);
    padding: 18px;
  }
  .fluence-reading-layout {
    grid-template-columns: 1fr;
  }
  .fluence-reading-layout.is-reading-active {
    grid-template-columns: 1fr;
  }
  .fluence-reading-page__image {
    min-height: 420px;
  }
  .fluence-reading-layout.is-reading-active .fluence-reading-page__image {
    min-height: 460px;
  }
  .fluence-parent-review-dialog {
    width: min(620px, 100%);
  }
}
@media (max-width: 680px) {
  .fluence-reading-board {
    padding: 14px;
  }
  .fluence-reading-toolbar {
    justify-content: stretch;
  }
  .fluence-reading-back {
    width: 100%;
    justify-content: center;
  }
  .fluence-reading-page__image {
    min-height: 320px;
  }
  .fluence-reading-layout.is-reading-active .fluence-reading-page__image {
    min-height: 300px;
  }
  .fluence-reading-title-row,
  .day-title-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .fluence-reading-title-row h1,
  .page-header h1 {
    font-size: 30px;
  }
  .fluence-reading-checks,
  .checks {
    grid-template-columns: 1fr;
  }
  .fluence-reading-story,
  .story {
    min-height: 0;
    padding: 20px;
    font-size: 20px;
    line-height: 1.58;
  }
  .fluence-reading-actions,
  .reading-actions {
    width: 100%;
  }
  .fluence-reading-button,
  .toolbar-button {
    width: 100%;
  }
  .fluence-reading-runtime-actions,
  .reading-actions--runtime,
  .fluence-reading-completion-actions {
    position: static;
  }
  .fluence-reading-runtime-actions,
  .reading-actions--runtime {
    grid-template-columns: 1fr;
  }
  .fluence-reading-runtime-actions .fluence-reading-button,
  .reading-actions--runtime .fluence-reading-button {
    width: 100%;
  }
  .fluence-reading-completion__summary {
    font-size: 16px;
  }
  .fluence-reading-completion__rhythm {
    width: 100%;
  }
  .fluence-parent-review-actions {
    width: calc(100% - 28px);
    margin: 0 14px;
  }
  .fluence-parent-review-trigger,
  .fluence-parent-review-toggle {
    width: 100%;
  }
  .fluence-parent-review-notice {
    width: 100%;
    text-align: left;
  }
  .fluence-parent-review-modal {
    place-items: end center;
    padding: 12px;
  }
  .fluence-parent-review-dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 24px 24px 18px 18px;
    padding: 20px;
  }
  .fluence-parent-review-dialog__header {
    gap: 12px;
  }
  .fluence-parent-review-dialog__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .fluence-parent-review-dialog__actions .btn {
    width: 100%;
  }
  .fluence-parent-review-form__grid {
    grid-template-columns: 1fr;
  }
}
/*------------------------------------*\
Statistiques parent
\*------------------------------------*/
.fluence-stats-gate,
.stats-gate {
  min-width: 0;
}
.fluence-stats-gate.is-open,
.stats-gate.is-open {
  grid-column: 1 / -1;
}
.fluence-stats-pin-panel,
.stats-pin-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 0.8fr);
  gap: 24px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
@media (max-width: 680px) {
  .fluence-stats-pin-panel,
  .stats-pin-panel {
    grid-template-columns: 1fr;
  }
}
.fluence-stats-pin-panel h2,
.stats-pin-panel h2,
.fluence-stats-pin-panel p,
.stats-pin-panel p {
  margin: 0;
}
.fluence-stats-pin-panel form,
.stats-pin-panel form,
.fluence-stats-pin-panel label,
.stats-pin-panel label {
  display: grid;
  gap: 6px;
}
.fluence-stats-panel,
.stats-panel {
  padding: 22px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.fluence-stats-heading,
.fluence-attempt-editor header,
.fluence-stats-actions,
.fluence-review-toggle,
.stats-heading,
.attempt-editor header,
.stats-actions,
.review-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fluence-stats-heading,
.fluence-attempt-editor header,
.stats-heading,
.attempt-editor header {
  justify-content: space-between;
}
@media (max-width: 680px) {
  .fluence-stats-heading,
  .fluence-attempt-editor header,
  .stats-heading,
  .attempt-editor header {
    align-items: flex-start;
    flex-direction: column;
  }
}
.fluence-stats-heading h2,
.fluence-attempt-editor header h2,
.stats-heading h2,
.attempt-editor header h2,
.fluence-stats-heading h3,
.fluence-attempt-editor header h3,
.stats-heading h3,
.attempt-editor header h3 {
  margin: 0;
}
.fluence-stats-actions,
.stats-actions {
  flex-wrap: wrap;
  margin-top: 16px;
}
.fluence-stats-summary,
.stats-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
@media (max-width: 680px) {
  .fluence-stats-summary,
  .stats-summary {
    grid-template-columns: 1fr;
  }
}
.fluence-stats-summary div,
.stats-summary div {
  display: grid;
  gap: 4px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 14px;
}
.fluence-stats-summary strong,
.stats-summary strong {
  font-size: 1.5rem;
}
.fluence-stats-summary span,
.stats-summary span {
  color: #667085;
  font-size: 0.9rem;
}
.fluence-stats-table-wrap,
.stats-table-wrap {
  overflow-x: auto;
}
.fluence-stats-table,
.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.fluence-stats-table th,
.stats-table th,
.fluence-stats-table td,
.stats-table td {
  border-bottom: 1px solid #d9e2ec;
  padding: 12px 8px;
  text-align: left;
  white-space: nowrap;
}
.fluence-stats-message,
.stats-message {
  color: #15803d;
  font-weight: 700;
}
.fluence-attempt-history,
.attempt-history {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.fluence-attempt-history h3,
.attempt-history h3 {
  margin: 0;
}
.fluence-attempt-editor,
.attempt-editor {
  display: grid;
  gap: 16px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 18px;
}
.fluence-attempt-editor header span,
.attempt-editor header span {
  color: #667085;
  font-size: 0.9rem;
}
.fluence-feedback-grid,
.feedback-grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) minmax(180px, 0.6fr) 1fr;
  gap: 12px;
}
@media (max-width: 680px) {
  .fluence-feedback-grid,
  .feedback-grid {
    grid-template-columns: 1fr;
  }
}
.fluence-feedback-grid label,
.feedback-grid label {
  display: grid;
  gap: 6px;
}
.fluence-feedback-note,
.feedback-note {
  grid-row: span 2;
}
@media (max-width: 680px) {
  .fluence-feedback-note,
  .feedback-note {
    grid-row: auto;
  }
}
.fluence-review-toggle,
.review-toggle {
  align-self: end;
}
/*------------------------------------*\
Formulaires simples
\*------------------------------------*/
.fluence-login-form,
.fluence-form-panel,
.login-form {
  display: grid;
  gap: 16px;
  max-width: 420px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.fluence-login-form label,
.fluence-form-panel label,
.login-form label {
  display: grid;
  gap: 6px;
  color: #667085;
  font-weight: 700;
}
.fluence-login-form input,
.fluence-form-panel input,
.login-form input {
  width: 100%;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 12px 14px;
  color: #172033;
  font: inherit;
}
.fluence-submit-button,
.submit-button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.fluence-submit-button:focus-visible,
.submit-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-form-error,
.form-error {
  margin: 0;
  color: #b42318;
  font-weight: 700;
}
.fluence-form-success,
.form-success {
  max-width: 620px;
  color: #15803d;
  font-weight: 700;
}
/*------------------------------------*\
États et messages
\*------------------------------------*/
.fluence-connection-banner,
.connection-banner {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  background: #b42318;
  color: #ffffff;
  text-align: center;
  font-weight: 700;
}
.fluence-connection-banner[hidden],
.connection-banner[hidden] {
  display: none;
}
.fluence-connection-retry,
.connection-retry {
  min-height: 36px;
  border: 1px solid #ffffff;
  border-radius: 8px;
  background: #ffffff;
  color: #b42318;
  cursor: pointer;
  padding: 6px 12px;
  font: inherit;
}
.fluence-connection-retry:focus-visible,
.connection-retry:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.readability-large {
  font-size: 21px;
}
.readability-large .fluence-reading-story,
.readability-large .reading-page .story {
  font-size: 26px;
  line-height: 1.64;
}
/*------------------------------------*\
Pages légales
\*------------------------------------*/
.fluence-legal-content,
.legal-content {
  max-width: 820px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.fluence-legal-content h1,
.legal-content h1 {
  margin: 0 0 16px;
  font-size: 2rem;
  line-height: 1.15;
}
.fluence-legal-content p,
.legal-content p {
  margin: 0 0 12px;
}
.fluence-legal-content a,
.legal-content a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/*------------------------------------*\
Overrides DaisyUI
\*------------------------------------*/
.fluence-reading-page .btn,
.reading-page .btn,
.fluence-reading-actions .btn,
.reading-actions .btn {
  min-height: 48px;
}
/*------------------------------------*\
Lot correctif 3B - accueil cible
\*------------------------------------*/
.fluence-home-shell {
  position: relative;
  min-height: 100vh;
  background-color: #fffaf3;
  background-image: url('/images/app-ui/decorations/plants/home-bottom-left.webp'), url('/images/app-ui/decorations/plants/home-bottom-right.webp');
  background-attachment: fixed, fixed;
  background-repeat: no-repeat;
  background-position: left bottom, right bottom;
  background-size: 260px auto, 390px auto;
}
.fluence-home-shell .fluence-app-main {
  position: relative;
  z-index: 1;
  width: var(--fluence-app-frame-width);
  max-width: none;
  padding: 26px 0 70px;
}
.fluence-home-shell .fluence-home-page {
  gap: 0;
}
.fluence-home-shell .fluence-home-hero {
  min-height: 355px;
  grid-template-columns: minmax(0, 0.95fr) minmax(570px, 1.05fr);
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0px 70px 0;
  background: transparent;
}
.fluence-home-shell .fluence-home-hero__content {
  max-width: 660px;
}
.fluence-home-shell .fluence-home-hero__content h1 {
  margin-bottom: 22px;
  color: #061f4a;
  font-size: 4rem;
  font-weight: 850;
  line-height: 1.04;
}
.fluence-home-shell .fluence-home-hero__content p {
  color: #53627a;
  font-size: 1.35rem;
  line-height: 1.5;
}
.fluence-home-shell .fluence-home-hero__star {
  top: 8px;
  left: 16px;
  width: 86px;
  height: 66px;
}
.fluence-home-shell .fluence-home-hero__image {
  min-height: 355px;
}
.fluence-home-shell .fluence-home-hero__image .fluence-home-hero__background {
  right: -12px;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-height: none;
}
.fluence-home-shell .fluence-home-hero__image .fluence-home-hero__reader {
  right: 12%;
  bottom: -7px;
  width: 58%;
  height: 98%;
  max-height: none;
}
.fluence-home-shell .fluence-home-actions {
  position: relative;
  z-index: 3;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: -24px 0 24px;
}
.fluence-home-shell .fluence-home-logout {
  display: contents;
}
.fluence-home-shell .fluence-action-card {
  display: grid;
  min-height: 370px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 145px minmax(112px, 1fr) 54px;
  justify-items: center;
  gap: 14px;
  border: 1px solid #bed8fb;
  border-top-width: 1px;
  border-radius: 18px;
  padding: 24px 18px 18px;
  background: #f4f9ff;
  box-shadow: 0 9px 25px rgba(53, 81, 115, 0.09);
  text-align: center;
}
.fluence-home-shell .fluence-action-card > img {
  width: 145px;
  height: 145px;
  border: 8px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  padding: 13px;
  background: rgba(255, 255, 255, 0.76);
  object-fit: contain;
}
.fluence-home-shell .fluence-action-card > span {
  display: grid;
  width: 100%;
  align-content: start;
  justify-items: center;
  gap: 10px;
  color: #0b2048;
}
.fluence-home-shell .fluence-action-card > span strong {
  color: #071b42;
  font-size: 1.5rem;
  font-weight: 850;
  line-height: 1.08;
}
.fluence-home-shell .fluence-action-card > span small {
  max-width: 260px;
  color: #526079;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
}
.fluence-home-shell .fluence-action-card > b {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  align-self: end;
  border-radius: 10px;
  padding: 11px 18px;
  background: #0877ee;
  color: #ffffff;
  font-size: 1.04rem;
  font-weight: 750;
}
.fluence-home-shell .fluence-action-card > b::after {
  content: '→';
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}
.fluence-home-shell .fluence-action-card--primary {
  border-color: #5d9fff;
}
.fluence-home-shell .fluence-action-card--primary::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 0 17px 0 16px;
  background-color: #2a7cea;
  background-image: url('/images/app-ui/icons/states/step-available-star.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34px 34px;
}
.fluence-home-shell .fluence-action-card--success {
  border-color: #b8d98d;
  background: #f8fced;
}
.fluence-home-shell .fluence-action-card--success > b {
  background: #61be05;
  color: #ffffff;
}
.fluence-home-shell .fluence-action-card--warning {
  border-color: #f1c46e;
  background: #fffaf0;
}
.fluence-home-shell .fluence-action-card--warning > b {
  background: #ffad08;
  color: #ffffff;
}
.fluence-home-shell .fluence-action-card--danger {
  border-color: #f1ad9f;
  background: #fff5f1;
}
.fluence-home-shell .fluence-action-card--danger > b {
  background: #ff4339;
  color: #ffffff;
}
.fluence-home-shell a.fluence-action-card,
.fluence-home-shell button.fluence-action-card {
  position: relative;
  cursor: pointer;
}
.fluence-home-shell .fluence-home-summary {
  min-height: 188px;
  grid-template-columns: minmax(300px, 0.95fr) minmax(340px, 1.15fr) minmax(150px, 0.55fr) minmax(150px, 0.55fr) 145px;
  gap: 0;
  border: 0;
  border-radius: 20px;
  padding: 18px 26px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 28px rgba(107, 81, 53, 0.1);
}
.fluence-home-shell .fluence-home-summary__book {
  display: grid;
  height: 100%;
  aspect-ratio: auto;
  align-content: center;
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding-right: 28px;
  background: transparent;
  box-shadow: none;
}
.fluence-home-shell .fluence-home-summary__book h2 {
  margin: 0;
  color: #071b42;
  font-size: 1.08rem;
  text-transform: none;
}
.fluence-home-shell .fluence-home-summary__book-info {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 18px;
}
.fluence-home-shell .fluence-home-summary__book-info > img {
  width: 92px;
  height: 108px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 5px 14px rgba(7, 27, 66, 0.18);
}
.fluence-home-shell .fluence-home-summary__book-info > div {
  display: grid;
  gap: 11px;
}
.fluence-home-shell .fluence-home-summary__book-info strong {
  color: #071b42;
  font-size: 1.05rem;
  line-height: 1.3;
}
.fluence-home-shell .fluence-home-summary__book-info span {
  justify-self: start;
  border-radius: 8px;
  padding: 5px 10px;
  background: #e8f2ff;
  color: #1466df;
  font-size: 0.86rem;
  font-weight: 700;
}
.fluence-home-shell .fluence-home-summary__content {
  height: 112px;
  align-self: center;
  border-left: 1px solid #d8dde5;
  padding: 4px 34px 0;
}
.fluence-home-shell .fluence-home-summary__content h3 {
  margin: 0 0 15px;
  color: #071b42;
  font-size: 1.12rem;
}
.fluence-home-shell .fluence-home-summary__progress {
  margin: 14px 0 0 !important;
  color: #536079;
  font-size: 0.9rem;
}
.fluence-home-shell .fluence-home-summary__metrics {
  display: contents;
}
.fluence-home-shell .fluence-home-summary__metrics div {
  display: grid;
  height: 108px;
  grid-template-columns: 62px 1fr;
  align-self: center;
  align-items: center;
  gap: 0 14px;
  border: 0;
  border-left: 1px solid #d8dde5;
  border-radius: 0;
  padding: 0 24px;
  background: transparent;
}
.fluence-home-shell .fluence-home-summary__metrics img {
  width: 62px;
  height: 62px;
  grid-row: 1 / 3;
}
.fluence-home-shell .fluence-home-summary__metrics strong {
  align-self: end;
  color: #071b42;
  font-size: 1.5rem;
}
.fluence-home-shell .fluence-home-summary__metrics span {
  align-self: start;
  color: #536079;
  font-size: 0.82rem;
  line-height: 1.35;
}
.fluence-home-shell .fluence-home-summary__mascot {
  position: static;
  grid-column: 5;
  grid-row: 1;
  width: 110px;
  opacity: 1;
}
@media (min-width: 901px) and (max-height: 850px) {
  .fluence-home-shell {
    background-size: 180px auto, 270px auto;
  }
  .fluence-home-shell .fluence-app-main {
    padding-top: 8px;
    padding-bottom: 18px;
  }
  .fluence-home-shell .fluence-home-hero {
    min-height: 242px;
    padding: 30px 70px 0;
  }
  .fluence-home-shell .fluence-home-hero__content h1 {
    margin-bottom: 14px;
    font-size: 3.15rem;
  }
  .fluence-home-shell .fluence-home-hero__content p {
    font-size: 1.08rem;
    line-height: 1.4;
  }
  .fluence-home-shell .fluence-home-hero__star {
    width: 68px;
    height: 52px;
  }
  .fluence-home-shell .fluence-home-hero__image {
    min-height: 242px;
  }
  .fluence-home-shell .fluence-home-actions {
    gap: 18px;
    margin: -54px 0 14px;
  }
  .fluence-home-shell .fluence-action-card {
    min-height: 268px;
    grid-template-rows: 92px minmax(88px, 1fr) 42px;
    gap: 8px;
    padding: 14px 14px 12px;
  }
  .fluence-home-shell .fluence-action-card > img {
    width: 92px;
    height: 92px;
    border-width: 5px;
    padding: 8px;
  }
  .fluence-home-shell .fluence-action-card > span {
    gap: 6px;
  }
  .fluence-home-shell .fluence-action-card > span strong {
    font-size: 1.12rem;
  }
  .fluence-home-shell .fluence-action-card > span small {
    font-size: 0.82rem;
    line-height: 1.3;
  }
  .fluence-home-shell .fluence-action-card > b {
    min-height: 42px;
    padding-block: 7px;
    font-size: 0.9rem;
  }
  .fluence-home-shell .fluence-action-card--primary::after {
    width: 44px;
    height: 44px;
    background-size: 28px 28px;
  }
  .fluence-home-shell .fluence-home-summary {
    min-height: 132px;
    padding-block: 10px;
  }
  .fluence-home-shell .fluence-home-summary__book {
    gap: 5px;
  }
  .fluence-home-shell .fluence-home-summary__book h2 {
    font-size: 0.92rem;
  }
  .fluence-home-shell .fluence-home-summary__book-info {
    grid-template-columns: 68px 1fr;
    gap: 12px;
  }
  .fluence-home-shell .fluence-home-summary__book-info > img {
    width: 68px;
    height: 78px;
  }
  .fluence-home-shell .fluence-home-summary__book-info > div {
    gap: 6px;
  }
  .fluence-home-shell .fluence-home-summary__book-info strong {
    font-size: 0.92rem;
  }
  .fluence-home-shell .fluence-home-summary__book-info span {
    padding: 3px 8px;
    font-size: 0.76rem;
  }
  .fluence-home-shell .fluence-home-summary__content {
    height: 92px;
    padding-top: 0;
  }
  .fluence-home-shell .fluence-home-summary__content h3 {
    margin-bottom: 10px;
    font-size: 1rem;
  }
  .fluence-home-shell .fluence-home-summary__progress {
    margin-top: 9px !important;
    font-size: 0.8rem;
  }
  .fluence-home-shell .fluence-home-summary__metrics div {
    height: 88px;
    grid-template-columns: 48px 1fr;
    gap: 0 10px;
    padding-inline: 16px;
  }
  .fluence-home-shell .fluence-home-summary__metrics img {
    width: 48px;
    height: 48px;
  }
  .fluence-home-shell .fluence-home-summary__metrics strong {
    font-size: 1.25rem;
  }
  .fluence-home-shell .fluence-home-summary__metrics span {
    font-size: 0.72rem;
  }
  .fluence-home-shell .fluence-home-summary__mascot {
    width: 96px;
  }
  .fluence-home-shell .fluence-home-summary--empty {
    min-height: 132px;
  }
}
@media (max-width: 1180px) {
  .fluence-home-shell .fluence-home-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    padding-inline: 40px;
  }
  .fluence-home-shell .fluence-home-hero__content h1 {
    font-size: 3.25rem;
  }
  .fluence-home-shell .fluence-home-actions {
    gap: 16px;
  }
  .fluence-home-shell .fluence-action-card {
    min-height: 340px;
    grid-template-rows: 122px minmax(105px, 1fr) 50px;
    padding-inline: 14px;
  }
  .fluence-home-shell .fluence-action-card > img {
    width: 122px;
    height: 122px;
  }
  .fluence-home-shell .fluence-home-summary {
    grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr) minmax(120px, 0.55fr) minmax(120px, 0.55fr) 110px;
    padding-inline: 18px;
  }
  .fluence-home-shell .fluence-home-summary__metrics div {
    grid-template-columns: 50px 1fr;
    padding-inline: 14px;
  }
  .fluence-home-shell .fluence-home-summary__metrics img {
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 900px) {
  .fluence-home-shell {
    background-size: 190px auto, 260px auto;
  }
  .fluence-home-shell .fluence-app-main {
    width: var(--fluence-app-frame-width);
  }
  .fluence-home-shell .fluence-home-hero {
    min-height: 315px;
    grid-template-columns: 1fr 1fr;
    padding: 35px 24px 0;
  }
  .fluence-home-shell .fluence-home-hero__content h1 {
    font-size: 2.65rem;
  }
  .fluence-home-shell .fluence-home-hero__content p {
    font-size: 1.1rem;
  }
  .fluence-home-shell .fluence-home-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }
  .fluence-home-shell .fluence-home-summary {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px;
  }
  .fluence-home-shell .fluence-home-summary__book,
  .fluence-home-shell .fluence-home-summary__content,
  .fluence-home-shell .fluence-home-summary__metrics div {
    height: auto;
    border-left: 0;
    padding: 0;
  }
  .fluence-home-shell .fluence-home-summary__metrics {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
  }
  .fluence-home-shell .fluence-home-summary__metrics div {
    border: 1px solid #d8dde5;
    border-radius: 8px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.88);
  }
  .fluence-home-shell .fluence-home-summary__mascot {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: center;
  }
}
@media (max-width: 680px) {
  .fluence-home-shell {
    background-image: none;
  }
  .fluence-home-shell .fluence-app-main {
    width: var(--fluence-app-frame-width);
    padding-top: 14px;
  }
  .fluence-home-shell .fluence-home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 52px 16px 0;
  }
  .fluence-home-shell .fluence-home-hero__content h1 {
    font-size: 2.35rem;
  }
  .fluence-home-shell .fluence-home-hero__image {
    min-height: 245px;
  }
  .fluence-home-shell .fluence-home-actions {
    grid-template-columns: 1fr;
    margin-top: -10px;
  }
  .fluence-home-shell .fluence-action-card {
    min-height: 330px;
  }
  .fluence-home-shell .fluence-home-summary {
    grid-template-columns: 1fr;
  }
  .fluence-home-shell .fluence-home-summary__metrics {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .fluence-home-shell .fluence-home-summary__mascot {
    grid-column: auto;
  }
}
/*------------------------------------*\
Navigation application mutualisée
\*------------------------------------*/
.fluence-app-header {
  width: var(--fluence-app-frame-width);
  min-height: 85px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 5fr) minmax(0, 1fr);
  gap: 30px;
  margin: 0 auto 0;
  border: 0;
  border-radius: 20px;
  padding: 14px 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(107, 81, 53, 0.1);
}
.fluence-app-header__brand img {
  width: 245px;
  height: 72px;
  object-fit: contain;
}
.fluence-app-header__brand {
  justify-self: start;
}
.fluence-app-nav {
  width: 100%;
  justify-content: space-evenly;
  gap: 18px;
  justify-self: center;
}
.fluence-app-nav__link {
  min-width: 116px;
  border: 0;
  border-radius: 14px;
  padding: 17px 18px;
  color: #071b42;
  font-size: 1.05rem;
  text-align: center;
}
.fluence-app-nav__link:hover,
.fluence-app-nav__link.is-active {
  border: 0;
  background: #e6f2ff;
  color: #075ad7;
}
.fluence-app-user-menu {
  justify-self: end;
  position: relative;
  z-index: 30;
}
.fluence-app-user-menu summary {
  display: flex;
  min-width: 145px;
  align-items: center;
  gap: 12px;
  color: #071b42;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 750;
  list-style: none;
}
.fluence-app-user-menu summary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-app-user-menu summary::-webkit-details-marker {
  display: none;
}
.fluence-app-user-menu__chevron {
  color: #667085;
  font-size: 1.2rem;
  transition: transform 0.18s ease;
}
.fluence-app-user-menu[open] .fluence-app-user-menu__chevron {
  transform: rotate(180deg);
}
.fluence-app-user-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: 250px;
  overflow: hidden;
  border: 1px solid #d9e2ec;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 27, 66, 0.16);
}
.fluence-app-user-menu__panel > a,
.fluence-app-user-menu__panel button {
  display: grid;
  width: 100%;
  gap: 2px;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  padding: 14px 16px;
  background: #ffffff;
  color: #071b42;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
}
.fluence-app-user-menu__panel > a:hover,
.fluence-app-user-menu__panel button:hover,
.fluence-app-user-menu__panel > a:focus-visible,
.fluence-app-user-menu__panel button:focus-visible {
  background: #f1f7ff;
}
.fluence-app-user-menu__panel small {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 500;
}
.fluence-app-user-menu__panel form:last-child button {
  border-bottom: 0;
  color: #b42318;
}
.fluence-app-main {
  width: var(--fluence-app-frame-width);
  max-width: 1280px;
}
.fluence-child-settings {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 16px;
  background: #f7fbff;
}
.fluence-child-settings h3,
.fluence-child-settings p {
  margin: 0;
}
.fluence-child-settings p {
  margin-top: 4px;
  color: #667085;
  font-size: 0.95rem;
}
.fluence-child-settings label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .fluence-app-header {
    grid-template-columns: 1fr auto;
    min-height: 86px;
    padding-inline: 22px;
  }
  .fluence-app-header__brand img {
    width: 190px;
    height: 58px;
  }
  .fluence-app-nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .fluence-child-settings {
    grid-template-columns: 1fr auto;
  }
  .fluence-child-settings > div {
    grid-column: 1 / -1;
  }
}
@media (max-width: 680px) {
  :root {
    --fluence-app-frame-width: calc(100% - 20px);
  }
  .fluence-app-header {
    width: var(--fluence-app-frame-width);
    gap: 10px;
    border-radius: 14px;
    padding: 10px 14px;
  }
  .fluence-app-header__brand img {
    width: 150px;
    height: 48px;
  }
  .fluence-app-user-menu summary {
    min-width: 0;
  }
  .fluence-app-user-menu summary > span:not(.fluence-app-user-menu__chevron) {
    display: none;
  }
  .fluence-app-user-menu__panel {
    width: min(250px, calc(100vw - 32px));
  }
  .fluence-app-avatar {
    width: 48px;
    height: 48px;
  }
  .fluence-app-nav__link {
    min-width: auto;
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .fluence-app-main {
    width: var(--fluence-app-frame-width);
  }
  .fluence-child-settings {
    grid-template-columns: 1fr;
  }
  .fluence-child-settings > div {
    grid-column: auto;
  }
}
/*------------------------------------*\
Authentification, profils, progrès et paramètres V1
\*------------------------------------*/
.fluence-auth-shell {
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  background-color: #eef8fc;
  background-image: url('/images/app-ui/backgrounds/books-listing-field.webp');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}
@media (max-width: 680px) {
  .fluence-auth-shell {
    padding: 14px;
    background-attachment: scroll;
  }
}
.fluence-auth-main {
  display: grid;
  min-height: calc(100vh - 48px);
  place-items: center;
}
@media (max-width: 680px) {
  .fluence-auth-main {
    min-height: calc(100vh - 28px);
  }
}
.fluence-auth-card {
  display: grid;
  width: min(100%, 510px);
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  padding: 34px 40px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 55px rgba(49, 90, 111, 0.22);
}
@media (max-width: 680px) {
  .fluence-auth-card {
    border-radius: 22px;
    padding: 26px 22px;
  }
}
.fluence-auth-card header {
  text-align: center;
}
.fluence-auth-card h1 {
  margin: 0 0 10px;
  color: #173d45;
  font-size: 2.1rem;
  line-height: 1.1;
}
@media (max-width: 680px) {
  .fluence-auth-card h1 {
    font-size: 1.7rem;
  }
}
.fluence-auth-card header p {
  margin: 0;
  color: #5c6d72;
}
.fluence-auth-card__logo {
  width: min(100%, 260px);
  height: auto;
  margin: 0 auto;
}
.fluence-auth-form {
  display: grid;
  gap: 16px;
}
.fluence-form-field {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 700;
}
.fluence-form-field small {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}
.fluence-form-field .input,
.fluence-form-field .select,
.fluence-form-field .textarea {
  width: 100%;
}
.fluence-form-field--wide {
  grid-column: 1 / -1;
}
.fluence-password-field {
  position: relative;
  display: block;
}
.fluence-password-field input {
  padding-right: 88px;
}
.fluence-password-field button {
  position: absolute;
  top: 50%;
  right: 10px;
  border: 0;
  padding: 5px 7px;
  background: transparent;
  color: #1e40af;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transform: translateY(-50%);
}
.fluence-password-field button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-auth-form__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #667085;
  font-size: 0.9rem;
}
@media (max-width: 680px) {
  .fluence-auth-form__options {
    align-items: flex-start;
    flex-direction: column;
  }
}
.fluence-auth-form__options label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fluence-auth-form__options a {
  color: #1e40af;
  font-weight: 700;
  text-decoration: underline;
}
.fluence-auth-submit {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  font-size: 1.02rem;
}
.fluence-auth-back {
  color: #1e40af;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
}
.fluence-form-success {
  max-width: none;
  border: 1px solid rgba(21, 128, 61, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(21, 128, 61, 0.08);
}
.fluence-children-shell,
.fluence-progress-shell,
.fluence-settings-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #eef8fc 0%, #f8fbf4 52%, #eef7e7 100%);
}
.fluence-child-selector {
  display: grid;
  gap: 34px;
  padding: 26px 10px 40px;
}
.fluence-child-selector__header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.fluence-child-selector__header h1 {
  margin: 0 0 10px;
  color: #173d45;
  font-size: 2.7rem;
  line-height: 1.05;
}
@media (max-width: 680px) {
  .fluence-child-selector__header h1 {
    font-size: 2rem;
  }
}
.fluence-child-selector__header p:last-child {
  margin: 0;
  color: #667085;
  font-size: 1.08rem;
}
.fluence-child-selector__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 330px));
  justify-content: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 680px) {
  .fluence-child-selector__grid {
    grid-template-columns: 1fr;
  }
}
.fluence-child-profile {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 390px;
  grid-template-rows: auto auto auto 1fr auto;
  justify-items: center;
  gap: 10px;
  border: 2px solid transparent;
  border-radius: 28px;
  padding: 28px 24px 24px;
  background: #ffffff;
  color: #172033;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(49, 90, 111, 0.12);
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.fluence-child-profile:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-child-profile:hover {
  border-color: #8ec8eb;
  box-shadow: 0 20px 38px rgba(49, 90, 111, 0.18);
  transform: translateY(-4px);
}
.fluence-child-profile.is-last {
  border-color: #6eb4e0;
  background: linear-gradient(180deg, #ffffff 0%, #f2f9ff 100%);
}
.fluence-child-profile strong {
  color: #183f48;
  font-size: 1.65rem;
  line-height: 1.1;
}
.fluence-child-profile small {
  color: #667085;
  line-height: 1.4;
}
.fluence-child-profile b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  background: #2563eb;
  color: #fff;
}
.fluence-child-profile__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  background: #e6f2ff;
  color: #075ad7;
  font-size: 0.76rem;
  font-weight: 800;
}
.fluence-child-profile__avatar {
  width: 126px;
  height: 126px;
  border: 5px solid #edf5fb;
  border-radius: 50%;
  object-fit: cover;
}
.fluence-child-profile__book {
  color: #42616a;
  font-weight: 700;
}
.fluence-child-selector__empty,
.fluence-progress-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 190px;
  border: 1px solid #d8e6d1;
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  text-align: left;
}
.fluence-child-selector__empty img,
.fluence-progress-empty img {
  width: 110px;
  max-height: 150px;
  object-fit: contain;
}
.fluence-child-selector__empty h2,
.fluence-progress-empty h2,
.fluence-child-selector__empty p,
.fluence-progress-empty p {
  margin: 0;
}
.fluence-child-selector__empty p,
.fluence-progress-empty p {
  margin-top: 6px;
  color: #667085;
}
.fluence-progress-page {
  gap: 28px;
  padding: 16px 0 42px;
}
.fluence-child-progress {
  display: grid;
  gap: 22px;
}
.fluence-child-progress__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.fluence-child-progress__header h1 {
  margin: 0 0 8px;
  color: #173d45;
  font-size: 2.65rem;
  line-height: 1.05;
}
.fluence-child-progress__header p:last-child {
  margin: 0;
  color: #667085;
}
.fluence-progress-books {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 8px;
}
.fluence-progress-book,
.fluence-parent-book-filter__item {
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 9px 12px;
  background: #fff;
  color: #172033;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  font-weight: 750;
  text-align: left;
}
.fluence-progress-book:focus-visible,
.fluence-parent-book-filter__item:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-progress-book img,
.fluence-parent-book-filter__item img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}
.fluence-progress-book.is-active,
.fluence-parent-book-filter__item.is-active {
  border-color: #4ba5d7;
  background: #eff8ff;
  color: #0b5f91;
}
.fluence-child-progress__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) 130px;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  border: 1px solid #d6e6cf;
  border-radius: 28px;
  padding: 26px 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f5fbef 100%);
  box-shadow: 0 16px 36px rgba(63, 107, 69, 0.1);
}
@media (max-width: 900px) {
  .fluence-child-progress__hero {
    grid-template-columns: 180px 1fr;
  }
}
@media (max-width: 680px) {
  .fluence-child-progress__hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}
.fluence-child-progress__cover {
  overflow: hidden;
  aspect-ratio: 1.3 / 1;
  border-radius: 20px;
  background: #eef4ee;
}
.fluence-child-progress__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fluence-child-progress__content {
  min-width: 0;
}
.fluence-child-progress__content h2 {
  margin: 0 0 8px;
  color: #24523a;
  font-size: 2rem;
}
.fluence-child-progress__content > p:not(.fluence-eyebrow):not(.fluence-child-progress__count) {
  margin: 0 0 24px;
  color: #667085;
}
.fluence-child-progress__count {
  margin: 12px 0 0;
  color: #4b5f52;
}
.fluence-child-progress__count strong {
  color: #24523a;
  font-size: 1.25rem;
}
.fluence-child-progress__plant {
  width: 125px;
  align-self: end;
}
@media (max-width: 900px) {
  .fluence-child-progress__plant {
    display: none;
  }
}
.fluence-child-progress__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px) {
  .fluence-child-progress__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .fluence-child-progress__metrics {
    grid-template-columns: 1fr;
  }
}
.fluence-child-progress__metrics article {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 2px 12px;
  border: 1px solid #dce8d6;
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.fluence-child-progress__metrics img {
  width: 46px;
  height: 46px;
  grid-row: 1 / 3;
  object-fit: contain;
}
.fluence-child-progress__metrics strong {
  overflow: hidden;
  color: #214f38;
  font-size: 1.3rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fluence-child-progress__metrics span {
  color: #667085;
  font-size: 0.82rem;
}
.fluence-parent-access-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid #d6dfeb;
  border-radius: 22px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
@media (max-width: 680px) {
  .fluence-parent-access-card {
    align-items: stretch;
    flex-direction: column;
  }
}
.fluence-parent-access-card > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fluence-parent-access-card h2,
.fluence-parent-access-card p {
  margin: 0;
}
.fluence-parent-access-card h2 {
  font-size: 1.3rem;
}
.fluence-parent-access-card p:last-child {
  margin-top: 3px;
  color: #667085;
  font-size: 0.92rem;
}
.fluence-parent-access-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  font-size: 1.45rem;
}
.fluence-modal-backdrop,
.fluence-slideover-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  background: rgba(8, 21, 41, 0.56);
  backdrop-filter: blur(3px);
}
.fluence-modal-backdrop {
  place-items: center;
  padding: 18px;
}
.fluence-parent-pin-card {
  position: relative;
  display: grid;
  width: min(100%, 500px);
  gap: 18px;
  border-radius: 26px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 27, 66, 0.3);
}
.fluence-parent-pin-card h2,
.fluence-parent-pin-card p {
  margin: 0;
}
.fluence-parent-pin-card p:last-child {
  margin-top: 5px;
  color: #667085;
}
.fluence-parent-pin-card form {
  display: grid;
  gap: 14px;
}
.fluence-parent-pin-card__icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  font-size: 1.7rem;
}
.fluence-pin-input {
  max-width: 220px;
  letter-spacing: 0.55em;
  text-align: center;
}
.fluence-parent-pin-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fluence-modal-close {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  color: #344054;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
}
.fluence-modal-close:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-parent-pin-card > .fluence-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}
.fluence-parent-dashboard {
  display: grid;
  gap: 22px;
  border: 1px solid #d9e3ed;
  border-radius: 26px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(24, 59, 86, 0.12);
}
@media (max-width: 680px) {
  .fluence-parent-dashboard {
    padding: 18px;
  }
}
.fluence-parent-dashboard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 900px) {
  .fluence-parent-dashboard__header {
    flex-direction: column;
  }
}
.fluence-parent-dashboard__header h2,
.fluence-parent-dashboard__header p {
  margin: 0;
}
.fluence-parent-dashboard__header p:last-child {
  margin-top: 6px;
  color: #667085;
}
.fluence-parent-dashboard__header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fluence-parent-book-filter {
  display: grid;
  gap: 9px;
}
.fluence-parent-book-filter > span {
  color: #344054;
  font-weight: 800;
}
.fluence-parent-book-filter > div {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}
.fluence-stats-summary {
  margin: 0;
}
.fluence-stats-summary article {
  display: grid;
  gap: 3px;
  border: 1px solid #dbe6ef;
  border-radius: 16px;
  padding: 16px;
  background: #f8fbfd;
}
.fluence-step-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fluence-step-filters button {
  border: 1px solid #cdd8e3;
  border-radius: 999px;
  padding: 8px 15px;
  background: #fff;
  color: #536273;
  cursor: pointer;
  font-weight: 750;
}
.fluence-step-filters button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-step-filters button.is-active {
  border-color: #2563eb;
  background: #edf5ff;
  color: #1e40af;
}
.fluence-parent-step-list {
  display: grid;
  gap: 10px;
}
.fluence-parent-step-row {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(420px, 2fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid #dce4ec;
  border-radius: 16px;
  padding: 15px 17px;
  background: #fff;
}
@media (max-width: 900px) {
  .fluence-parent-step-row {
    grid-template-columns: 1fr;
  }
}
.fluence-parent-step-row.is-review {
  border-color: #e8c07e;
  background: #fffbf2;
}
.fluence-parent-step-row > small {
  grid-column: 1 / -1;
  color: #b45309;
}
.fluence-parent-step-row dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
@media (max-width: 680px) {
  .fluence-parent-step-row dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.fluence-parent-step-row dt {
  color: #667085;
  font-size: 0.75rem;
}
.fluence-parent-step-row dd {
  margin: 2px 0 0;
  color: #26394a;
  font-size: 0.9rem;
  font-weight: 750;
}
.fluence-parent-step-row__identity {
  display: grid;
  gap: 2px;
}
.fluence-parent-step-row__identity > span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}
.fluence-parent-step-row__identity strong {
  line-height: 1.2;
}
.fluence-parent-step-row__identity em {
  width: max-content;
  border-radius: 999px;
  padding: 3px 8px;
  background: #eef4f7;
  color: #50606c;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 750;
}
.fluence-parent-step-row__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 900px) {
  .fluence-parent-step-row__actions {
    justify-content: flex-start;
  }
}
.fluence-slideover-backdrop {
  justify-items: end;
}
.fluence-attempt-slideover {
  display: grid;
  width: min(680px, 100vw);
  height: 100vh;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  padding: 22px;
  background: #f8fafc;
  box-shadow: -18px 0 50px rgba(7, 27, 66, 0.24);
}
@media (max-width: 680px) {
  .fluence-attempt-slideover {
    width: 100vw;
    padding: 16px;
  }
}
.fluence-attempt-slideover__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.fluence-attempt-slideover__header h3,
.fluence-attempt-slideover__header p {
  margin: 0;
}
.fluence-attempt-slideover__header h3 {
  font-size: 1.45rem;
  line-height: 1.2;
}
.fluence-attempt-slideover__header p:last-child {
  margin-top: 5px;
  color: #667085;
}
.fluence-attempt-slideover__review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #ead5aa;
  border-radius: 14px;
  padding: 13px 15px;
  background: #fffaf0;
}
@media (max-width: 680px) {
  .fluence-attempt-slideover__review {
    align-items: stretch;
    flex-direction: column;
  }
}
.fluence-attempt-slideover__review div {
  display: grid;
  gap: 2px;
}
.fluence-attempt-slideover__review span {
  color: #667085;
  font-size: 0.8rem;
}
.fluence-attempt-chart {
  display: grid;
  gap: 8px;
  border: 1px solid #dce5ed;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}
.fluence-attempt-chart h4,
.fluence-attempt-chart p {
  margin: 0;
}
.fluence-attempt-chart > div span {
  color: #667085;
  font-size: 0.76rem;
}
.fluence-attempt-chart svg {
  width: 100%;
  height: 150px;
}
.fluence-attempt-chart line {
  stroke: #cdd8e3;
  stroke-width: 1;
}
.fluence-attempt-chart polyline {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fluence-attempt-chart polyline.is-raw {
  stroke: #2563eb;
}
.fluence-attempt-chart polyline.is-corrected {
  stroke: #15803d;
  stroke-dasharray: 7 5;
}
.fluence-attempt-chart > p {
  display: flex;
  gap: 18px;
  font-size: 0.78rem;
}
.fluence-attempt-chart > p span::before {
  display: inline-block;
  width: 18px;
  height: 3px;
  margin-right: 6px;
  background: currentColor;
  content: '';
  vertical-align: middle;
}
.fluence-attempt-chart > p .is-raw {
  color: #2563eb;
}
.fluence-attempt-chart > p .is-corrected {
  color: #15803d;
}
.fluence-attempt-list {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 3px;
}
.fluence-attempt-item {
  overflow: hidden;
  border: 1px solid #dce4ec;
  border-radius: 14px;
  background: #fff;
}
.fluence-attempt-item__summary {
  display: grid;
  width: 100%;
  grid-template-columns: 1.2fr 0.8fr 0.6fr auto auto;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 14px;
  background: #fff;
  color: #172033;
  cursor: pointer;
  text-align: left;
}
.fluence-attempt-item__summary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
@media (max-width: 680px) {
  .fluence-attempt-item__summary {
    grid-template-columns: 1fr 1fr;
  }
}
.fluence-attempt-item__summary > span {
  display: grid;
  gap: 2px;
}
.fluence-attempt-item__summary small {
  color: #667085;
  font-size: 0.75rem;
}
.fluence-attempt-item__summary em {
  border-radius: 999px;
  padding: 4px 8px;
  background: #fff0df;
  color: #b45309;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 750;
}
.fluence-attempt-item__editor {
  display: grid;
  gap: 16px;
  border-top: 1px solid #e4e9ef;
  padding: 16px;
  background: #fbfcfd;
}
.fluence-feedback-grid {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 680px) {
  .fluence-feedback-grid {
    grid-template-columns: 1fr;
  }
}
.fluence-attempt-danger {
  border-top: 1px solid #ecd4d2;
  padding-top: 12px;
}
.fluence-attempt-danger summary {
  color: #b42318;
  cursor: pointer;
  font-weight: 800;
}
.fluence-attempt-danger p {
  color: #667085;
  font-size: 0.84rem;
}
.fluence-attempt-danger input {
  width: 100%;
  margin-bottom: 10px;
}
.fluence-settings-page {
  display: grid;
  gap: 24px;
  padding: 16px 0 42px;
}
.fluence-settings-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 680px) {
  .fluence-settings-page__header {
    flex-direction: column;
  }
}
.fluence-settings-page__header h1,
.fluence-settings-page__header p {
  margin: 0;
}
.fluence-settings-page__header h1 {
  color: #173d45;
  font-size: 2.35rem;
}
.fluence-settings-page__header p:last-child {
  margin-top: 6px;
  color: #667085;
}
.fluence-security-page-heading {
  max-width: 820px;
  margin: 0 auto;
}
.fluence-parent-pin-settings {
  width: min(100%, 820px);
  margin: 0 auto;
}
.fluence-parent-pin-settings__panel {
  gap: 26px;
  border-color: #cfe1e9;
  padding: 32px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fcff 100%);
}
.fluence-parent-pin-settings__panel .fluence-settings-section__heading {
  max-width: 650px;
}
.fluence-parent-pin-settings__panel .fluence-settings-section__heading h2 {
  color: #173d45;
  font-size: 1.7rem;
}
.fluence-parent-pin-settings__panel .fluence-settings-section__heading p:last-child {
  margin-top: 8px;
  line-height: 1.55;
}
@media (max-width: 680px) {
  .fluence-parent-pin-settings__panel {
    padding: 22px 18px;
  }
}
.fluence-parent-pin-settings__form {
  max-width: 680px;
  gap: 18px;
}
.fluence-parent-pin-settings__form .fluence-form-field {
  gap: 8px;
}
.fluence-parent-pin-settings__form .fluence-pin-input {
  width: min(100%, 220px);
}
.fluence-parent-pin-settings .fluence-parent-pin-settings__actions {
  position: static;
  justify-content: flex-start;
  border: 0;
  padding: 6px 0 0;
  background: transparent;
  box-shadow: none;
}
.fluence-parent-pin-settings .fluence-parent-pin-settings__actions .btn {
  width: min(100%, 230px);
}
@media (max-width: 680px) {
  .fluence-parent-pin-settings .fluence-parent-pin-settings__actions .btn {
    width: 100%;
  }
}
.fluence-child-settings-form > .fluence-parent-pin-card {
  margin: 20px auto 0;
}
.fluence-settings-form {
  display: grid;
  gap: 18px;
}
.fluence-settings-section {
  display: grid;
  gap: 20px;
  border: 1px solid #d9e5ec;
  border-radius: 22px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
@media (max-width: 680px) {
  .fluence-settings-section {
    padding: 18px;
  }
}
.fluence-settings-section__heading h2,
.fluence-settings-section__heading p {
  margin: 0;
}
.fluence-settings-section__heading p {
  margin-top: 4px;
  color: #667085;
}
.fluence-settings-profile {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
}
@media (max-width: 680px) {
  .fluence-settings-profile {
    grid-template-columns: 1fr;
  }
}
.fluence-settings-avatar {
  display: grid;
  align-content: start;
  gap: 10px;
}
.fluence-settings-avatar img {
  width: 140px;
  height: 140px;
  border: 4px solid #eef4f7;
  border-radius: 50%;
  object-fit: cover;
}
.fluence-settings-avatar label {
  display: grid;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 750;
}
.fluence-settings-avatar input {
  max-width: 100%;
  font-size: 0.76rem;
}
.fluence-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 680px) {
  .fluence-settings-grid {
    grid-template-columns: 1fr;
  }
}
.fluence-settings-readonly {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
@media (max-width: 680px) {
  .fluence-settings-readonly {
    grid-template-columns: 1fr;
  }
}
.fluence-settings-readonly div {
  border: 1px solid #e1e8ee;
  border-radius: 12px;
  padding: 12px 14px;
  background: #f8fafc;
}
.fluence-settings-readonly dt {
  color: #667085;
  font-size: 0.78rem;
}
.fluence-settings-readonly dd {
  margin: 3px 0 0;
  font-weight: 750;
}
.fluence-settings-toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 680px) {
  .fluence-settings-toggles {
    grid-template-columns: 1fr;
  }
}
.fluence-settings-toggle {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid #dce5ec;
  border-radius: 14px;
  padding: 15px;
  background: #fbfcfd;
}
.fluence-settings-toggle > span {
  display: grid;
  gap: 3px;
}
.fluence-settings-toggle small {
  color: #667085;
  line-height: 1.4;
}
.fluence-settings-preview {
  border: 1px solid #eadfca;
  border-radius: 16px;
  padding: 18px;
  background: #fff8e8;
}
.fluence-settings-preview > span {
  color: #667085;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.fluence-settings-preview p {
  margin: 8px 0 0;
  color: #263238;
  font-family: "Andika", "Atkinson Hyperlegible", "Trebuchet MS", Verdana, "Noto Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.5;
}
.fluence-settings-preview.is-large p {
  font-size: 24px;
  line-height: 1.58;
}
.fluence-settings-preview.is-opendyslexic p {
  font-family: 'OpenDyslexic', "Andika", "Atkinson Hyperlegible", "Trebuchet MS", Verdana, "Noto Sans", Arial, sans-serif;
}
.fluence-settings-form__actions {
  position: sticky;
  z-index: 4;
  bottom: 12px;
  display: flex;
  justify-content: flex-end;
  border: 1px solid #d9e5ec;
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(24, 59, 86, 0.14);
}
body.is-fluence-overlay-open {
  overflow: hidden;
}
/*------------------------------------*\
Correctifs UX applicatifs
\*------------------------------------*/
.fluence-progress-shell,
.fluence-settings-shell {
  position: relative;
  overflow-x: clip;
}
.fluence-progress-shell::before,
.fluence-settings-shell::before {
  position: fixed;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: env(safe-area-inset-bottom, 0px);
  left: 0;
  content: '';
  pointer-events: none;
  background-image: url('/images/app-ui/decorations/plants/home-bottom-left.webp'), url('/images/app-ui/decorations/plants/home-bottom-right.webp');
  background-repeat: no-repeat;
  background-position: left bottom, right bottom;
  background-size: 260px auto, 390px auto;
}
@media (max-width: 900px) {
  .fluence-progress-shell::before,
  .fluence-settings-shell::before {
    background-size: 170px auto, 250px auto;
    opacity: 0.72;
  }
}
@media (max-width: 680px) {
  .fluence-progress-shell::before,
  .fluence-settings-shell::before {
    background-size: 90px auto, 135px auto;
    opacity: 0.45;
  }
}
.fluence-progress-shell .fluence-app-main,
.fluence-settings-shell .fluence-app-main {
  position: relative;
  z-index: 1;
}
.fluence-app-shell .btn.btn-primary,
.fluence-app-shell .btn.btn-secondary {
  min-height: 46px;
  border-radius: 14px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}
.fluence-app-shell .btn.btn-primary:focus-visible,
.fluence-app-shell .btn.btn-secondary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-app-shell .btn.btn-primary:active:not(:disabled),
.fluence-app-shell .btn.btn-secondary:active:not(:disabled) {
  transform: translateY(1px);
}
.fluence-app-shell .btn.btn-primary:disabled,
.fluence-app-shell .btn.btn-secondary:disabled,
.fluence-app-shell .btn.btn-primary[disabled],
.fluence-app-shell .btn.btn-secondary[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
}
.fluence-app-shell .btn.btn-primary.btn-sm,
.fluence-app-shell .btn.btn-secondary.btn-sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.9rem;
}
.fluence-app-shell .btn.btn-primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
}
.fluence-app-shell .btn.btn-primary:hover:not(:disabled) {
  border-color: #1e40af;
  background: #1e40af;
}
.fluence-app-shell .btn.btn-secondary {
  border-color: rgba(37, 99, 235, 0.28);
  background: #eef4ff;
  color: #1e40af;
}
.fluence-app-shell .btn.btn-secondary:hover:not(:disabled) {
  border-color: rgba(37, 99, 235, 0.48);
  background: #e3edff;
}
.fluence-home-summary__book-info {
  border-radius: 14px;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.fluence-home-summary__book-info:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-home-summary__book-info:hover {
  background: rgba(37, 99, 235, 0.06);
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.06);
  transform: translateY(-1px);
}
.fluence-book-carousel__card {
  color: #172033;
  cursor: pointer;
}
.fluence-book-carousel__card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.fluence-book-carousel__card:hover {
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow: 0 20px 38px rgba(51, 65, 85, 0.16);
  transform: translateY(-3px);
}
.fluence-book-carousel__card.is-current:hover {
  transform: translateY(-6px);
}
.fluence-child-progress__metrics .fluence-child-progress__next {
  grid-template-columns: 48px minmax(0, 1fr);
}
.fluence-child-progress__metrics .fluence-child-progress__next .fluence-child-progress__next-icon {
  display: grid;
  width: 46px;
  height: 46px;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 50%;
  background: #2a7cea;
}
.fluence-child-progress__metrics .fluence-child-progress__next .fluence-child-progress__next-icon img {
  width: 30px;
  height: 30px;
  grid-row: auto;
}
.fluence-child-progress__metrics .fluence-child-progress__next.is-complete .fluence-child-progress__next-icon {
  background: #f4a61e;
}
.fluence-child-progress__metrics .fluence-child-progress__next.is-complete strong {
  color: #8a5600;
}
.fluence-child-progress__metrics .fluence-child-progress__next span:last-child {
  line-height: 1.25;
}
.fluence-parent-step-row {
  grid-template-columns: minmax(190px, 1.15fr) minmax(480px, 2.5fr) minmax(180px, auto);
  grid-template-areas: 'identity metrics actions' 'note note note';
  grid-template-rows: auto auto;
  align-items: start;
  gap: 16px 22px;
  padding: 18px;
}
.fluence-parent-step-row dl {
  grid-area: metrics;
  grid-template-columns: 0.65fr 1fr 1fr 1fr;
  gap: 0;
}
.fluence-parent-step-row dl > div {
  min-width: 0;
  border-left: 1px solid #e3e9ef;
  padding: 2px 14px;
}
.fluence-parent-step-row dl > div:first-child {
  border-left: 0;
  padding-left: 0;
}
.fluence-parent-step-row dt {
  min-height: 2.2em;
  line-height: 1.1;
}
.fluence-parent-step-row dd {
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
@media (max-width: 900px) {
  .fluence-parent-step-row {
    grid-template-areas: 'identity' 'metrics' 'actions' 'note';
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
  }
  .fluence-parent-step-row dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .fluence-parent-step-row dl > div,
  .fluence-parent-step-row dl > div:first-child {
    border: 1px solid #e3e9ef;
    border-radius: 12px;
    padding: 11px 12px;
    background: #f8fafc;
  }
  .fluence-parent-step-row dt {
    min-height: 0;
  }
}
@media (max-width: 440px) {
  .fluence-parent-step-row dl {
    grid-template-columns: 1fr;
  }
}
.fluence-parent-step-row__identity {
  min-width: 0;
  gap: 5px;
  grid-area: identity;
}
.fluence-parent-step-row__identity strong {
  overflow-wrap: anywhere;
  font-size: 1.05rem;
}
.fluence-parent-step-row__note {
  grid-area: note;
  grid-column: auto;
  width: 100%;
  border-radius: 10px;
  padding: 7px 10px;
  background: #fff8e8;
}
@media (max-width: 900px) {
  .fluence-parent-step-row__note {
    grid-column: auto;
  }
}
.fluence-parent-step-row__actions {
  display: grid;
  grid-area: actions;
  align-self: center;
  justify-items: stretch;
}
.fluence-parent-step-row__actions .btn {
  width: 100%;
  white-space: normal;
}
@media (max-width: 900px) {
  .fluence-parent-step-row__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fluence-parent-step-row__actions .btn:only-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 680px) {
  .fluence-parent-step-row__actions {
    grid-template-columns: 1fr;
  }
}
.fluence-attempt-slideover {
  width: min(760px, 100vw);
  max-width: 100vw;
  overflow-x: hidden;
}
@media (max-width: 480px) {
  .fluence-attempt-slideover {
    width: 100vw;
    height: 100dvh;
    gap: 12px;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }
}
.fluence-attempt-chart {
  min-width: 0;
  overflow: hidden;
}
.fluence-attempt-chart svg {
  max-width: 100%;
}
.fluence-attempt-list {
  width: 100%;
  max-width: 100%;
  grid-auto-rows: max-content;
  overflow-x: hidden;
  overscroll-behavior: contain;
}
.fluence-attempt-item {
  min-width: 0;
}
.fluence-attempt-item__summary {
  position: relative;
  grid-template-columns: minmax(145px, 1.45fr) repeat(3, minmax(74px, 0.72fr)) auto;
  gap: 10px;
  padding: 14px 58px 14px 16px;
}
.fluence-attempt-item__summary > span,
.fluence-attempt-item__summary strong,
.fluence-attempt-item__summary small {
  min-width: 0;
}
.fluence-attempt-item__summary strong {
  font-variant-numeric: tabular-nums;
}
.fluence-attempt-item__summary em {
  position: absolute;
  top: 4px;
  right: 38px;
  z-index: 1;
}
.fluence-attempt-item__summary.is-short {
  padding-top: 42px;
}
@media (max-width: 680px) {
  .fluence-attempt-item__summary {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    padding-right: 48px;
  }
  .fluence-attempt-item__summary.is-short {
    padding-top: 42px;
  }
  .fluence-attempt-item__summary .fluence-attempt-item__identity {
    grid-column: 1 / -1;
  }
}
@media (max-width: 380px) {
  .fluence-attempt-item__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  }
  .fluence-attempt-item__summary .fluence-attempt-item__metric:nth-of-type(4) {
    grid-column: 1 / 2;
  }
}
.fluence-attempt-item__identity {
  overflow-wrap: anywhere;
}
.fluence-attempt-item__metric {
  display: grid;
  align-content: center;
  gap: 2px;
}
.fluence-attempt-item__metric > small {
  order: -1;
}
.fluence-attempt-item__metric strong > span {
  display: block;
  color: #667085;
  font-size: 0.68rem;
  font-weight: 650;
  white-space: nowrap;
}
.fluence-attempt-item__chevron {
  font-size: 1.25rem;
  transition: transform 0.18s ease;
}
.fluence-attempt-item.is-expanded .fluence-attempt-item__chevron {
  transform: rotate(180deg);
}
.fluence-attempt-item__editor {
  min-width: 0;
}
.fluence-attempt-item__editor .input,
.fluence-attempt-item__editor .select,
.fluence-attempt-item__editor .textarea,
.fluence-attempt-item__editor .btn {
  max-width: 100%;
}
.fluence-attempt-item__editor > .btn {
  justify-self: start;
}
@media (max-width: 680px) {
  .fluence-attempt-item__editor {
    padding: 14px;
  }
  .fluence-attempt-item__editor > .btn {
    width: 100%;
  }
}
.fluence-settings-avatar__upload {
  margin: 0;
  color: #1e40af;
  font-size: 0.82rem;
  font-weight: 700;
}
.fluence-settings-avatar .btn {
  width: max-content;
  max-width: 100%;
  white-space: normal;
}
.fluence-settings-avatar .fluence-settings-avatar__reset {
  width: 100%;
  min-width: 0;
  justify-content: center;
  padding-inline: 10px;
  line-height: 1.3;
  text-align: center;
}
.fluence-reading-layout.is-reading-active.has-visible-timer {
  padding-top: 74px;
}
@media (max-width: 680px) {
  .fluence-reading-layout.is-reading-active.has-visible-timer {
    padding-top: 60px;
  }
  .fluence-reading-layout.is-reading-active.has-visible-timer .fluence-reading-story {
    padding-top: 140px;
  }
}
.fluence-child-timer {
  position: fixed;
  z-index: 35;
  top: max(14px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  display: grid;
  min-width: 150px;
  gap: 2px;
  margin: 0;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 18px;
  padding: 9px 15px;
  background: #ffffff;
  color: #29405f;
  box-shadow: 0 8px 22px rgba(24, 59, 86, 0.16);
  text-align: center;
}
.fluence-child-timer__label {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 700;
}
.fluence-child-timer__value {
  color: #18386e;
  font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}
@media (max-width: 680px) {
  .fluence-child-timer {
    top: max(8px, env(safe-area-inset-top));
    right: max(8px, env(safe-area-inset-right));
    min-width: 122px;
    border-radius: 14px;
    padding: 7px 10px;
  }
  .fluence-child-timer__label {
    font-size: 0.64rem;
  }
  .fluence-child-timer__value {
    font-size: 1.28rem;
  }
}
