html.auth-locked body > *:not(.password-gate){
  display:none !important;
}

.password-gate{
  position:fixed;
  inset:0;
  z-index:999999;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:linear-gradient(135deg,#071a34 0%,#0d2c56 55%,#153a6a 100%);
  color:#ffffff;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.password-gate-card{
  width:min(420px,100%);
  background:rgba(255,255,255,.98);
  color:#10213d;
  border:1px solid rgba(218,171,62,.45);
  border-top:5px solid #d7a62f;
  border-radius:24px;
  box-shadow:0 26px 80px rgba(0,0,0,.36);
  padding:30px;
}

.password-gate-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  color:#b47c13;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.76rem;
}

.password-gate h1{
  margin:0 0 10px;
  font-size:clamp(1.85rem,6vw,2.5rem);
  line-height:1.04;
  color:#0b2344;
}

.password-gate p{
  margin:0 0 20px;
  color:#4a5a73;
  line-height:1.55;
}

.password-gate label{
  display:block;
  margin-bottom:8px;
  color:#0b2344;
  font-weight:850;
}

.password-gate-input{
  width:100%;
  box-sizing:border-box;
  border:1px solid #d7dfeb;
  border-radius:14px;
  padding:14px 15px;
  font-size:1rem;
  color:#10213d;
  outline:none;
  background:#f8fafc;
}

.password-gate-input:focus{
  border-color:#d7a62f;
  box-shadow:0 0 0 4px rgba(215,166,47,.16);
  background:#ffffff;
}

.password-gate-button{
  width:100%;
  margin-top:14px;
  border:0;
  border-radius:14px;
  padding:14px 18px;
  background:#0b2344;
  color:#f7d987;
  font-weight:900;
  font-size:1rem;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(11,35,68,.22);
}

.password-gate-button:hover,
.password-gate-button:focus{
  background:#123764;
}

.password-gate-error{
  display:none;
  margin-top:12px;
  color:#a92828;
  font-weight:750;
}

.password-gate-error.is-visible{
  display:block;
}
