.site-header {
  color: #fff !important;
  background: rgba(15, 15, 16, 0.78) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(22px);
}

.site-header .brand {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
  font-weight: 800 !important;
  white-space: nowrap;
}

.site-header .brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  flex: 0 0 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
}

.site-header .brand-mark svg {
  width: 15px;
  height: 15px;
}

.site-header .site-nav {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 24px) !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.92rem !important;
}

.site-header .site-nav a {
  color: inherit;
  padding: 6px 0;
}

.site-header .site-nav a:hover {
  color: #fff;
}

.site-header .site-nav .nav-logout {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
}

.site-header .site-nav .nav-logout:hover {
  background: rgba(255, 255, 255, 0.19);
}

.auth-card {
  width: min(560px, 100%) !important;
  display: grid !important;
  gap: 12px !important;
  padding: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--radius, 8px) !important;
  background: rgba(15, 15, 16, 0.72) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32) !important;
  backdrop-filter: blur(22px);
}

.auth-card h1 {
  margin: 0 0 10px !important;
  font-size: 2rem !important;
  line-height: 1 !important;
}

.auth-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72) !important;
}

.auth-card .field span {
  color: rgba(255, 255, 255, 0.72) !important;
}

.auth-card input {
  width: 100%;
  min-height: 46px;
  margin: 4px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius, 8px);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink, #101012);
  padding: 10px 12px;
}

.auth-card input[readonly] {
  cursor: default;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  text-align: center;
}

.auth-keypad {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 4px;
}

.auth-keypad button {
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius, 8px);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink, #101012);
  font-size: 1.1rem;
  font-weight: 850;
}

.auth-keypad button:active {
  transform: translateY(1px);
}

.auth-keypad .wide {
  grid-column: span 2;
}

.auth-keypad .submit {
  background: var(--accent, #d43228);
  color: #fff;
}

.auth-error {
  min-height: 22px;
  margin: 0;
  color: #ffb3ad !important;
  font-size: 0.92rem;
  font-weight: 700;
}
