/* Scoped to the fast Pro 5x confirmation; no shared page styles. */
html.fast-pro5x-confirm-open { overflow: hidden; }
dialog.fast-pro5x-confirm {
  box-sizing: border-box; width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  margin: auto; padding: 24px; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid #dce1ec; border-radius: 12px; background: #fff;
  color: #172033; box-shadow: 0 20px 60px rgba(15, 23, 42, .22);
  font: inherit; text-align: left;
}
dialog.fast-pro5x-confirm::backdrop { background: rgba(15, 23, 42, .48); }
dialog.fast-pro5x-confirm h2 { margin: 0 0 16px; font-size: 21px; line-height: 1.4; color: #172033; }
.fast-pro5x-confirm__account { margin: 0 0 18px; padding: 12px; border-radius: 8px; background: #f3f5fb; color: #283650; overflow-wrap: anywhere; font-size: 14px; line-height: 1.6; font-weight: 600; }
.fast-pro5x-confirm__rules { margin: 0; white-space: pre-line; line-height: 1.7; font-size: 15px; color: #263348; }
.fast-pro5x-confirm__hint { margin: 18px 0; color: #475569; font-size: 13px; line-height: 1.65; }
.fast-pro5x-confirm__actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 12px; }
.fast-pro5x-confirm__actions button { min-height: 46px; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.45; cursor: pointer; }
.fast-pro5x-confirm__cancel { background: #fff; color: #334155; }
.fast-pro5x-confirm__actions .fast-pro5x-confirm__accept { background: #5751dc; color: #fff; border-color: #5751dc; }
.fast-pro5x-confirm__actions button:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
@media (max-width: 440px) {
  dialog.fast-pro5x-confirm { padding: 20px; }
  dialog.fast-pro5x-confirm h2 { font-size: 19px; }
  .fast-pro5x-confirm__actions { grid-template-columns: 1fr; }
  .fast-pro5x-confirm__accept { grid-row: 1; }
}
