/* Affiliation-only status modal; the global Installer theme remains untouched. */
.af-feedback-dialog { max-width: min(560px,calc(100vw - 36px)); width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 20px; background: var(--surface); color: var(--text); box-shadow: 0 20px 60px #0008; }
.af-feedback-dialog::backdrop { background: transparent; }
.af-feedback-dialog h2 { margin: 0 0 12px; font-size: 1.15rem; }
.af-feedback-dialog p { white-space: pre-wrap; line-height: 1.5; margin: 0 0 20px; }
.af-feedback-dialog .af-feedback-actions { display: flex; justify-content: flex-end; }
.af-feedback-dialog.af-feedback-error h2 { color: #ff9a9a; }
/* Authenticator confirmation only: compact modal, numeric field and themed SVG. */
.af-feedback-dialog.af-auth-dialog { width: min(370px, calc(100vw - 36px)); max-width: none; padding: 22px; text-align: center; }
.af-auth-dialog h2 { margin-bottom: 8px; }
.af-auth-dialog p { font-size: .9rem; margin-bottom: 16px; }
.af-auth-anim-wrapper { display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.af-auth-pulse-ring { transform-origin: 44px 44px; animation: af-auth-spin 3s linear infinite; }
.af-auth-otp-dot { opacity: .25; animation: af-auth-blink 1.6s ease-in-out infinite; }
.af-auth-d2 { animation-delay: .25s; }
.af-auth-d3 { animation-delay: .5s; }
.af-auth-d4 { animation-delay: .75s; }
.af-auth-field { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: .88rem; font-weight: 600; margin-bottom: 20px; }
.af-auth-field input { box-sizing: border-box; width: 152px !important; max-width: 100%; min-width: 0; text-align: center; letter-spacing: .15em; font-size: 1.18rem; font-variant-numeric: tabular-nums; }
.af-auth-dialog .af-feedback-actions { justify-content: center; flex-wrap: wrap; }
.af-auth-dialog [hidden] { display: none !important; }
.af-auth-switch { display: inline-block; color: var(--accent); font-size: .84rem; margin-top: 2px; text-decoration: underline; text-underline-offset: 3px; }
@keyframes af-auth-spin { to { transform: rotate(360deg); } }
@keyframes af-auth-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .af-auth-pulse-ring, .af-auth-otp-dot { animation: none; } .af-auth-otp-dot { opacity: 1; } }
/* Same floating affiliation toolbar as all1; scoped to the toolbar alone. */
.af-affiliation-toolbar { position: sticky; top: 0; z-index: 70; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px; max-height: 42vh; overflow-y: auto; box-shadow: 0 6px 18px #0003; }
.af-toolbar-title { margin-right: auto; white-space: nowrap; }
.af-toolbar-status { flex-basis: 100%; margin: 4px 0 0; }
.af-toolbar-status[hidden] { display: none !important; }
.af-affiliation-toolbar a[aria-current="page"] { background: var(--accent); color: var(--accent-contrast, #fff); border-color: var(--accent); }

.af-auth-pairing { width: min(228px, 100%); margin: 0 auto 12px; }
.af-auth-pairing svg { display: block; width: 100%; }
