/* URSA access screen. Isolated from dashboard cards and global form controls. */
body.graphite-theme .auth-overlay {
  padding: 0;
  height: 100dvh;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  align-items: stretch;
  overflow-y: auto;
}
.auth-brand-panel {
  position: relative;
  flex: 0 0 44%;
  min-height: 640px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f3f3f1;
  color: #262626;
  overflow: hidden;
}
.auth-brand-panel::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -330px;
  bottom: 85px;
  border: 1px solid #dededb;
  border-radius: 50%;
  box-shadow: 0 0 0 48px #f3f3f1, 0 0 0 49px #e4e4e1, 0 0 0 96px #f3f3f1, 0 0 0 97px #e9e9e6;
  pointer-events: none;
  z-index: 0;
}
.auth-brand,.auth-mobile-brand { position: relative; z-index: 1; font-size: 30px; font-weight: 750; letter-spacing: .16em; line-height: 1.1; }
.auth-brand span,.auth-mobile-brand span { display: block; font-size: 9px; font-weight: 500; letter-spacing: .28em; margin-top: 10px; }
.auth-brand-message { position: relative; z-index: 1; padding: 60px 0; }
.auth-eyebrow { color: #777; font-size: 10px; letter-spacing: .17em; font-weight: 500; }
.graphite-theme .auth-brand-message h2 { color: #2b2b2b; font-size: clamp(32px, 3.4vw, 52px); font-weight: 550; line-height: 1.2; letter-spacing: -.045em; margin: 24px 0; }
.auth-brand-message p { color: #727272; font-size: 14px; line-height: 1.8; }
.auth-brand-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #858585; font-size: 9px; letter-spacing: .15em; }
body.graphite-theme .auth-card {
  flex: 0 1 390px;
  align-self: center;
  width: 100%;
  max-width: 390px;
  margin: 56px auto;
  padding: 0 16px;
  background: #fff;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  animation: none;
}
.auth-mobile-brand { display: none; }
.graphite-theme .auth-card-header { text-align: left; margin-bottom: 42px; }
.graphite-theme .auth-card-header h2 { font-size: 34px; font-weight: 600; letter-spacing: -.045em; margin: 14px 0 10px; }
.graphite-theme .auth-subtitle { color: #7a7a7a; font-size: 13px; line-height: 1.7; margin: 0; }
.graphite-theme #login-form .form-group { margin-bottom: 26px; }
.graphite-theme #login-form .form-group label { color: #333; font-size: 12px; font-weight: 550; margin-bottom: 5px; }
body.graphite-theme #login-form :is(#login-username,#login-password) {
  min-height: 48px;
  padding-top: 10px;
  padding-bottom: 12px;
  font-size: 14px;
  color: #222;
  transition: border-color .15s ease;
}
.graphite-theme #login-form input::placeholder { color: #969696; }
.graphite-theme .auth-options { margin: 30px 0; }
.graphite-theme .auth-options .checkbox-container { font-size: 12px; color: #707070; gap: 9px; }
body.graphite-theme #btn-login-submit { min-height: 48px; font-size: 13px; font-weight: 550; border-radius: 6px; background: #252525 !important; transform: none; }
body.graphite-theme #btn-login-submit:hover { background: #404040 !important; }
.graphite-theme .auth-card-footer { margin-top: 28px; text-align: left; font-size: 11px; color: #929292; border: 0; }
.graphite-theme .auth-error-banner { background: #f6f6f6; border: 0; border-left: 2px solid #444; border-radius: 0; color: #333; font-size: 12px; }
@media (max-width: 1050px) {
  .auth-brand-panel { padding: 36px; flex-basis: 42%; }
  body.graphite-theme .auth-card { max-width: 350px; }
}
@media (max-width: 760px) {
  .auth-brand-panel { display: none; }
  body.graphite-theme .auth-overlay { padding: 36px 28px; }
  body.graphite-theme .auth-card { flex: 1; max-width: 380px; padding: 0; margin: auto; }
  .auth-mobile-brand { display: block; margin-bottom: 64px; color: #222; font-size: 25px; }
  .graphite-theme .auth-card-header { margin-bottom: 34px; }
  .graphite-theme .auth-card-header h2 { font-size: 32px; }
}
@media (max-height: 640px) {
  body.graphite-theme .auth-card { margin-top: 24px; margin-bottom: 24px; }
  .auth-mobile-brand { margin-bottom: 28px; }
}
