.access-gate-overlay {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 18px;
  background: rgba(12, 24, 54, .58);
  backdrop-filter: blur(8px);
}
.access-gate-overlay[hidden] { display: none; }
.access-gate-open { overflow: hidden; }
.access-gate-modal {
  position: relative;
  width: min(390px, 100%);
  padding: 30px 27px 25px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 24px;
  color: #26324a;
  background: linear-gradient(150deg, #fff, #f5f8ff);
  box-shadow: 0 28px 90px rgba(7, 17, 44, .4);
  text-align: center;
  animation: access-gate-in .2s ease both;
}
.access-gate-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #68758d;
  background: #eef2f8;
  font-size: 22px;
  line-height: 1;
}
.access-gate-close:hover { color: #2b3955; background: #e3e9f3; }
.access-gate-modal__eyebrow { display: block; color: #3975ef; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.access-gate-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 15px auto 13px;
  place-items: center;
  border: 1px solid #d8e5ff;
  border-radius: 16px;
  color: #3777f3;
  background: #edf4ff;
  box-shadow: 0 8px 18px rgba(52, 111, 232, .12);
  font: 900 29px/1 system-ui, sans-serif;
}
.access-gate-modal h2 { margin: 0; color: #24314c; font-size: 23px; line-height: 1.28; letter-spacing: -.025em; }
.access-gate-modal > p { margin: 10px 4px 0; color: #71809a; font-size: 13px; line-height: 1.65; }
.access-gate-frequency { display: inline-flex; margin-top: 13px; padding: 6px 10px; border-radius: 999px; color: #3e649d; background: #edf4ff; font-size: 11px; font-weight: 800; }
.access-gate-contact { margin-top: 13px; padding: 12px; border: 1px solid #cfe1ff; border-radius: 14px; background: linear-gradient(135deg, #f6faff, #edf5ff); text-align: left; }
.access-gate-contact__eyebrow { display: block; margin-bottom: 4px; color: #5b82ca; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.access-gate-contact strong { display: block; color: #2e4774; font-size: 13px; line-height: 1.35; }
.access-gate-contact__value-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.access-gate-contact code { min-width: 0; flex: 1; overflow: hidden; color: #203d70; font: 800 14px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.access-gate-contact button { flex: 0 0 auto; min-height: 31px; padding: 0 10px; border: 0; border-radius: 9px; color: #fff; background: #3975ef; font-size: 11px; font-weight: 800; }
.access-gate-contact small { display: block; margin-top: 7px; color: #7184a4; font-size: 10px; line-height: 1.45; }
.access-gate-contact-fallback { margin-top: 13px !important; padding: 9px 11px; border: 1px solid #dce6f4; border-radius: 11px; color: #6a7891 !important; background: #f8faff; font-size: 11px !important; }
.access-gate-form { display: grid; gap: 11px; margin-top: 18px; text-align: left; }
.access-gate-form label { display: grid; gap: 7px; color: #3d4d6a; font-size: 12px; font-weight: 800; }
.access-gate-form input {
  width: 100%;
  min-height: 45px;
  padding: 11px 12px;
  border: 1px solid #d8e1ef;
  border-radius: 12px;
  outline: 0;
  color: #26344f;
  background: #fff;
  font: inherit;
}
.access-gate-form input:focus { border-color: #5f91f3; box-shadow: 0 0 0 3px rgba(57, 117, 239, .14); }
.access-gate-form button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #3f7df0, #2f68dd);
  box-shadow: 0 9px 18px rgba(47, 104, 221, .2);
  font-size: 13px;
  font-weight: 900;
}
.access-gate-form button:disabled { opacity: .7; cursor: wait; }
.access-gate-status { min-height: 20px; color: #8b5f31 !important; font-size: 11px !important; font-weight: 700; }
.access-gate-modal > small { display: block; margin-top: 6px; color: #99a5ba; font-size: 10px; line-height: 1.5; }
@keyframes access-gate-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 520px) {
  .access-gate-overlay { align-items: end; padding: 12px; }
  .access-gate-modal { width: 100%; padding: 28px 22px 22px; border-radius: 22px; }
  .access-gate-modal h2 { font-size: 22px; }
  .access-gate-contact { padding: 11px; }
}
