    html,
    body {
      height: auto;
      min-height: 100%;
      overflow: auto;
    }

    body {
      background: #f7f9fc;
    }

    header a {
      text-decoration: none !important;
    }

    .logo,
    .user-icon,
    #subscription,
    #settings-link {
      text-decoration: none !important;
    }
    .doc-content h1 { margin-left: 0; }      /* Pas d'indentation pour h1 */
    .doc-content h2 { margin-left: 1em; }    /* Indentation pour h2 */
    .doc-content h3 { margin-left: 2em; }    /* Indentation plus grande pour h3 */
    .doc-content h4 { margin-left: 3em; }    /* Indentation encore plus grande pour h4 */
    .doc-content p  { margin-left: 4em; }    /* Indentation pour les paragraphes */
    .doc-content ul { margin-left: 5em; }    /* Indentation pour les listes */
    .doc-page {
      display: grid;
      grid-template-columns: 400px 1fr 400px;
      gap: 24px;
      padding: 24px;
      min-height: calc(100vh - 140px);
      height: auto;
      position: static;
      background: #f7f9fc;
    }

    .doc-page > * {
      min-width: 0;
    }

    .doc-toc {
      position: sticky;
      top: 90px;
      align-self: start;
      background: #fff;
      border: 1px solid #e4e8ee;
      border-radius: 12px;
      padding: 18px;
      max-height: calc(100vh - 120px);
      overflow-y: auto;
    }

    .doc-toc h2 {
      margin: 0 0 12px;
      font-size: 1.1rem;
      color: #1d3557;
    }

    .doc-toc ul {
      margin: 0;
      padding-left: 0;
      list-style: none;
    }

    .doc-toc ul ul {
      padding-left: 14px;
      margin-top: 4px;
      margin-bottom: 8px;
    }

    .doc-toc li {
      margin-bottom: 6px;
    }

    .doc-toc a {
      color: #2f4058;
      text-decoration: none;
      font-size: 0.95rem;
      line-height: 1.4;
      display: inline-block;
      border-left: 3px solid transparent;
      padding: 3px 8px;
      border-radius: 6px;
      transition: all 0.15s ease;
    }

    .doc-toc a:hover,
    .doc-toc a.active {
      background: #eef5ff;
      color: #003f8a;
      border-left-color: #2a74d8;
    }

    .doc-content {
      background: #fff;
      border: 1px solid #e4e8ee;
      border-radius: 12px;
      padding: 28px;
      color: #22313f;
      line-height: 1.7;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .doc-content img,
    .doc-content svg,
    .doc-content iframe {
      max-width: 100%;
      height: auto;
    }

    .doc-content section {
      margin-top: 2.4rem;
    }

    .doc-content section:first-of-type {
      margin-top: 1.6rem;
    }

    .doc-content h1 {
      margin-top: 0;
      margin-bottom: 0.9rem;
      font-size: 2rem;
      color: #14253a;
    }

    .doc-content h2 {
      margin-top: 0;
      margin-bottom: 0.8rem;
      color: #17355a;
      border-bottom: 1px solid #e8edf4;
      padding-bottom: 8px;
    }

    .doc-content h3 {
      margin-top: 1.6rem;
      margin-bottom: 0.5rem;
      color: #22496f;
    }

    .doc-content h4 {
      margin-top: 1rem;
      margin-bottom: 0.35rem;
      color: #2c5b88;
      font-size: 1rem;
    }

    .doc-content h5 {
      margin-top: 0.7rem;
      margin-bottom: 0.3rem;
      color: #335f89;
      font-size: 0.96rem;
      font-weight: 600;
    }

    .doc-content p,
    .doc-content li {
      font-size: 1rem;
    }

    .doc-content .intro-box {
      background: #f5f9ff;
      border: 1px solid #dbe8fb;
      border-radius: 10px;
      padding: 16px;
      margin-bottom: 18px;
    }
    .doc-content .warning-box {
      background: #fffcf5;
      border: 1px solid #fbeadb;
      color :  #ff8400;
      border-radius: 10px;
      padding: 16px;
      margin-bottom: 18px;
    }
    .doc-content .error-box {
      background: #fff5f5;
      border: 1px solid #f5d6d6;
      color :  #ff0000;
      border-radius: 10px;
      padding: 16px;
      margin-bottom: 18px;
    }

    .doc-content ul {
      padding-left: 22px;
      margin-bottom: 1rem;
    }

    .doc-content li {
      margin-bottom: 0.3rem;
    }

    .doc-subsection {
      margin-top: 1rem;
      margin-left: 5em;
      border-left: 2px solid #edf2f8;
      padding-left: 1em;
    }

    .support-image-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin: 0.35rem 0 0.85rem;
    }

    .support-image-card {
      border: 1px solid #dbe6f2;
      border-radius: 8px;
      background: #f8fbff;
      padding: 8px 10px;
      text-align: center;
      min-width: 120px;
    }

    .support-image-card img {
      max-width: 100%;
    }

    .support-image-card img {
      width: 56px;
      height: 56px;
      object-fit: contain;
      display: block;
      margin: 0 auto 6px;
    }

    .support-image-card img.slider-inverted {
      filter: invert(1);
    }

    .support-image-card span {
      font-size: 0.9rem;
      color: #2f4058;
      font-weight: 600;
    }

    .math-block {
      margin: 0.75rem 0 1rem;
      padding: 14px 16px;
      background: #f8fbff;
      border: 1px solid #dbe6f2;
      border-radius: 10px;
      overflow-x: auto;
    }

    .dashboard-footer {
      text-align: center;
      padding: 16px;
      border-top: 1px solid #e8edf4;
      background: #fff;
      color: #425066;
      font-size: 0.92rem;
    }
    .contact-form input, .contact-form textarea {
        width: calc(100% - 8em);
        box-sizing: border-box;
        border: 1px solid #dbe8fb;
        border-radius: 10px;
        padding: 12px 14px;
        background: #fff;
        color: #22313f;
        font: inherit;
        margin-left: 4em;
    }
    .contact-form label {
        margin-left: 4em;
    }
    .contact-form button {
        margin-left: 5em;
        width: calc(100% - 10em);
        margin-top: 12px;
        margin-bottom: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
        background: #2a74d8;
        color: #fff;
        border: none;
        border-radius: 8px;
        cursor: pointer;
    }
    @media (max-width: 980px) {
      .doc-page {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
      }

      .doc-toc {
        position: static;
        max-height: none;
        width: 100%;
        box-sizing: border-box;
      }

      .doc-content {
        padding: 20px;
      }

      .support-image-row {
        gap: 8px;
      }

      .support-image-card {
        min-width: 0;
        flex: 1 1 110px;
      }
    }