@font-face { font-family: Entrance; src: url('/auth/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
.office-entrance, .office-entrance * { box-sizing: border-box; }
body:has(.office-entrance) { margin: 0; background: #11203a; }
.office-entrance {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  width: min(100%, 620px); min-height: 100svh; margin-inline: auto; overflow: hidden;
  padding: min(54.6vw, 339px) clamp(13px, 3.6vw, 23px) 26px;
  color: #101a2b; background: linear-gradient(148deg, #f2f5fb, #fff 64%, #e9edf5);
  font: 16px/1.35 Entrance, Manrope, system-ui, sans-serif;
}
.entrance-scene {
  position: absolute; z-index: -1; inset: 0 0 auto; width: 100%; aspect-ratio: 720 / 403;
  background: linear-gradient(180deg, transparent 58%, #f7faff8c 100%), #102142 url('/auth/entrance.jpg') center top / 100% auto no-repeat;
}
.entrance-card {
  position: relative; display: grid; gap: clamp(11px, 3.3vw, 22px);
  border: 1px solid #fff; border-radius: clamp(22px, 6vw, 39px);
  padding: clamp(17px, 5.6vw, 36px) clamp(16px, 5.5vw, 34px) clamp(22px, 8.6vw, 54px);
  background: linear-gradient(142deg, #fff, #f7f9fd 54%, #fff);
  box-shadow: 0 15px 25px #21375a15, 1px 3px 0 #fff9 inset;
}
.office-entrance::after {
  content: ''; z-index: -1; position: absolute; inset: 75% -5% auto; height: 11%;
  border-bottom: 2px solid #1c55ce; border-radius: 0 0 14% 4%; transform: rotate(-9deg);
  background: linear-gradient(175deg, transparent 60%, #b3c8e26b); box-shadow: 0 12px 23px #2d4c7026;
}
.entrance-key { display: grid; place-items: center; width: clamp(40px, 11vw, 66px); aspect-ratio: 1; border-radius: 22%;
  border: 1px solid #c8caed; color: #0028ba; background: linear-gradient(145deg, #f0f0fe, #e3e5ff);
  box-shadow: 0 3px 1px #65748a43; }
.office-entrance svg { width: 22px; height: 22px; flex: none; }
.entrance-key svg { width: 57%; height: 57%; stroke-width: 2; }
.entrance-card h1 { margin: 0; font-size: clamp(24px, 7vw, 42px); line-height: 1.09; font-weight: 820; letter-spacing: -.053em; }
.entrance-card p { margin: 0; }
.entrance-intro { color: #384254; font-size: clamp(13px, 3.55vw, 20px); margin-top: 7px !important; }
.entrance-form { display: grid; gap: 6px; min-width: 0; }
.entrance-form > label { font-size: clamp(13px, 3.5vw, 19px); font-weight: 800; }
.entrance-input { display: flex; align-items: stretch; min-width: 0; border: 1px solid #737e94; border-radius: 8px; background: #fff9; }
.entrance-input:focus-within { outline: 2px solid #2456dc; outline-offset: 1px; }
.office-entrance .entrance-input input { flex: 1; min-width: 0; padding: 0 10px; min-height: 44px; border: 0; outline: 0; color: inherit; background: transparent; font: inherit; }
.entrance-input input::placeholder { color: #606c80; }
.entrance-input button { border: 0; border-inline-start: 1px solid #dbe2ef; display: inline-flex; align-items: center; justify-content: center;
  gap: 3px; min-width: 44px; min-height: 44px; padding-inline: clamp(5px, 1.55vw, 10px); font: inherit; font-size: .83em; color: #133e70; background: none; cursor: pointer; }
.entrance-input button:hover { background: #e9ecfb; }
.entrance-input button svg { width: 17px; height: 17px; }
.entrance-submit { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: clamp(44px, 11vw, 62px); margin-top: clamp(10px, 3.1vw, 20px);
  border: 1px solid #1e53e3; border-radius: 8px; box-shadow: 0 6px 14px #171f6230; background: linear-gradient(175deg,#0855ff,#0624cb);
  color: #fff; font: inherit; font-size: clamp(15px, 4.25vw, 24px); font-weight: 800; cursor: pointer; }
.entrance-submit:hover { background: linear-gradient(170deg,#1465ff,#142bc3); }
.entrance-submit:disabled { opacity: .65; cursor: wait; }
.office-entrance :is(button, a):focus-visible { outline: 2px solid #2456dc; outline-offset: 3px; }
.entrance-contact { justify-self: center; color: #1238b0; text-underline-offset: 3px; font-size: clamp(12px, 3.4vw, 18px); }
.entrance-status { font-size: .84em; color: #8a2a36; }
.entrance-status:empty, .entrance-input button[hidden] { display: none; }
.entrance-footer { display: flex; align-items: center; justify-content: center; gap: 11px; margin: auto 7% 0; padding-top: clamp(54px, 17vw, 110px);
  color: #52525a; font-size: clamp(11px, 3.15vw, 18px); letter-spacing: .07em; text-align: center; }
.entrance-footer::before, .entrance-footer::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #a1afc4); }
.entrance-footer::after { transform: rotate(180deg); }
@media (min-width: 760px) {
  body:has(.office-entrance) { background: radial-gradient(ellipse at 48% 5%, #284a80, #101e36 68%); }
  .office-entrance { min-height: min(100svh, 980px); }
}
