/* Shared entry-point component. All selectors are scoped to pa-* elements. */
.pa-group { margin: 16px 0; padding: 14px 16px; border: 1px solid #dce5ef; border-radius: 14px; background: #f5f8fc; }
.pa-group-note { margin: 0 0 10px !important; color: #424a56; font-size: 13px; line-height: 1.6; font-weight: 600; }
.pa-group-note span { color: #6e7785; font-weight: 400; }
.pa-group-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.pa-button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; min-height: 44px; max-width: 100%; padding: 9px 13px; border: 1px solid #c9ddf5; border-radius: 10px; background: #fff; color: #0064c9; font: inherit; font-size: 13px; line-height: 1.5; text-align: center; white-space: normal; cursor: pointer; }
.pa-button:hover { background: #edf5ff; border-color: #75ace4; }
.pa-button:focus-visible, .pa-dialog button:focus-visible, .pa-dialog a:focus-visible, .pa-dialog summary:focus-visible { outline: 3px solid #0071e3; outline-offset: 3px; }
.pa-dialog { box-sizing: border-box; width: min(640px, calc(100vw - 32px)); max-height: min(88vh, 920px); max-height: min(88dvh, 920px); margin: auto; padding: 0; border: 1px solid #dce0e6; border-radius: 20px; background: #ffffff; color: #1d1d1f; box-shadow: 0 24px 80px #162d4d29; overflow: hidden; font-family: inherit; }
.pa-dialog:not([open]) { display: none; }
.pa-dialog[open] { display: flex; flex-direction: column; }
.pa-dialog::backdrop { background: #101828a8; backdrop-filter: blur(3px); }
.pa-dialog *, .pa-dialog *::before, .pa-dialog *::after { box-sizing: border-box; }
.pa-dialog-heading { flex: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid #e6e8ed; }
.pa-eyebrow { margin: 0 0 7px; color: #58708e; font-size: 12px; line-height: 1.5; font-weight: 600; }
.pa-dialog h2 { margin: 0; color: #1d1d1f; font-size: 22px; line-height: 1.4; }
.pa-close { flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 0; border: 1px solid #dce0e6; border-radius: 12px; color: #5b6574; background: #f5f5f7; font-size: 26px; line-height: 1; cursor: pointer; }
.pa-dialog-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 24px; }
.pa-account-notice { margin: 0 0 14px; padding: 10px 12px; border-left: 3px solid #0071e3; border-radius: 4px 10px 10px 4px; background: #edf5ff; color: #254c79; font-size: 14px; line-height: 1.75; }
.pa-dialog h3 { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.pa-steps { margin: 0 0 14px; padding-left: 23px; }
.pa-steps li { padding-left: 3px; margin: 6px 0; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.pa-limit { padding: 9px 12px; border: 1px solid #ede2c9; border-radius: 12px; background: #fff9ed; font-size: 13px; line-height: 1.75; }
.pa-limit strong { font-size: 13px; color: #71572e; }
.pa-limit p { margin: 0; color: #685c47; }
.pa-verified { margin: 13px 0 8px; color: #526680; font-size: 12px; line-height: 1.7; font-weight: 600; }
.pa-sources { margin: 6px 0 0; font-size: 12px; line-height: 1.7; color: #657080; }
.pa-sources summary { display: list-item; min-height: 44px; padding: 12px 0; cursor: pointer; }
.pa-sources p { margin: 0 0 8px; }
.pa-sources ul { margin: 0; padding-left: 20px; }
.pa-sources li { margin: 8px 0; }
.pa-sources a { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 0; color: #0064c9; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.pa-sources small { display: block; font-size: 12px; color: #6e7785; }
.pa-return-note { flex: 0 0 100%; margin: 0; color: #6e7785; font-size: 12px; line-height: 1.75; }
.pa-dialog-footer { flex: 0 0 auto; display: flex; align-items: stretch; gap: 8px 10px; flex-wrap: wrap; padding: 12px 24px 14px; background: #fff; border-top: 1px solid #e6e8ed; }
.pa-open, .pa-back { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; max-width: 100%; padding: 11px 16px; border: 1px solid #cbd9e8; border-radius: 11px; font: inherit; font-size: 14px; line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer; }
.pa-open { flex-direction: column; flex: 1 1 210px; color: #fff; background: #0071e3; border-color: #0071e3; }
.pa-open:hover { background: #0064c9; color: #fff; }
.pa-new-tab { display: block; margin-top: 2px; opacity: .85; font-size: 11px; }
.pa-back { flex: 0 1 auto; color: #365778; background: #ffffff; }
.pa-back:hover, .pa-close:hover { background: #edf5ff; }
@media (max-width: 560px) {
  .pa-group { padding: 12px; }
  .pa-group-note span { display: block; }
  .pa-button { flex: 1 1 auto; }
  .pa-dialog { width: calc(100vw - 20px); max-height: 92vh; max-height: 92dvh; border-radius: 16px; }
  .pa-dialog-heading { gap: 10px; padding: 18px 16px 14px; }
  .pa-dialog h2 { font-size: 19px; }
  .pa-dialog-body { padding: 16px; }
  .pa-dialog-footer { padding: 10px 16px 12px; }
  .pa-open { flex-basis: 170px; padding: 10px 12px; }
  .pa-back { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .pa-dialog, .pa-button, .pa-open, .pa-back, .pa-close { scroll-behavior: auto; transition: none; }
}
.pa-surface { margin: 0 0 12px; color: #526680; font-size: 12px; line-height: 1.6; font-weight: 600; }


