/* Outil · Textures : seulement ce qui lui est propre (le reste vient de app/kit.css).
   Préfixe des classes : tx-
   À gauche : l'aperçu (zone fixe, damier derrière ; le résultat, ou 3 × 3 pour le raccord), la ligne d'info, Exporter PNG.
   À droite : le mode, puis son panneau (les quatre panneaux sont empilés dans la même case : la hauteur du plus grand) :
   les places d'image (vignette, nom, choisir / remplacer, retirer) et les réglages du mode. */
.tx .outil-fixe { align-items: stretch; }
.tx-zone { position: relative; height: 460px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--filet-doux);
  background-color: #1d1b19; background-image: conic-gradient(#262321 25%, transparent 0 50%, #262321 0 75%, transparent 0); background-size: 20px 20px; }
.tx-zone.survol { box-shadow: inset 0 0 0 1.5px var(--orange); }
.tx-apercu { position: absolute; inset: 0; width: 100%; height: 100%; }
.tx-vide { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 24px; text-align: center; font: var(--valeur); letter-spacing: .06em; color: var(--texte2); }
.tx-vide[hidden] { display: none; }
.tx-info { flex: none; height: 1lh; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tx-actions { display: flex; justify-content: center; }
.tx-actions .pastille { cursor: pointer; }
.tx-actions .pastille:hover { translate: none; }
.tx-actions .pastille:disabled { opacity: .3; cursor: default; }

.tx-modes button { padding-inline: 4px; }
.tx-panneaux { display: grid; }
.tx-panneau { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; }
.tx-panneau[hidden] { display: flex; visibility: hidden; }
.tx-place { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 28px; align-items: center; gap: 12px; height: 72px; padding: 8px 10px; border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--filet-doux); transition: box-shadow .2s var(--courbe); }
.tx-place.survol { box-shadow: inset 0 0 0 1.5px var(--orange); }
.tx-vignette { width: 56px; height: 56px; border-radius: 8px; background: rgba(242, 240, 235, .05); }
.tx-place-texte { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tx-place-texte b { font: 600 14px/1.2 var(--corps); color: var(--papier); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-place-texte span { font: 500 11px/1.2 var(--mono); letter-spacing: .04em; color: var(--texte2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-choisir { cursor: pointer; white-space: nowrap; }
.tx-choisir:hover { translate: none; }
.tx-retirer { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; cursor: pointer; color: var(--texte2); }
.tx-retirer svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tx-retirer:disabled { opacity: .2; cursor: default; }
.tx-defaut { transition: opacity .3s var(--courbe); }
.tx-defaut.tx-eteint { opacity: .3; pointer-events: none; }
.tx-sorties button { font-size: 12px; padding-inline: 6px; }
@media (max-width: 959px) {
  .tx-zone { height: 320px; }
  .tx-place { grid-template-columns: 48px minmax(0, 1fr) auto 28px; gap: 10px; }
  .tx-vignette { width: 48px; height: 48px; }
}
