body:has(#gate:not([hidden])) {
  min-height:100vh; display:flex; flex-direction:column;
  background:radial-gradient(ellipse at 45% 38%,#fff 0%,#f2f5fa 65%,#e8eef6 100%);
}
body:has(#gate:not([hidden])) main.wrap {flex:1;display:grid;align-content:center;justify-items:center;padding-block:32px}
body:has(#gate:not([hidden])) .footer {width:100%;text-align:center;font-size:12px;color:#566981}
#gate:not([hidden]) {display:block;width:min(100%,440px);margin:0;border:1px solid #dce3ec;background:white;border-radius:20px;box-shadow:0 16px 56px #20385812;overflow:hidden}
#gate .auth {padding:clamp(24px,3vw,42px);background:white;border:0}
.entry-brand {display:flex;align-items:center;gap:15px;margin-bottom:27px}
.entry-brand img {width:69px;height:46px;object-fit:contain}
.entry-brand span {border-left:1px solid #ccd5e1;padding-left:15px;font:600 11px/20px system-ui;letter-spacing:.17em;color:#657792}
#gate h2 {font-size:27px;line-height:1.3;letter-spacing:-.03em;margin:0 0 12px;color:#192d48}
#auth-form {display:grid;gap:16px}
#auth-form label {color:#32465e;font-size:14px;margin:0}
#auth-form input {height:45px;margin-top:5px;border-color:#c9d4e1;border-radius:8px;background:#fbfcfe}
#auth-submit {width:100%;height:45px;margin:4px 0 0;border-radius:8px;font-size:15px}
.entry-links {display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;border-top:1px solid #e4e9f0;margin-top:23px;padding-top:15px}
#gate .entry-links button {background:none;color:#405a7b;border:0;padding:5px 0;min-height:30px;font-size:13px;font-weight:500}
.entry-links button:hover {text-decoration:underline}
.entry-links [aria-pressed=true] {display:none}
