/* Match the dashboard rail on short screens and long registration forms. */
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-alternatives { display:grid; gap:10px; margin-top:20px; }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-alternatives[hidden] { display:none; }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-divider { display:flex; align-items:center; gap:14px; color:var(--auth-muted); font-size:13px; margin-bottom:4px; }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-divider::before,
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-divider::after { content:""; flex:1; height:1px; background:var(--auth-line,#d9dde5); }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-provider { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; min-height:44px; padding:10px 16px; border:1px solid var(--auth-line,#d9dde5); border-radius:8px; background:var(--auth-surface); color:var(--auth-ink); font:600 15px/22px "Materio Inter",sans-serif; cursor:pointer; transition:background-color 150ms cubic-bezier(.4,0,.2,1),border-color 150ms cubic-bezier(.4,0,.2,1),box-shadow 150ms cubic-bezier(.4,0,.2,1); }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-provider:hover:enabled { background:var(--auth-soft); border-color:var(--auth-blue); }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-provider:focus-visible { outline:2px solid var(--auth-blue); outline-offset:3px; }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-provider:disabled { cursor:not-allowed; opacity:.65; }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-provider svg { flex:0 0 20px; width:20px; height:20px; }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-provider-hint { margin:0 0 4px; color:var(--auth-muted); font-size:12px; line-height:18px; }
@media(max-width:959px) { html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-provider { min-height:48px; } }
:is(html:has(>body#gradientAuth.auth-reference[data-auth-skin=gradient]),body#gradientAuth.auth-reference[data-auth-skin=gradient],body#gradientAuth.auth-reference[data-auth-skin=gradient] *){--auth-scroll-thumb:color-mix(in srgb,var(--auth-muted,#64748b) 55%,transparent);scrollbar-width:thin;scrollbar-color:var(--auth-scroll-thumb) transparent;}
@media(forced-colors:none){
 @supports selector(::-webkit-scrollbar){
  :is(html:has(>body#gradientAuth.auth-reference[data-auth-skin=gradient]),body#gradientAuth.auth-reference[data-auth-skin=gradient],body#gradientAuth.auth-reference[data-auth-skin=gradient] *){scrollbar-width:auto;scrollbar-color:auto;}
  :is(html:has(>body#gradientAuth.auth-reference[data-auth-skin=gradient]),body#gradientAuth.auth-reference[data-auth-skin=gradient],body#gradientAuth.auth-reference[data-auth-skin=gradient] *)::-webkit-scrollbar{width:6px;height:6px;background:transparent;}
  :is(html:has(>body#gradientAuth.auth-reference[data-auth-skin=gradient]),body#gradientAuth.auth-reference[data-auth-skin=gradient],body#gradientAuth.auth-reference[data-auth-skin=gradient] *)::-webkit-scrollbar-track{background:transparent;border:0;}
  :is(html:has(>body#gradientAuth.auth-reference[data-auth-skin=gradient]),body#gradientAuth.auth-reference[data-auth-skin=gradient],body#gradientAuth.auth-reference[data-auth-skin=gradient] *)::-webkit-scrollbar-thumb{background:var(--auth-scroll-thumb);border:0;border-radius:999px;min-height:32px;min-width:32px;}
  :is(html:has(>body#gradientAuth.auth-reference[data-auth-skin=gradient]),body#gradientAuth.auth-reference[data-auth-skin=gradient],body#gradientAuth.auth-reference[data-auth-skin=gradient] *)::-webkit-scrollbar-thumb:hover{background:var(--auth-muted,#64748b);}
  :is(html:has(>body#gradientAuth.auth-reference[data-auth-skin=gradient]),body#gradientAuth.auth-reference[data-auth-skin=gradient],body#gradientAuth.auth-reference[data-auth-skin=gradient] *)::-webkit-scrollbar-button{display:none;width:0;height:0;}
  :is(html:has(>body#gradientAuth.auth-reference[data-auth-skin=gradient]),body#gradientAuth.auth-reference[data-auth-skin=gradient],body#gradientAuth.auth-reference[data-auth-skin=gradient] *)::-webkit-scrollbar-corner{background:transparent;}
 }
}
@media(forced-colors:active){:is(html:has(>body#gradientAuth.auth-reference[data-auth-skin=gradient]),body#gradientAuth.auth-reference[data-auth-skin=gradient],body#gradientAuth.auth-reference[data-auth-skin=gradient] *){scrollbar-color:auto;}}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-page {
  min-height: 100dvh;
  background: var(--auth-surface);
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  min-height: 100dvh;
  width: 100%;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-desktop-intro {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 0;
  margin: 0;
  padding: 100px 48px 48px;
  border: 0;
  background: var(--auth-canvas);
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-intro-copy {
  width: min(480px, 100%);
  text-align: center;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-intro-copy h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -.5px;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-intro-copy p {
  margin: 0;
  color: var(--auth-muted);
  font-size: 15px;
  line-height: 24px;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-illustration {
  display: block;
  width: min(440px, 100%);
  height: auto;
  max-height: 38dvh;
  object-fit: contain;
  border-radius: 8px;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-mobile-brand {
  position: absolute;
  z-index: 1;
  top: 40px;
  left: 48px;
  display: block;
  width: 184px;
  height: 44px;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-brand-crop {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-brand-crop img {
  position: absolute;
  left: -11.07%;
  top: -31.15%;
  width: 119.61%;
  max-width: none;
  height: 163.44%;
  object-fit: fill;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-panel {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 48px 32px;
  background: var(--auth-surface);
  border-left: 1px solid var(--auth-line);
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-form-content {
  width: 100%;
  max-width: 400px;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-panel-head {
  margin-bottom: 26px;
  text-align: left;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-panel-head h1 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: 0;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-panel-head p {
  margin: 0;
  color: var(--auth-muted);
  font-size: 15px;
  line-height: 24px;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message {
  position: fixed;
  z-index: 1000;
  top: max(20px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  bottom: auto;
  left: auto;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: min(360px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: #b42337;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(32, 20, 34, .12);
  font-family: var(--auth-font);
  font-size: 13px;
  font-weight: 450;
  line-height: 20px;
  letter-spacing: normal;
  text-align: left;
  overflow-wrap: anywhere;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message[hidden] { display: none; }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message.ok { background: #146c4f; color: #ffffff; border-color: rgba(255,255,255,.18); }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message.info { background: #1769c2; color: #ffffff; border-color: rgba(255,255,255,.18); }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.14); }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message-icon svg { display: none; width: 18px; height: 18px; }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message.error .auth-message-error,
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message.ok .auth-message-success,
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message.info .auth-message-info { display: block; }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message-copy { min-width: 0; }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message-close { display: grid; place-items: center; width: 28px; height: 28px; margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message-close svg { width: 16px; height: 16px; }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message-close:hover { background: rgba(255,255,255,.14); }
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message-close:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 599px) {
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); width: min(360px, calc(100% - 24px)); max-height: calc(100dvh - 24px); grid-template-columns: 28px minmax(0, 1fr) 36px; gap: 8px; padding: 10px; }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-message-close { width: 36px; height: 36px; }
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-switch {
  margin: 22px 0 0;
  text-align: center;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 22px;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-switch a {
  font-weight: 500;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-form-footer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--auth-line);
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 22px;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-home-link svg {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-home-link:hover {
  color: var(--auth-blue);
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-release-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 20px 0 0;
  color: var(--auth-muted);
  font-size: 11px;
  line-height: 18px;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-desktop-intro .auth-release-credit {
  margin: 0;
}
html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-release-mobile {
  display: none;
}
html[data-theme=dark] body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-brand-crop img {
  filter: none;
}
@media (min-width: 960px) and (max-width: 1199px) {
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-shell {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-desktop-intro {
    padding: 104px 32px 40px;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-panel {
    padding: 40px 28px;
  }
}
@media (max-width: 959px) {
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-shell {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    width: 100%;
    max-width: 480px;
    margin: auto;
    padding: 32px 24px 24px;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-desktop-intro {
    display: none !important;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-mobile-brand {
    position: relative;
    inset: auto;
    flex: none;
    align-self: flex-start;
    margin: 0 0 32px;
    width: 172px;
    height: 42px;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-panel {
    flex: 1;
    align-items: center;
    width: 100%;
    padding: 0;
    border-left: 0;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-form-content {
    max-width: none;
    padding: 0 0 8px;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-panel-head {
    margin-bottom: 24px;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-release-mobile {
    display: flex;
    margin-top: 24px;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .field input {
    height: 48px;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .password-toggle {
    inset-block: 0;
    min-height: 48px;
    width: 44px;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .field input.password {
    padding-right: 54px;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-submit {
    min-height: 48px;
  }
}
@media (max-width: 359px) {
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-shell {
    padding: 24px 20px 20px;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .role-picker {
    gap: 8px;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .role-option > span {
    padding: 12px 10px;
  }
}
@media (max-height: 700px) and (min-width: 960px) {
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-desktop-intro {
    gap: 20px;
    padding-top: 104px;
    padding-bottom: 32px;
  }
  html body#gradientAuth.auth-reference[data-auth-skin=gradient] .auth-illustration {
    max-height: 32dvh;
  }
}
