/* State/accessibility additions to the unchanged approved composition. */
#app { min-height: 100dvh; }
.auth-world,.shell { min-height: 100dvh; }
.btn { text-decoration: none; }
.formbox,.story,.signin,.release-info,.heading>div,.account>div,.person>div { min-width: 0; }
.person>div,.account strong,.sectionbox h2,.sectionbox p,.release-info .small { overflow-wrap: anywhere; white-space: normal; }
.password-hint { margin: -12px 0 20px; }
#form-error:empty,#dialog-error:empty { display: none; }
.error:not(:empty) { margin-bottom: 16px; }
.table-action { margin-block: 3px; }
.tablewrap table { font-variant-numeric: tabular-nums; }
dialog { max-height: calc(100dvh - 40px); overflow-y: auto; }
dialog .actions { flex-wrap: wrap; }
dialog[aria-busy="true"] { cursor: progress; }
@media(max-width:700px) {
  .nav { flex-wrap: wrap; }
  .nav button,.textbtn,.table-action,.exit { min-height: 44px; }
  .field input,.field select,.search input { font-size: 16px; }
  .heading { flex-wrap: wrap; }
  .password-row { flex-wrap: wrap; }
  .btn { white-space: normal; }
  .tablewrap { max-width: 100%; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
}

/* Enrollment follows the approved invitation/authenticator preview. */
.qr-wrap { text-align: center; margin: 20px 0; }
.qr-wrap img { display: block; width: 180px; height: 180px; max-width: 100%; object-fit: contain; background: white; border-radius: 8px; margin: 0 auto 12px; }
.manual { margin: 16px 0 22px; color: var(--muted); font-size: 12px; }
.manual summary { cursor: pointer; }
.manual summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.manual code { display: block; color: var(--fg); overflow-wrap: anywhere; margin-top: 8px; user-select: all; }
.setup-steps { padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 16px; }
.formbox h2 { line-height: 1.16; }
input[name="code"] { font-variant-numeric: tabular-nums; }
@media(max-width:700px) { .manual summary { min-height: 44px; display: flex; align-items: center; } }
