.pwa-commandes[hidden], .pwa-commandes button[hidden] { display: none; }
.pwa-commandes { position: fixed; z-index: 950; bottom: max(12px, env(safe-area-inset-bottom)); right: max(12px, env(safe-area-inset-right)); display: flex; gap: 8px; flex-wrap: wrap; max-width: calc(100vw - 24px); }
.pwa-commandes button, .pwa-dialogue button { min-height: 44px; padding: 10px 16px; border: 1px solid #E0846A; border-radius: 10px; background: #232220; color: #ECEAE6; font: 500 13px/1.4 system-ui, sans-serif; cursor: pointer; }
.pwa-commandes button:focus-visible, .pwa-dialogue button:focus-visible { outline: 3px solid #E0846A; outline-offset: 3px; }
.pwa-dialogue { margin: auto; box-sizing: border-box; width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 24px; border: 1px solid #34322E; border-radius: 16px; background: #232220; color: #ECEAE6; font: 15px/1.6 system-ui, sans-serif; }
.pwa-dialogue::backdrop { background: rgb(0 0 0 / 65%); }
.pwa-dialogue h2 { color: #ECEAE6; font-size: 20px; margin: 0 0 16px; }
.pwa-dialogue p { color: #ECEAE6; }
.pwa-dialogue form { display: flex; justify-content: flex-end; }
body:has(.pwa-commandes:not([hidden])) { padding-bottom: 68px; }
@media print { .pwa-commandes, .pwa-dialogue { display: none !important; } }
