/* [6.48.0] LOT 3 — panneau « Lettrage » (maquettes Textes / Mobile-Textes, Eric 21-23/10). Teintes de la maquette
   illustratives : seules les couleurs neutres de l'interface sont reprises ici, aucune couleur de production. */
.blt-panneau { display: flex; flex-direction: column; gap: 14px; padding: 4px 0 12px; color: #141414; font-size: 13px; }
.blt-panneau h3 { margin: 0 0 8px; font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; }
.blt-nb { font-size: 12px; font-weight: 400; color: #5B606B; }
.blt-bloc { display: flex; flex-direction: column; gap: 8px; }
.blt-fams, .blt-couches { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.blt-fams button { flex: 0 0 auto; height: 32px; padding: 0 12px; border-radius: 16px; border: none; background: #F2F3F5; color: #141414; font-size: 12px; cursor: pointer; }
.blt-fams button[aria-pressed="true"] { background: #141414; color: #fff; font-weight: 600; }
.blt-recherche { height: 36px; padding: 0 10px; border: 1px solid #D5D8DC; border-radius: 8px; font-size: 14px; }
.blt-polices { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; max-height: 210px; overflow-y: auto; }
.blt-police { height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px;
  border-radius: 8px; background: #fff; border: 1px solid #D5D8DC; cursor: pointer; color: #141414; }
.blt-police[aria-pressed="true"] { border: 2px solid #141414; }
.blt-ech { font-size: 26px; line-height: 1; }
.blt-nom { font-size: 10px; color: #5B606B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.blt-ligne { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; }
.blt-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: #F2F3F5; }
.blt-seg button { height: 32px; padding: 0 12px; border: none; border-radius: 6px; background: transparent; color: #141414; font-size: 13px; cursor: pointer; }
.blt-seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); font-weight: 600; }
.blt-seg button[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.blt-pas { display: inline-flex; align-items: center; gap: 6px; }
.blt-pas button { width: 40px; height: 40px; border-radius: 8px; border: 1px solid #D5D8DC; background: #fff; font-size: 18px; cursor: pointer; }
.blt-n { min-width: 18px; text-align: center; font-weight: 700; }
.blt-switch { width: 48px; height: 28px; border-radius: 14px; border: none; padding: 3px; display: flex; justify-content: flex-start; background: #C9CCD2; cursor: pointer; }
.blt-switch[aria-checked="true"] { justify-content: flex-end; background: #141414; }
.blt-switch span { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: block; }
.blt-couches button { flex: 0 0 auto; height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 18px;
  border: 1px solid #D5D8DC; background: #fff; color: #141414; font-size: 13px; cursor: pointer; }
.blt-couches button[aria-pressed="true"] { border: 2px solid #141414; background: #F2F3F5; }
.blt-rond { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #C9CCD2; flex-shrink: 0; }
.blt-aide { margin: 0; font-size: 12px; color: #5B606B; line-height: 1.4; }
.blt-pastilles { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.blt-pastille { width: 30px; height: 30px; border-radius: 50%; padding: 0; border: 1px solid #C9CCD2; cursor: pointer; }
.blt-pastille[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #141414; }
.blt-pastille[aria-disabled="true"] { opacity: .25; cursor: not-allowed; }
.blt-sep { width: 1px; height: 24px; background: #D5D8DC; margin: 0 4px; }
.blt-lien { align-self: flex-start; border: none; background: none; padding: 0; text-decoration: underline; color: #141414; font-size: 13px; cursor: pointer; }
.blt-controles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.4; }
.blt-controles li { position: relative; padding-left: 14px; }
.blt-controles li::before { content: ""; position: absolute; left: 0; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #1E8A44; }
.blt-controles li.blt-c-avert::before { background: #E08A00; }
.blt-controles li.blt-c-ko::before { background: #C4050F; }
.blt-controles li.blt-c-info::before { background: #9AA0A8; }
.blt-problemes { padding: 8px 10px; border-radius: 8px; background: #FDF1F1; }   /* [6.48.0] téléphone, hors onglet Contrôles */
.blt-problemes[hidden] { display: none; }
.blt-ia { flex-direction: row; align-items: flex-end; gap: 8px; }
.blt-ia label { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; }
.blt-ia input { height: 40px; padding: 0 10px; border: 1px solid #D5D8DC; border-radius: 8px; font-size: 14px; font-weight: 400; }
.blt-ia-btn { height: 40px; padding: 0 16px; border-radius: 8px; border: none; background: #141414; color: #fff; font-weight: 600; cursor: pointer; }
.blt-ia-btn:disabled { opacity: .5; }
.blt-toast { margin: 0; padding: 8px 10px; border-radius: 8px; background: #F2F3F5; font-size: 12px; }

/* Téléphone : [6.48.0 lot 3] quatre onglets (Lettrage, Effets, Couleurs, Contrôles), rangées qui défilent à l'horizontale.
   ⛔ Décision d'Eric (24/10) : RIEN n'est masqué sur téléphone — pas de display:none sur un élément du lettrage ; ce qui
   ne tient pas est replié (« Décrire un style ») ou défile, jamais retiré. */
.blt-mobile { gap: 8px; padding-top: 0; }
.blt-onglets { display: flex; gap: 2px; padding: 2px; border-radius: 10px; background: #F2F3F5; }
.blt-onglets button { flex: 1; min-width: 0; height: 36px; padding: 0 4px; border: none; border-radius: 8px; background: transparent; font-size: 13px; color: #141414; position: relative; }
.blt-onglets button.blt-alerte::after { content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: #C4050F; }
.blt-onglets button[aria-selected="true"] { background: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.blt-mobile .blt-polices { display: flex; overflow-x: auto; max-height: none; scrollbar-width: none; }
.blt-mobile .blt-police { flex: 0 0 84px; height: 72px; }
.blt-mobile .blt-ech { font-size: 30px; }
.blt-mobile .blt-pastilles { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.blt-mobile .blt-pastille { flex: 0 0 36px; width: 36px; height: 36px; }
.blt-mobile .blt-ligne { min-height: 40px; }
/* [6.48.0 lot 3] l'aide de la couche reste lisible sur téléphone (elle était masquée) : une ligne, qui peut passer à deux. */
.blt-mobile .blt-aide { font-size: 11px; line-height: 1.3; }
.blt-ligne-recherche { display: flex; gap: 6px; align-items: center; min-width: 0; }
.blt-ligne-recherche .blt-recherche { flex: 0 0 116px; width: 116px; height: 32px; font-size: 13px; }
.blt-ligne-recherche .blt-fams { flex: 1; min-width: 0; }
.blt-repli summary { cursor: pointer; font-size: 12px; font-weight: 600; padding: 4px 0; display: flex; justify-content: space-between; gap: 8px; }
.blt-repli summary .blt-nb { font-weight: 400; }
.blt-repli[open] summary { margin-bottom: 6px; }
.blt-mobile .blt-bloc-nom .blt-seg button { padding: 0 10px; }
