/* TAU authentication with the composition of the supplied Osmo reference. */
.auth-page--osmo { min-height: 100svh; margin: 0; background: #20151c; color: #efeeee; }
.auth-page--osmo::before { content: ''; position: fixed; inset: 0; width: 1px; margin-inline: auto; background: #ffffff06; pointer-events: none; }
.auth-page--osmo .site-header { background: #20151c; border-bottom-color: #ffffff0d; }
.auth-page--osmo .site-header__inner { min-height: 76px; }
.auth-page--osmo .site-brand__logo img { filter: brightness(0) invert(1); }
.auth-page--osmo .site-brand__platform,.auth-page--osmo .site-header__controls summary { color: #f0dce6; }
.auth-page--osmo .site-header__controls summary:hover { background: #ffffff0d; }
.auth-page--osmo .auth-page__main { position: relative; display: flex; flex-direction: column; align-items: center; min-height: calc(100svh - 76px); padding: 72px 20px 48px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 42%,#39232f 0,#20151c 70%); }
.auth-page--osmo .auth-page__main > :is(h1,form,p) { z-index: 2; }
.auth-page--osmo .auth-page__main > h1,.auth-page--osmo .auth-card__switch { position: relative; }
.auth-page--osmo .auth-card__forgot { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 12px 0 -10px; color: #49313f; font-size: 14px; text-decoration: none; }
.auth-page--osmo .auth-card__forgot:hover { color: #752047; }
.auth-page--osmo h1 { max-width: 100%; margin: 0 0 42px; color: #efeeee; font-size: clamp(36px,4.2vw,54px); font-weight: 560; line-height: 1.06; letter-spacing: -.055em; text-align: center; overflow-wrap: anywhere; }
.auth-page--osmo .auth-card { position: relative; width: min(100%,392px); margin: 0; padding: 30px; border: 0; border-radius: 15px; background: #f4f4f4; color: #222; box-shadow: none; }
.auth-page--osmo .auth-card__row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.auth-page--osmo .auth-field { min-width: 0; margin: 0 0 14px; }
.auth-page--osmo .auth-field > label { display: block; margin: 0 0 8px; color: #49313f; font-family: inherit; font-size: 15px; font-weight: 650; line-height: 1.4; }
.auth-page--osmo .auth-field input { display: block; width: 100%; min-width: 0; min-height: 45px; margin: 0; padding: 10px 12px; border: 1px solid #d3d3d3; border-radius: 0; background: #e8e8e8; color: #222; font: inherit; font-size: 16px; line-height: 1.4; box-shadow: none; transition: background 220ms ease,border-color 220ms ease,box-shadow 220ms ease; }
.auth-page--osmo .auth-field input:hover { background: #e2e2e2; }
.auth-page--osmo .auth-field input:focus-visible { outline: 2px solid #752047; outline-offset: 2px; border-color: #752047; background: #f3edf0; box-shadow: 0 0 0 5px #7520470c; }
.auth-page--osmo .auth-field input[aria-invalid=true] { border-color: #a22d41; }
.auth-page--osmo .auth-field input:-webkit-autofill { -webkit-text-fill-color: #222; -webkit-box-shadow: 0 0 0 1000px #e8e8e8 inset; }
.auth-page--osmo .auth-password { position: relative; padding-bottom: 32px; }
.auth-page--osmo .auth-password__toggle { position: absolute; right: 0; bottom: -5px; min-height: 36px; min-width: 90px; padding: 8px 0 8px 10px; border: 0; border-radius: 0; background: transparent; color: #686868; font: inherit; font-size: 14px; text-align: right; cursor: pointer; }
.auth-page--osmo .auth-password__toggle:hover { color: #222; text-decoration: underline; }
.auth-page--osmo .auth-field__help, .auth-page--osmo .auth-password-detail { margin: 6px 0 0; color: #626262; font-size: 13px; line-height: 1.5; }
.auth-page--osmo .auth-password-detail summary { width: fit-content; min-height: 28px; padding: 5px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.auth-page--osmo .auth-password-detail p { margin-top: 6px; }
.auth-page--osmo .auth-field__error { margin: 8px 0 0; color: #9b2138; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.auth-page--osmo .auth-card__role-note { margin: 0 0 18px; color: #626262; font-size: 14px; line-height: 1.5; }
.auth-page--osmo .auth-card__submit { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 11px 16px; border: 0; border-radius: 2px; background: #752047; color: #fff; font: inherit; font-size: 14px; font-weight: 690; line-height: 1.5; cursor: pointer; transition: background 220ms ease,box-shadow 220ms ease,transform 220ms cubic-bezier(.22,1,.36,1); }
.auth-page--osmo .auth-card__submit:hover:not(:disabled) { background: #571733; transform: translateY(-2px); box-shadow: 0 6px 16px #75204725; }
.auth-page--osmo .auth-card__submit:active:not(:disabled) { transform: translateY(0) scale(.99); box-shadow: none; transition-duration: 90ms; }
.auth-page--osmo .auth-card__submit:disabled { background: #85516a; cursor: wait; }
.auth-page--osmo .auth-submit-arrow { display: none; }
.auth-page--osmo .auth-submit-spinner { width: 16px; height: 16px; border: 2px solid #ffffff65; border-top-color: #fff; border-radius: 50%; animation: auth-osmo-spin 800ms linear infinite; }
.auth-page--osmo .auth-submit-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.auth-page--osmo .auth-card__switch { margin: 16px 0 0; color: #aaa; font-size: 14px; line-height: 1.6; text-align: center; }
.auth-page--osmo .auth-card__switch a { display: inline-flex; align-items: center; min-height: 44px; color: #eee; text-decoration: underline; text-underline-offset: 3px; }
.auth-page--osmo .auth-card__alert { margin: 0 0 18px; padding: 12px; border: 1px solid #e1b2bd; border-radius: 3px; background: #ffedf1; color: #8b2138; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.auth-page--osmo .auth-card__alert--success { background: #eaf5ef; color: #275c43; border-color: #b9d8c8; }
.auth-page--osmo :is(a,button,summary,.auth-card__alert):focus-visible { outline: 2px solid #b46b8a; outline-offset: 3px; }
.auth-page--osmo [hidden] { display: none !important; }
@keyframes auth-osmo-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .auth-page--osmo .site-header__inner { min-height: 66px; }
  .auth-page--osmo .auth-page__main { min-height: calc(100svh - 66px); }
  .auth-page--osmo .auth-page__main { padding: 56px 16px 32px; }
  .auth-page--osmo h1 { margin-bottom: 30px; font-size: 36px; }
  .auth-page--osmo .auth-card { padding: 26px 24px; }
  .auth-page--osmo .auth-card__row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 380px) { .auth-page--osmo .site-brand__platform { display: none; } .auth-page--osmo .site-brand__logo img { width: 64px; } }
@media (max-height: 650px) and (min-width: 601px) { .auth-page--osmo .auth-page__main { padding-top: 42px; } .auth-page--osmo h1 { margin-bottom: 26px; } }
/* The form is interactive throughout its entrance; typing ends the entrance immediately. */
.auth-page--osmo .auth-page__main > h1 { animation: auth-title-enter 420ms cubic-bezier(.22,1,.36,1) both; }
.auth-page--osmo .auth-card { animation: auth-panel-enter 460ms cubic-bezier(.22,1,.36,1) both; }
.auth-page--osmo .auth-card:focus-within { animation: none; }
.auth-page--osmo .auth-card__switch { animation: auth-caption-enter 500ms ease-out both; }
.auth-page--osmo .auth-field > label { transition: color 180ms ease; }
.auth-page--osmo .auth-field:focus-within > label { color: #752047; }
.auth-page--osmo .auth-password__toggle { transition: color 180ms ease,opacity 180ms ease; }
.auth-page--osmo .auth-password__toggle[aria-pressed=true] { color: #752047; }
.auth-page--osmo :is(.auth-card__switch a,.auth-card__forgot) { background-image: linear-gradient(currentColor,currentColor); background-position: center calc(100% - 8px); background-size: 0 1px; background-repeat: no-repeat; text-decoration: none; transition: color 180ms ease,background-size 240ms cubic-bezier(.22,1,.36,1); }
.auth-page--osmo :is(.auth-card__switch a,.auth-card__forgot):is(:hover,:focus-visible) { background-size: 100% 1px; }
.auth-page--osmo :is(.auth-field__error,.auth-card__alert) { animation: auth-message-enter 200ms ease-out; }
.auth-page--osmo .auth-card__submit::after { content: ''; position: absolute; z-index: -1; inset: 0; opacity: 0; background: linear-gradient(110deg,transparent 20%,#ffffff18 50%,transparent 80%); background-size: 240% 100%; pointer-events: none; transition: opacity 180ms ease; }
.auth-page--osmo .auth-card__submit[aria-busy=true]::after { opacity: 1; animation: auth-pending 1.6s ease-in-out infinite; }
@keyframes auth-title-enter { from { opacity: .25; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes auth-panel-enter { from { opacity: .45; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes auth-caption-enter { from { opacity: .2; } to { opacity: 1; } }
@keyframes auth-message-enter { from { opacity: .3; } to { opacity: 1; } }
@keyframes auth-pending { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Auth navigation morphs the existing panel instead of replacing the document. */
.auth-page--osmo:is(.auth-switching,.auth-navigated) .auth-page__main > h1,
.auth-page--osmo:is(.auth-switching,.auth-navigated) .auth-card,
.auth-page--osmo:is(.auth-switching,.auth-navigated) .auth-card__switch { animation: none; }
.auth-page--osmo.auth-switching .auth-card { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .auth-page--osmo .auth-page__main > h1,.auth-page--osmo .auth-card,.auth-page--osmo .auth-card__switch { animation: auth-caption-enter 140ms ease-out both; }
  .auth-page--osmo .auth-card:focus-within { animation: none; }
  .auth-page--osmo .auth-submit-spinner,.auth-page--osmo .auth-card__submit[aria-busy=true]::after { animation: none; }
  .auth-page--osmo .auth-card__submit:is(:hover,:active) { transform: none; }
  .auth-page--osmo input,.auth-page--osmo button { transition-duration: 100ms; }
}
