.login-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(4,18,38,.97), rgba(14,57,102,.94)), url('./assets/hero-banner.jpg') center / cover no-repeat;
}
.login-gate.visible { display: grid; }
.login-card {
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  color: white;
  background: rgba(7,25,49,.88);
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
  backdrop-filter: blur(14px);
}
.login-card h1 { margin: 0 0 10px; font-size: clamp(1.65rem, 5vw, 2.15rem); }
.login-card > p:not(.eyebrow):not(.login-status) { margin: 0 0 20px; color: #d8e8f8; line-height: 1.6; }
.login-card label { display: grid; gap: 7px; margin-top: 13px; font-weight: 750; }
.login-card input { height: 44px; border-color: rgba(255,255,255,.28); color: white; background: rgba(255,255,255,.1); }
.login-card input::placeholder { color: rgba(255,255,255,.6); }
.login-card button[type='submit'] { width: 100%; margin-top: 20px; background: #d39a32; }
.login-card button[type='submit']:hover { background: #b77d18; }
.login-status { min-height: 1.4em; margin: 12px 0 0; color: #ffd9d9; font-size: .88rem; }
.hero-user-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.buyer-user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 11px 9px 14px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 12px;
  color: #f4f8ff;
  background: rgba(4,18,38,.42);
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  backdrop-filter: blur(10px);
  font-size: .84rem;
}
.buyer-user-menu[hidden] { display: none; }
.buyer-user-menu strong { color: #ffffff; }
.buyer-user-menu .secondary { min-height: 34px; padding: 6px 11px; background: rgba(255,255,255,.13); }
.quick-action-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.new-request-button {
  flex: 0 0 auto;
  min-width: 148px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #7454c5;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, #7c5ce0, #5d3db7);
  box-shadow: 0 7px 18px rgba(91,61,181,.24);
}
.new-request-button:hover {
  color: white;
  background: linear-gradient(135deg, #6f4fd1, #4f319f);
  box-shadow: 0 9px 22px rgba(78,49,159,.3);
}
.dialog-field { display: grid; gap: 7px; margin-top: 14px; font-size: .88rem; font-weight: 750; }
.request-user-line { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; color: #3e566f; background: #edf3f8; }
#newProcurementStatus { min-height: 1.35em; margin-top: 10px; }
footer .copyright { margin-top: 8px; font-size: .78rem; opacity: .72; }
@media (max-width: 760px) {
  .hero-user-row { align-items: flex-start; flex-direction: column; }
  .buyer-user-menu { width: 100%; justify-content: space-between; }
  .quick-action-row { align-items: stretch; flex-direction: column; }
  .new-request-button { width: 100%; min-width: 0; }
}