/* studio_graphique.css : panneau « Graphique » du dock et fenêtres de graphiques multipliés (studio_graphique.js). */
.gs { display: flex; flex-direction: column; gap: var(--e3); padding: var(--e3); font-size: var(--fs-s); }
.gs-ligne { display: flex; flex-wrap: wrap; gap: var(--e2); }
.gs-champ { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--ink-2); }
.gs-large { flex: 1 1 100%; }
.gs-champ .champ { width: 100%; min-width: 0; }
.gs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e2); }
.gs-actions .btn, .gs .btn { display: inline-flex; align-items: center; gap: var(--e1); }
.gs .btn svg { width: 12px; height: 12px; }
.gs-groupe { min-width: 0; display: flex; flex-direction: column; gap: var(--e2); padding: var(--e2) var(--e3); border: 1px solid var(--line); border-radius: var(--r1); }
.gs-groupe legend { padding: 0 var(--e1); color: var(--ink-2); font-weight: 600; }
/* Bulles (i) des aides du panneau (bulles.js, demande du PDG du 04/11/2026) : à côté du titre du groupe, et de l'étiquette
   « Graphique » (hors du <label> : un bouton dans un <label> en deviendrait le champ étiqueté). */
.gs-groupe legend .bl { margin-left: var(--e1); }
.gs-etiquette { display: inline-flex; align-items: center; min-width: 0; }
.gs-series { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--e2); }
.gs-series > li { display: flex; flex-direction: column; gap: var(--e1); padding: var(--e2); border: 1px solid var(--grid-line); border-radius: var(--r1); background: var(--bg-1); }
.gs-serie-tete { display: flex; align-items: center; gap: var(--e2); min-width: 0; }
.gs-serie-tete .gs-lib { flex: 1; min-width: 0; }
.gs-pastille { flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--c, var(--ink-2)); }
.gs-boutons { display: inline-flex; gap: var(--e1); flex: none; }
.gs-serie-reglages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e1) var(--e2); }
.gs-serie-reglages label { display: flex; flex-direction: column; gap: 1px; min-width: 0; color: var(--ink-2); }
.gs-serie-reglages .champ { width: 100%; min-width: 0; }
.gs-coche { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: var(--e1); }
.gs-choix { margin: 0; padding: 0; list-style: none; max-height: 220px; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.gs .note { color: var(--ink-2); font-size: var(--fs-s); }
/* Fenêtres flottantes : au-dessus de l'écran, déplaçables par le titre, redimensionnables par le coin. */
.gs-couche { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.gs-fenetre { position: absolute; pointer-events: auto; display: flex; flex-direction: column; width: min(720px, 90vw); height: min(460px, 70vh); min-width: 320px; min-height: 240px; max-width: 96vw; max-height: 92vh; resize: both; overflow: hidden; background: var(--bg-0, var(--bg-1)); border: 1px solid var(--line-fort); border-radius: var(--r2, 8px); box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.gs-f-tete { display: flex; align-items: center; gap: var(--e2); padding: var(--e1) var(--e2); background: var(--bg-1); border-bottom: 1px solid var(--line); cursor: move; user-select: none; touch-action: none; }
.gs-f-titre { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: var(--fs-s); }
.gs-f-corps { flex: 1; min-height: 0; position: relative; padding: var(--e2); overflow: hidden; }
.gs-f-corps > .gg { height: 100%; }
.cadre[data-presentation="oui"] ~ .gs-couche { display: none; }
@media print { .gs-couche { display: none; } }
