/* Everta popup action layout — final mobile override, 2026-11-05 */
@media screen {
 html body dialog.everta-confirm-dialog .dialog-actions,
 html body dialog.action-dialog .dialog-actions,
 html body dialog.action-dialog .action-buttons,
 html body dialog.feedback-dialog .dialog-actions {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;align-items:stretch!important;justify-content:stretch!important;
  gap:10px!important;width:100%!important;max-width:100%!important;
  padding:0!important;margin:16px 0 0!important;flex-direction:row!important;
 }
 html body dialog.everta-confirm-dialog .dialog-actions>button,
 html body dialog.action-dialog .dialog-actions>button,
 html body dialog.action-dialog .action-buttons>button,
 html body dialog.feedback-dialog .dialog-actions>button {
  box-sizing:border-box!important;display:flex!important;position:static!important;
  align-items:center!important;justify-content:center!important;flex:1 1 0!important;
  grid-column:auto!important;grid-row:auto!important;float:none!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:46px!important;min-height:46px!important;max-height:none!important;
  margin:0!important;padding:8px 10px!important;border-radius:11px!important;
  font-size:14px!important;font-weight:700!important;line-height:1.25!important;font-family:inherit!important;text-align:center!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
  transform:none!important;
 }
 html body dialog.everta-confirm-dialog .dialog-actions>button.secondary,
 html body dialog.action-dialog .dialog-actions>button.secondary {background:#fff!important;color:#493b61!important;border:1px solid #e4ddec!important}
 html body dialog.everta-confirm-dialog .dialog-actions>button:not(.secondary) {background:#6526ed!important;color:#fff!important;border:1px solid #6526ed!important}
}
@media(max-width:600px){
 html body dialog.everta-confirm-dialog,
 html body dialog.action-dialog.feedback-dialog {box-sizing:border-box!important;width:calc(100vw - 28px)!important;max-width:420px!important;max-height:calc(100dvh - 28px)!important;overflow-y:auto!important}
 html body dialog.everta-confirm-dialog .dialog-actions,
 html body dialog.action-dialog .dialog-actions,
 html body dialog.action-dialog .action-buttons {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}
}

/* Center single-action notifications at every viewport width. */
@media screen {
 html body dialog.action-dialog .dialog-actions>button:only-child,
 html body dialog.action-dialog .action-buttons>button:only-child,
 html body dialog.feedback-dialog .dialog-actions>button:only-child,
 html body dialog.everta-confirm-dialog .dialog-actions>button:only-child {
  grid-column:1 / -1!important;
  justify-self:center!important;
  width:min(100%,170px)!important;
  flex:0 1 170px!important;
 }
 html body dialog.action-dialog.feedback-dialog {scrollbar-gutter:stable both-edges}
}
