/* Écran d'ordinateur : utiliser toute la largeur de l'écran */
.md-grid { max-width: none; }
@media screen and (min-width: 76.25em) {
  .md-sidebar--primary { width: 15rem; }
  .md-sidebar--secondary { width: 13rem; }
}

/* Captures d'écran : cadre léger, curseur zoom */
.md-typeset img:not(.twemoji):not(.emojione) {
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.md-typeset a.glightbox { cursor: zoom-in; }

/* Schémas Mermaid centrés et lisibles */
.md-typeset .mermaid { text-align: center; margin: 1.5em 0; }

/* Tableaux sur toute la largeur */
.md-typeset__table { display: block; }
.md-typeset__table table:not([class]) { display: table; width: 100%; }

/* Encadré « Important » (syntaxe GitLab > [!IMPORTANT]) */
:root {
  --md-admonition-icon--important: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 13h-2V7h2m0 10h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2"/></svg>');
}
.md-typeset .admonition.important, .md-typeset details.important { border-color: #8250df; }
.md-typeset .important > .admonition-title, .md-typeset .important > summary { background-color: rgba(130, 80, 223, .1); }
.md-typeset .important > .admonition-title::before, .md-typeset .important > summary::before {
  background-color: #8250df;
  -webkit-mask-image: var(--md-admonition-icon--important);
          mask-image: var(--md-admonition-icon--important);
}

/* Pas d'en-tête « Texte » sur les sorties de commandes sans langage */
.md-typeset .language-text .filename { display: none; }
