/* Портал ГНПХ — страницы входа */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;height:100%}
body{margin:0;min-height:100%;font:14px/1.5 'Segoe UI',Inter,-apple-system,BlinkMacSystemFont,Roboto,'Helvetica Neue',Arial,sans-serif;color:#18374d;background:#f3f8fb}
.auth{display:grid;grid-template-columns:minmax(380px,46%) minmax(0,1fr);min-height:100vh;min-height:100dvh}
.auth-brand{position:relative;overflow:hidden;color:#fff;padding:44px 52px;display:flex;flex-direction:column;justify-content:space-between;gap:32px;
  background:#0079c2;background:linear-gradient(155deg,#0079c2 0%,#0a6aa8 46%,#064b78 100%)}
.auth-brand>*{position:relative;z-index:1}
.auth-rings{position:absolute;z-index:0;right:-190px;bottom:-170px;width:640px;height:640px;pointer-events:none}
.auth-rings circle{fill:none;stroke-width:34}
.auth-rings .r1,.auth-rings .r2,.auth-rings .r3{stroke:rgba(255,255,255,.07)}
.auth-rings .a1{stroke:rgba(255,255,255,.2);stroke-linecap:round;stroke-dasharray:1010 1697;transform:rotate(-90deg);transform-origin:300px 300px;animation:ring 1.5s .1s cubic-bezier(.2,.7,.2,1) both}
.auth-rings .a2{stroke:rgba(126,214,196,.5);stroke-linecap:round;stroke-dasharray:850 1288;transform:rotate(-90deg);transform-origin:300px 300px;animation:ring 1.5s .25s cubic-bezier(.2,.7,.2,1) both}
.auth-rings .a3{stroke:rgba(255,206,110,.55);stroke-linecap:round;stroke-dasharray:420 880;transform:rotate(-90deg);transform-origin:300px 300px;animation:ring 1.5s .4s cubic-bezier(.2,.7,.2,1) both}
@keyframes ring{from{stroke-dasharray:0 1700}}
.auth-brand-top img{display:block;width:166px;height:auto;border-radius:2px}
.auth-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px;color:#cfe8f6}
.auth-brand h1{font-size:34px;line-height:1.14;font-weight:720;margin:10px 0 12px;max-width:520px;letter-spacing:-.2px}
.auth-brand p{margin:0;font-size:15px;color:#dceff9;max-width:440px}
.auth-flow{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,max-content));gap:8px 22px;font-size:13px;color:#eaf6fd}
.auth-flow li{display:flex;align-items:center;gap:9px;white-space:nowrap}
.auth-flow b{font-size:10.5px;font-weight:800;letter-spacing:.5px;background:rgba(255,255,255,.16);border-radius:6px;padding:2px 6px;color:#fff}
.auth-brand-foot{font-size:12px;color:#c5e2f2;max-width:420px}
.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px 24px;gap:22px}
.auth-card{width:100%;max-width:412px;background:#fff;border:1px solid #d8e7f0;border-radius:20px;padding:34px 34px 28px;box-shadow:0 18px 50px rgba(35,70,97,.1);animation:up .45s ease both}
@keyframes up{from{opacity:0;transform:translateY(12px)}}
.auth-kicker{font-size:10.5px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:#0b6eaa}
.auth-card h2{font-size:25px;line-height:1.2;margin:6px 0 6px;font-weight:720}
.auth-sub{margin:0 0 20px;color:#617d91;font-size:13.5px}
.auth-field{display:block;margin-bottom:14px}
.auth-field>span{display:block;font-size:12px;font-weight:700;color:#4c6b80;margin-bottom:6px}
.auth-input{position:relative}
.auth-input input{width:100%;height:46px;border:1px solid #c7d8e5;border-radius:12px;padding:0 14px;font:inherit;font-size:15px;color:#18374d;background:#fbfdfe;transition:border-color .15s,box-shadow .15s,background .15s;-webkit-appearance:none;appearance:none}
.auth-input input:focus{outline:0;border-color:#5fb2e3;background:#fff;box-shadow:0 0 0 4px rgba(0,123,196,.13)}
.auth-input input[type=password],.auth-input input[type=text][autocomplete*=password]{padding-right:92px}
.auth-eye{position:absolute;right:6px;top:6px;height:34px;border:0;background:#eef5fa;color:#23638d;border-radius:9px;padding:0 11px;font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.auth-eye:hover{background:#dcebf5}
.auth-btn{width:100%;height:48px;margin-top:8px;border:0;border-radius:12px;background:#0b6eaa;color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:background .15s,transform .05s;position:relative;-webkit-appearance:none;appearance:none}
.auth-btn:hover{background:#095f94}
.auth-btn:active{transform:translateY(1px)}
.auth-btn:focus-visible,.auth-eye:focus-visible,.auth-link:focus-visible{outline:3px solid #8ccbee;outline-offset:2px}
.auth-btn.busy{color:transparent}
.auth-btn.busy::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.auth-alert{border-radius:12px;padding:11px 14px;font-size:13.5px;margin-bottom:16px}
.auth-alert.error{background:#fbe9ea;color:#9c2630;border:1px solid #f2cdd0}
.auth-alert.info{background:#e9f5fc;color:#1d5a80;border:1px solid #cfe5f3}
.auth-caps{font-size:12px;color:#8a5a12;background:#fbf1df;border-radius:9px;padding:6px 10px;margin:-4px 0 8px}
.auth-help{margin:18px 0 0;font-size:12.5px;color:#7690a1;text-align:center}
.auth-link{display:block;text-align:center;margin-top:16px;color:#0b6eaa;font-size:13px;font-weight:650;text-decoration:none}
.auth-link:hover{text-decoration:underline}
.auth-foot{font-size:11.5px;color:#8ba0ae;text-align:center}
[hidden]{display:none!important}
@media (max-width:1080px){.auth-brand{padding:36px 34px}.auth-brand h1{font-size:28px}.auth-flow{grid-template-columns:minmax(0,1fr)}}
@media (max-width:860px){
  .auth{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}
  .auth-brand{padding:calc(22px + env(safe-area-inset-top,0px)) 22px 26px;gap:16px}
  .auth-brand-top img{width:120px}
  .auth-brand h1{font-size:22px;margin:6px 0 0}
  .auth-brand p,.auth-flow,.auth-brand-foot{display:none}
  .auth-rings{width:380px;height:380px;right:-130px;bottom:-190px}
  .auth-main{justify-content:flex-start;padding:22px 16px calc(20px + env(safe-area-inset-bottom,0px))}
  .auth-card{padding:26px 22px 22px;border-radius:18px;margin-top:-4px}
  .auth-card h2{font-size:22px}
}
@media (max-height:560px) and (min-width:861px){.auth-flow,.auth-brand-foot{display:none}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
