/* Curseurs des recherches (src/curseurs.js) : une piste, une ou deux poignées, la valeur en clair.
   Même dessin que le curseur d'opacité des couches (src/couches.css), pour que tout curseur du
   site se lise pareil. Les deux poignées sont deux <input type="range"> superposés : la piste
   laisse passer le pointeur, seules les poignées le prennent. */
.cs { display: grid; gap: 2px; margin: 2px 0 6px; }
.cs-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cs-tete h2 { min-width: 0; }
.cs-tete output { color: var(--encre); font-size: var(--t-13); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-piste { position: relative; height: 26px; }
.cs-piste::before, .cs-plein { content: ''; position: absolute; top: 11px; height: 4px; border-radius: var(--r-rond); pointer-events: none; }
.cs-piste::before { left: 0; right: 0; background: var(--actif); box-shadow: inset 0 0 0 1px var(--filet); }
.cs-plein { left: var(--cs-a); right: calc(100% - var(--cs-b)); background: var(--accent); }
.cs-piste input { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 26px; margin: 0; background: transparent; pointer-events: none; }
.cs:not(.cs-double) .cs-piste input { pointer-events: auto; cursor: pointer; }
.cs-piste input::-webkit-slider-runnable-track { height: 26px; background: transparent; }
.cs-piste input::-moz-range-track { height: 4px; background: transparent; }
.cs-piste input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: 5px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.35); pointer-events: auto; cursor: grab; }
.cs-piste input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.35); pointer-events: auto; cursor: grab; }
.cs-piste input:active::-webkit-slider-thumb { cursor: grabbing; }
.cs-piste input:focus-visible { outline: none; }
.cs-piste input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--accent); }
.cs-piste input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--accent); }
.cs-bornes { display: flex; justify-content: space-between; margin-top: -4px; color: var(--encre-4); font-size: var(--t-11); font-variant-numeric: tabular-nums; }
/* Au doigt : une poignée qu'on attrape sans viser */
@media (pointer: coarse) {
  .cs-piste, .cs-piste input, .cs-piste input::-webkit-slider-runnable-track { height: 36px; }
  .cs-piste::before, .cs-plein { top: 16px; }
  .cs-piste input::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: 6px; }
  .cs-piste input::-moz-range-thumb { width: 24px; height: 24px; }
}
/* le titre porte la marge des titres du panneau ; celui de promoteur.css (:first-child) l'écrasait */
.cs-tete { margin-top: 12px; }
.pg .pg-reglages .cs-tete > h2 { margin: 0; }
