/* Going Full Gas — nuanciers de couleur du rédacteur (voir couleurs.js et rich-editor.js) */
.gfg-pal{position:relative;display:inline-flex;vertical-align:middle}
.gfg-pal-btn{--pal:#295e99;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:38px;height:36px;padding:4px 8px;border:1px solid #ffffff24;border-radius:7px;background:#ffffff08;color:#e6edf3;cursor:pointer}
.gfg-pal-btn:hover,.gfg-pal-btn[aria-expanded="true"]{border-color:#5b91ce;background:#5b91ce1f}
.gfg-pal-a{font:800 1.05rem/1 'Barlow Condensed',sans-serif}
.gfg-pal-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.gfg-pal-btn i{display:block;width:20px;height:4px;border-radius:2px;background:var(--pal)}
.gfg-pal-highlight{--pal:#fff3b0}
.gfg-pal-pop{position:absolute;z-index:60;top:calc(100% + 6px);left:0;width:246px;padding:12px;border:1px solid #ffffff1f;border-radius:10px;background:#1a232e;box-shadow:0 16px 40px -10px #000c}
.gfg-pal-pop[hidden]{display:none}
.gfg-pal-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}
.gfg-pal-sw{--sw:var(--sw-l);height:34px!important;min-height:0!important;min-width:0!important;padding:0!important;margin:0!important;border:1px solid #ffffff1f;border-radius:7px;cursor:pointer;transition:transform .12s,box-shadow .12s}
.gfg-pal-sw:hover,.gfg-pal-sw:focus-visible{transform:scale(1.08);box-shadow:0 0 0 2px #5b91ce;outline:none}
.gfg-pal-pop .gfg-pal-sw:not(:empty){background:#f5f3ef;color:var(--sw);font:800 1.15rem/1 'Barlow Condensed',sans-serif}
.gfg-pal-pop .gfg-pal-sw:empty{background:var(--sw)}
.gfg-pal-foot{display:flex;gap:6px;margin-top:10px}
.gfg-pal-reset,.gfg-pal-custom{flex:1;display:inline-flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:6px;width:auto!important;height:34px!important;min-height:0!important;margin:0!important;padding:4px 8px!important;white-space:nowrap;border:1px solid #ffffff24;border-radius:7px;background:none;color:#cfd8e1;font:700 .82rem 'Barlow Condensed',sans-serif;letter-spacing:.04em;cursor:pointer}
.gfg-pal-reset:hover,.gfg-pal-custom:hover{border-color:#5b91ce;color:#fff}
.gfg-pal-custom input{flex:none;width:20px!important;height:20px!important;min-height:0!important;margin:0!important;padding:0!important;border:0;border-radius:4px;background:none;cursor:pointer}
.gfg-pal-note{margin:9px 0 0;color:#8795a3;font-size:.76rem;line-height:1.35}
html[data-theme="light"] .gfg-pal-btn{border-color:#10151c26;background:#fff;color:#10151c}
html[data-theme="light"] .gfg-pal-pop{background:#fff;border-color:#10151c1f;box-shadow:0 16px 40px -12px #10151c55}
html[data-theme="light"] .gfg-pal-sw{border-color:#10151c1f}
html[data-theme="light"] .gfg-pal-reset,html[data-theme="light"] .gfg-pal-custom{border-color:#10151c26;color:#33404d}
html[data-theme="light"] .gfg-pal-note{color:#5a6672}
@media (prefers-reduced-motion:reduce){.gfg-pal-sw{transition:none}}
/* Texte surligné : lisible sur le surlignage adapté au thème (remplace l'ancienne règle « texte noir »). */
.article-content [data-gfg-bg],#editor-canvas [data-gfg-bg]{color:#eef3f8}
html[data-theme="light"] .article-content [data-gfg-bg]:not(.gfg-0),html[data-theme="light"] #editor-canvas [data-gfg-bg]{color:#10151c}
