/* Outil · Matériaux PBR (PBR materials) : seulement ce qui lui est propre (le reste vient de app/kit.css).
   Préfixe des classes : mp-
   À gauche : les matériaux en tuiles avec leur couleur, par famille (zone fixe qui défile ; grisés hors de la famille ou de
   la recherche). À droite : la recherche, les familles, la fiche (pastille, 6 lignes à copier), les liens IOR et Palette.
   Au téléphone : recherche et familles d'abord. */
.mp .outil-fixe { align-items: stretch; }
.mp-zone { height: 520px; overflow-y: auto; overscroll-behavior: contain; padding: 4px 4px 12px; display: flex; flex-direction: column; gap: 18px; scroll-behavior: smooth; }
.mp-famille .groupe { margin-bottom: 8px; }
.mp-tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 960px) { .mp-tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mp-tuile { height: 50px; border: 0; border-radius: 12px; background: transparent; box-shadow: inset 0 0 0 1px var(--filet-doux); padding: 8px 12px; cursor: pointer;
  display: flex; align-items: center; gap: 10px; text-align: left; transition: background .3s var(--courbe), box-shadow .3s var(--courbe), opacity .3s var(--courbe); }
.mp-tuile i { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(242, 240, 235, .18); }
.mp-tuile b { font: 600 13px/1.2 var(--corps); color: var(--papier); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-tuile:hover { background: rgba(242, 240, 235, .04); }
.mp-tuile[aria-pressed="true"] { background: rgba(242, 240, 235, .08); box-shadow: inset 0 0 0 1px var(--papier); }
.mp-tuile.mp-eteint { opacity: .22; }
.mp-info { flex: none; height: 1lh; margin: 0; }
.mp-maj { flex: none; margin: -10px 0 0; text-align: center; font: 500 10.5px/1.3 var(--mono); letter-spacing: .04em; color: var(--texte2); opacity: .7; }

.mp-familles { flex-wrap: wrap; }
.mp-familles .puce { cursor: pointer; }
.mp-fiche { display: flex; flex-direction: column; gap: 10px; }
.mp-tete { display: flex; align-items: center; gap: 16px; height: 64px; }
.mp-pastille { flex: none; width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(242, 240, 235, .2); }
.mp-tete div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mp-tete h3 { margin: 0; font: 700 22px/1.1 var(--display); letter-spacing: -.02em; color: var(--papier); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-tete span { font: 500 11px/1.2 var(--mono); letter-spacing: .04em; color: var(--texte2); }
.mp-ligne { height: 48px; align-items: center; }
.mp-ligne .val { color: var(--papier); display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.mp-ligne .val i { font: 400 11px/1.2 var(--corps); font-style: normal; color: var(--texte2); }
.mp-ligne .note { display: grid; justify-items: end; }
.mp-ligne svg { width: 15px; height: 15px; fill: none; stroke: var(--texte2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mp-ligne:hover svg { stroke: var(--peche); }
.mp-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 959px) {
  .mp [data-recherche], .mp-familles { order: -1; }
  .mp-zone { height: 360px; }
}
