/* Mon salon, l'atelier (inc/salon-plan.php, maquette 10A validée le 02/10). Loaded on /mon-salon/ only, after
   plan-cote.css. The three measure fields doubled by the plan are hidden only once salon-plan.js has built it. */
.spl-actif .salon__mesures .salon__champ:not(.salon__champ--case) { display: none; }
.spl-actif .salon__plan { grid-column: 2; padding: 0; border: 0; background: none; }
.spl-actif .salon__plan svg { display: none; }
.spl-actif .salon__plan figcaption { margin-top: 0; }
.spl { margin: 0; grid-column: 2; grid-row: 1; }
.spl-actif .salon__mesures { grid-row: 1 / span 2; }

/* The gauge of a card: its width against the wall left free. */
.spl .pcote__v--larg { display: block; font-size: 17px; }
.spl-jauge { display: block; flex: 1 0 100%; width: 100%; position: relative; height: 0.55rem; margin: 0.15rem 0 0.35rem; border: solid var(--anthracite); border-width: 0 1.5px; background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(37, 39, 43, 0.1) 9px 10px); }
.spl-jauge b { position: absolute; left: 0; top: 0.1rem; bottom: 0.1rem; border-radius: 2px; background: var(--anthracite); }
.spl-jauge--non b { background: var(--rouge-non); }

/* Phones: a bar at the bottom once the plan is out of sight (count, back to the plan, filters). */
.spl-barre { display: none; }
@media (max-width: 800px) {
  .spl, .spl-actif .salon__plan, .spl-actif .salon__mesures { grid-column: 1; grid-row: auto; }
  .spl-barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem var(--gutter) calc(0.55rem + env(safe-area-inset-bottom)); background: var(--blanc); border-top: 1px solid var(--trait); box-shadow: 0 -8px 24px -16px rgba(35, 38, 43, 0.35); transform: translateY(110%); transition: transform 0.25s; }
  .spl-barre--vue { transform: none; }
  .spl-barre__n { flex: 1; margin: 0; font: 500 var(--t-sm)/1.1 var(--sans); color: var(--feutre); }
  .spl-barre__n b { font: 400 1.6rem/1 var(--serif); color: var(--bleu); }
  .spl-barre__b { min-height: 44px; padding: 0 1rem; border: 1px solid var(--anthracite); border-radius: 999px; background: var(--blanc); font: 700 var(--t-sm)/1 var(--sans); color: var(--anthracite); cursor: pointer; }
  .spl-barre__b--plein { background: var(--anthracite); color: var(--blanc); }
}
@media (prefers-reduced-motion: reduce) { .spl-barre { transition: none; } }
