
.raccourcis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.raccourcis button {
  height: var(--cible);
  border-radius: 12px;
  border: 1px solid var(--trait-2);
  background: var(--papier);
  font-size: 15px;
  font-weight: 600;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
  min-width: 0;
}
.raccourcis button[aria-pressed="true"] {
  background: var(--vert);
  border-color: var(--vert);
  color: var(--sur-vert);
  box-shadow: var(--ombre-vert);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: var(--cible);
  background: transparent;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: var(--trait-2);
}
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: var(--trait-2);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--vert);
  border: 3px solid var(--papier);
  box-shadow: var(--ombre-vert);
}
input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--vert);
  border: 3px solid var(--papier);
  box-shadow: var(--ombre-vert);
}

.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: var(--cible);
  padding: 8px 0;
  border-bottom: 1px solid var(--trait);
  width: 100%;
  text-align: left;
}
.option:last-child { border-bottom: 0; }
.option .quoi { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.option .nom  { font-size: 15px; font-weight: 600; }
.option .note { font-size: 12.5px; color: var(--texte-2); }

.bascule {
  width: 48px; height: 28px;
  border-radius: 14px;
  background: var(--trait-4);
  flex-shrink: 0;
  position: relative;
  transition: background 160ms;
}
.bascule::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--papier);
  transition: transform 160ms;
}
.option[aria-pressed="true"] .bascule { background: var(--vert); }
.option[aria-pressed="true"] .bascule::after { transform: translateX(20px); }

.pied-fixe {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  background: var(--fond-app);
  border-top: 1px solid var(--trait);
  padding: 12px var(--marge) calc(12px + env(safe-area-inset-bottom, 0px)) var(--marge);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (min-width: 900px) {
  .pied-fixe { max-width: 480px; margin: 0 auto; }
}

.option[data-bientot] {
  background: transparent;
  border-style: dashed;
}
.option[data-bientot] .nom  { color: var(--texte-2); }
.option[data-bientot] .note { color: var(--texte-3); }
.option[data-bientot] .bascule { opacity: 0.4; }

.raccourcis button[data-hors] {
  border-style: dashed;
  color: var(--texte-3);
  background: transparent;
}

.choix-rangee {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
}
.choix {
  min-height: 62px;
  border-radius: 14px;
  border: 1px solid var(--trait-2);
  background: var(--papier);
  padding: 9px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}
.choix-nom {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--encre);
  line-height: 1.2;
  text-align: center;
}
.choix-nb {
  font-size: 12px;
  color: var(--texte-3);
  font-variant-numeric: tabular-nums;
}
.choix[aria-checked="true"] {
  background: var(--vert);
  border-color: var(--vert);
  box-shadow: var(--ombre-vert);
}
.choix[aria-checked="true"] .choix-nom { color: var(--sur-vert); }
.choix[aria-checked="true"] .choix-nb  { color: var(--sur-vert-2); }

.choix[data-hors] {
  border-style: dashed;
  background: transparent;
}
.choix[data-hors] .choix-nom { color: var(--texte-2); font-weight: 500; }
