/* Identity screens use the same quiet materials as the management workspace. */
.auth-view { background: #fff; }
.auth-view .topbar, .auth-view .sidebar, .auth-view .page-heading, .auth-view #scopeBar { display: none !important; }
.auth-view .main { margin: 0; padding: 0; min-height: 100svh; }
.auth-view #content { max-width: none; margin: 0; }
.auth-shell { --auth-ink: #262a30; --auth-secondary: #646d78; --auth-rule: #dfe3e8; min-height: 100svh; display: flex; flex-direction: column; color: var(--auth-ink); background: #fff; font-size: 14px; line-height: 1.65; }
.auth-shell :is(h1,h2,h3,p) { margin: 0; }
.auth-shell :is(h1,h2,h3) { text-wrap: balance; font-weight: 600; letter-spacing: 0; }
.auth-shell p { text-wrap: pretty; }
.auth-header { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 28px 48px; }
.auth-brand { display: flex; align-items: center; gap: 10px; color: var(--auth-ink); }
.auth-brand:hover { text-decoration: none; }
.auth-brand > span { display: flex; align-items: baseline; gap: 11px; }
.auth-brand strong { font-size: 24px; font-weight: 650; letter-spacing: -.6px; }
.auth-brand small { color: var(--auth-secondary); font-size: 13px; font-weight: 400; }
.auth-environment { font-size: 12px; color: var(--auth-secondary); }
.auth-layout { width: min(1184px,calc(100% - 112px)); margin: auto; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); align-items: center; padding: 34px 0 42px; }
.auth-intro { padding: 0 72px 0 0; }
.auth-eyebrow { font-size: 13px; color: var(--auth-secondary); margin-bottom: 18px !important; }
.auth-intro h1 { font-size: clamp(36px,3.4vw,48px); line-height: 1.3; }
.auth-intro-description { color: var(--auth-secondary); font-size: 15px; line-height: 1.9; max-width: 27em; margin-top: 22px !important; }
.auth-principles { list-style: none; margin: 42px 0 30px; padding: 0; }
.auth-principles li { display: grid; grid-template-columns: 26px 1fr 8px; gap: 14px; align-items: center; padding: 17px 0; border-top: 1px solid var(--auth-rule); }
.auth-principles li:last-child { border-bottom: 1px solid var(--auth-rule); }
.auth-principle-index { align-self: start; font-family: var(--font-code,monospace); font-size: 11px; line-height: 2; color: var(--auth-secondary); }
.auth-principles strong { display: block; font-size: 14px; font-weight: 600; }
.auth-principles p { font-size: 12px; line-height: 1.7; color: var(--auth-secondary); margin-top: 3px; }
.auth-principle-mark { width: 6px; height: 6px; background: #16845a; border-radius: 50%; }
.auth-intro-foot { display: grid; gap: 3px; font-size: 11px; color: var(--auth-secondary); }
.auth-identity-rule { color: #464e59; font-size: 12px; }
.auth-form-side { border-left: 1px solid var(--auth-rule); min-height: 480px; display: flex; align-items: center; justify-content: center; padding-left: 64px; }
.auth-form-card { width: 100%; max-width: 392px; min-width: 0; }
.auth-section-label { color: var(--auth-secondary); font-size: 12px; margin-bottom: 7px !important; }
.auth-form-heading h2 { font-size: 29px; line-height: 1.4; }
.auth-form-heading > p:last-child { color: var(--auth-secondary); font-size: 14px; line-height: 1.8; margin-top: 9px; }
.auth-form-heading { margin-bottom: 28px; }
.auth-shell form { margin: 0; }
.auth-field { display: grid; gap: 8px; margin: 0 0 19px; color: var(--auth-ink); font-size: 14px; font-weight: 500; }
.auth-shell .auth-field input, .auth-shell .auth-field select, .auth-shell .auth-field textarea { width: 100%; min-width: 0; font-size: 14px; line-height: 1.5; font-weight: 400; border: 1px solid #cbd1d9; border-radius: 5px; color: var(--auth-ink); background: #fff; padding: 11px 12px; min-height: 46px; box-shadow: none; }
.auth-field textarea { resize: vertical; }
.auth-field input::placeholder, .auth-field textarea::placeholder { color: #7d8691; }
.auth-field input:focus, .auth-field select:focus, .auth-field textarea:focus { outline: 2px solid #2554b8; outline-offset: 2px; border-color: #2554b8; }
.auth-field input[aria-invalid=true], .auth-field select[aria-invalid=true] { border-color: #ba3541; }
.auth-password { display: flex; position: relative; }
.auth-shell .auth-password input { padding-right: 62px; }
.auth-reveal { position: absolute; top: 1px; bottom: 1px; right: 1px; min-width: 54px; padding: 0 10px; background: transparent; color: #596473; border: 0; border-radius: 4px; font-size: 13px; }
.auth-reveal:hover { background: #f4f5f7; color: #242b35; }
.auth-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -2px 0 20px; }
.auth-options a, .auth-secondary-entry a { color: #2554b8; font-size: 13px; min-height: 28px; display: inline-flex; align-items: center; }
.auth-check { display: flex; align-items: start; gap: 9px; color: #4d5662; font-size: 13px; font-weight: 400; cursor: pointer; }
.auth-check input { flex: none; appearance: auto; width: 16px; min-height: 16px; height: 16px; margin: 3px 0 0; padding: 0; accent-color: #343b47; }
.auth-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid #cbd1d9; border-radius: 5px; background: #fff; color: var(--auth-ink); font-size: 14px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.auth-button:hover:not(:disabled) { background: #f4f5f7; border-color: #aab2be; }
.auth-button.auth-primary { width: 100%; color: #fff; background: #2b313c; border-color: #2b313c; min-height: 46px; }
.auth-button.auth-primary:hover:not(:disabled) { background: #151d29; border-color: #151d29; }
.auth-button:disabled { cursor: not-allowed; opacity: .45; }
.auth-error { margin: 0 0 14px !important; color: #b52d3c; font-size: 13px; line-height: 1.7; }
.auth-error:empty { display: none; }
.auth-secondary-entry { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; padding-top: 22px; color: var(--auth-secondary); font-size: 13px; }
.auth-demo { margin-top: 30px; padding-top: 15px; border-top: 1px solid var(--auth-rule); color: var(--auth-secondary); }
.auth-demo summary { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; list-style: none; cursor: pointer; font-size: 12px; }
.auth-demo summary::before { content: '+'; font-size: 16px; width: 10px; }
.auth-demo[open] summary::before { content: '−'; }
.auth-demo dl { margin: 10px 0 12px; font-size: 12px; }
.auth-demo dl > div { display: grid; grid-template-columns: 40px 1fr; gap: 10px; }
.auth-demo dd { margin: 0; font-family: var(--font-code,monospace); color: #434d5b; overflow-wrap: anywhere; }
.auth-demo .auth-button { min-height: 36px; padding: 6px 11px; font-size: 13px; }
.auth-account-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; border-bottom: 1px solid var(--auth-rule); padding-bottom: 17px; margin: 0 0 22px; font-size: 12px; color: var(--auth-secondary); }
.auth-account-line strong { color: var(--auth-ink); font-family: var(--font-code,monospace); font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.auth-account-line .auth-button { margin-left: auto; min-height: 32px; border: 0; padding: 4px 0 4px 10px; color: #2554b8; font-size: 13px; }
.auth-code-input { font-family: var(--font-code,monospace); font-size: 22px !important; letter-spacing: .35em; font-variant-numeric: tabular-nums; }
.auth-help { color: var(--auth-secondary); font-size: 12px; line-height: 1.75; margin: -9px 0 20px !important; }
.auth-help-tight { margin-top: -11px !important; margin-bottom: 17px !important; }
.auth-help code { color: #414b59; font-size: 12px; }
.auth-steps { display: flex; list-style: none; margin: 0 0 29px; padding: 0 0 15px; border-bottom: 1px solid var(--auth-rule); justify-content: space-between; gap: 12px; }
.auth-steps li { color: #747d89; font-size: 12px; line-height: 1.5; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.auth-steps li span { font-family: var(--font-code,monospace); font-size: 11px; }
.auth-steps li[aria-current] { color: #202b3c; font-weight: 600; }
.auth-steps li.complete { color: #16845a; }
.auth-steps + .auth-form-heading .auth-section-label { display: none; }
.auth-binding { padding: 16px; border: 1px solid var(--auth-rule); background: #fafbfc; margin-bottom: 24px; }
.auth-binding-heading { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; justify-content: space-between; }
.auth-binding strong { font-size: 13px; font-weight: 500; }
.auth-binding-heading span { font-size: 11px; color: var(--auth-secondary); }
.auth-binding-value { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.auth-binding code { display: block; font-size: 16px; line-height: 1.5; margin: 0; color: #313b48; letter-spacing: .02em; overflow-wrap: anywhere; user-select: all; }
.auth-binding .auth-button { font-size: 13px; min-height: 32px; padding: 5px 10px; }
.auth-binding p { font-size: 11px; color: var(--auth-secondary); margin-top: 12px; line-height: 1.65; }
.auth-totp-qr { display: flex; justify-content: center; margin: 14px 0 18px; padding: 14px; background: #fff; border: 1px solid var(--auth-rule); }
.auth-totp-qr svg { width: 196px; height: 196px; display: block; }
.auth-recovery-codes { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.auth-recovery-codes li { margin: 0; }
.auth-recovery-codes code { font-size: 14px; letter-spacing: .06em; user-select: all; }
.auth-form-card.auth-form-wide { max-width: 480px; }
.auth-completion-summary { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--auth-rule); border-bottom: 1px solid var(--auth-rule); padding: 17px 0; margin-bottom: 24px; }
.auth-complete-mark { color: #16845a; font-size: 20px; width: 26px; text-align: center; }
.auth-completion-summary strong { font-size: 14px; font-weight: 500; }
.auth-completion-summary p { color: var(--auth-secondary); font-size: 12px; margin-top: 3px; }
.auth-recovery-guide { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 18px; }
.auth-recovery-guide li { display: flex; gap: 15px; }
.auth-recovery-guide li > span { font-family: var(--font-code,monospace); font-size: 11px; color: var(--auth-secondary); padding-top: 2px; }
.auth-recovery-guide strong { font-size: 13px; font-weight: 500; }
.auth-recovery-guide p { color: var(--auth-secondary); font-size: 12px; margin-top: 3px; }
.auth-acknowledgement { padding: 16px 0; border-top: 1px solid var(--auth-rule); margin-bottom: 6px; }
.auth-recovery-notice { border-left: 2px solid #858d98; padding: 2px 0 2px 15px; margin-bottom: 26px; }
.auth-recovery-notice strong { font-size: 13px; font-weight: 500; }
.auth-recovery-notice p { color: var(--auth-secondary); font-size: 12px; margin-top: 6px; line-height: 1.8; }
.auth-request-reference { padding: 16px 0; border-top: 1px solid var(--auth-rule); border-bottom: 1px solid var(--auth-rule); display: grid; grid-template-columns: 1fr auto; gap: 7px 8px; }
.auth-request-reference > span { color: var(--auth-secondary); font-size: 12px; grid-column: 1 / -1; }
.auth-request-reference strong { font-family: var(--font-code,monospace); font-size: 13px; align-self: center; font-weight: 500; overflow-wrap: anywhere; }
.auth-request-reference .auth-button { font-size: 13px; min-height: 32px; padding: 4px 9px; }
.auth-request-facts { margin: 18px 0 26px; display: grid; gap: 7px; font-size: 12px; }
.auth-request-facts > div { display: grid; grid-template-columns: 74px 1fr; gap: 12px; }
.auth-request-facts dt { color: var(--auth-secondary); }
.auth-request-facts dd { margin: 0; overflow-wrap: anywhere; }
.auth-request-progress { margin: 0 0 28px; padding: 0; list-style: none; }
.auth-request-progress li { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.auth-request-progress li:last-child { padding-bottom: 0; }
.auth-request-progress li:not(:last-child)::before { content: ''; position: absolute; left: 3px; top: 16px; bottom: -4px; width: 1px; background: var(--auth-rule); }
.auth-request-progress li > span { width: 7px; height: 7px; margin-top: 7px; border: 1px solid #929ba8; border-radius: 50%; background: #fff; flex: none; z-index: 1; }
.auth-request-progress li.complete > span { background: #16845a; border-color: #16845a; }
.auth-request-progress li.current > span { border: 2px solid #9b6800; }
.auth-request-progress strong { font-size: 13px; font-weight: 500; }
.auth-request-progress p { font-size: 12px; color: var(--auth-secondary); margin-top: 3px; }
.auth-centered { text-align: center; margin-top: 13px !important; margin-bottom: 0 !important; }
.auth-footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 48px; font-size: 11px; color: var(--auth-secondary); }
@media (min-width: 901px) and (max-height: 800px) {
  .auth-header { padding-top: 20px; padding-bottom: 16px; }
  .auth-layout { padding: 20px 0 24px; }
  .auth-intro h1 { font-size: 40px; }
  .auth-principles { margin-top: 29px; margin-bottom: 24px; }
  .auth-principles li { padding: 14px 0; }
  .auth-form-heading { margin-bottom: 22px; }
  .auth-steps { margin-bottom: 22px; }
  .auth-field { margin-bottom: 16px; }
  .auth-footer { padding-top: 16px; padding-bottom: 16px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .auth-layout { width: calc(100% - 80px); grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .auth-intro { padding-right: 40px; }
  .auth-form-side { padding-left: 40px; }
  .auth-intro h1 { font-size: 37px; }
  .auth-principles p { max-width: 22em; }
}
@media (max-width: 900px) {
  .auth-view .main { padding: 0; }
  .auth-header { padding: 24px 28px; }
  .auth-layout { width: min(440px,calc(100% - 48px)); display: block; padding: 30px 0 42px; }
  .auth-intro { display: none; }
  .auth-form-side { border: 0; padding: 0; min-height: 0; }
  .auth-form-card { max-width: 400px; }
  .auth-form-heading h2 { font-size: 29px; }
  .auth-footer { padding: 20px 28px; }
  .auth-footer > span:last-child { display: none; }
  .auth-options a, .auth-secondary-entry a { min-height: 44px; }
  .auth-demo summary { min-height: 44px; }
  .auth-demo .auth-button, .auth-binding .auth-button, .auth-request-reference .auth-button, .auth-account-line .auth-button { min-height: 44px; }
  .auth-check { min-height: 28px; align-items: center; }
  .auth-check input { margin-top: 0; }
}
@media (max-width: 480px) {
  .auth-header { padding: 18px 20px; }
  .auth-brand > span { gap: 8px; }
  .auth-brand svg { width: 38px; height: 38px; }
  .auth-brand strong { font-size: 22px; }
  .auth-brand small { font-size: 12px; }
  .auth-layout { width: calc(100% - 40px); padding: 24px 0 26px; margin-top: 0; margin-bottom: auto; }
  .auth-form-heading { margin-bottom: 25px; }
  .auth-form-heading h2 { font-size: 28px; }
  .auth-form-heading > p:last-child { font-size: 14px; }
  .auth-shell .auth-field input, .auth-shell .auth-field select, .auth-shell .auth-field textarea { font-size: 16px; }
  .auth-options { gap: 8px; margin-bottom: 17px; }
  .auth-options a, .auth-check, .auth-secondary-entry { font-size: 12px; }
  .auth-field { margin-bottom: 19px; }
  .auth-demo { margin-top: 22px; }
  .auth-steps { gap: 9px; margin-bottom: 24px; }
  .auth-steps li { gap: 5px; font-size: 11px; }
  .auth-binding { padding: 14px; margin-bottom: 21px; }
  .auth-binding code { font-size: 16px; }
  .auth-footer { padding: 18px 20px; }
  .auth-environment { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .auth-shell * { scroll-behavior: auto !important; } }
