/* doc-project | commande/v1/assets/css/components/sheet.css | Définit les styles des bottom-sheets et corrige le contraste des boutons Ghost dans ce composant. | Expose: aucun | Dépend de: aucun | Impacte: UI des sheets, lisibilité des boutons, comportement visuel au survol/pression/focus | Tables: aucune */
/* Fix contraste: dans les bottom-sheets (fond clair), les boutons "Ghost" héritent
   souvent d'un style prévu pour fond sombre (texte blanc) => illisible.
   On force une variante lisible uniquement à l'intérieur des sheets. */
.sheet__panel .btn.btnGhost{
  color: var(--text) !important;
  border-color: rgba(0,0,0,.18) !important;
}
.sheet__panel .btn.btnGhost:hover{
  background: rgba(0,0,0,.06) !important;
}
.sheet__panel .btn.btnGhost:active{
  background: rgba(0,0,0,.10) !important;
}
.sheet__panel .btn.btnGhost:focus{
  outline-color: rgba(0,0,0,.35);
}
.sheet{
  position: fixed;
  inset: 0;
  z-index: 40;
  display:none;
}
.sheet.is-open{ display:block; }
.sheet[inert]{
  pointer-events: none;
}
.sheet__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}
.sheet__panel{
  position:absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px 20px 0 0;
  background: rgba(255,255,255,.96);
  box-shadow: 0 -20px 50px rgba(0,0,0,.35);
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  max-height: 85vh;
  overflow:auto;
}
.sheet__handle{
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  margin: 0 auto 10px;
}
.sheet__title{
  margin: 0 0 10px;
  font-weight: 950;
  font-size: 18px;
}
.sheet__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.sheet__muted{
  color: var(--muted);
  font-size: 14px;
}

