/* Sekred Kreiz 1.0.18 — écrans d’authentification autonomes */
html,body{min-width:0}
body:has(.auth-shell){background:#0b1427;color:#1c2940}
body:has(.auth-shell) .auth-main{min-height:calc(100dvh - 42px);display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:36px 24px;background:radial-gradient(ellipse at 14% 18%,rgba(37,127,195,.24),transparent 42%),radial-gradient(ellipse at 90% 87%,rgba(82,52,153,.22),transparent 38%),#0b1427}
body:has(.auth-shell) .footer{background:#0b1427;color:#91a2c0}
.auth-shell,.auth-shell *{box-sizing:border-box;min-width:0}
.auth-shell{width:min(960px,100%);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);align-items:stretch;gap:0;border:1px solid rgba(146,174,223,.18);border-radius:24px;overflow:hidden;box-shadow:0 25px 80px rgba(0,0,0,.35);background:#fff}
.auth-hero{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:0;padding:54px 46px;background:linear-gradient(150deg,#152e50,#0b1830 78%);color:#fff;min-height:510px}
.auth-hero-top{display:flex;align-items:center;gap:14px;margin-bottom:42px;width:100%}
.auth-k-logo{display:block;width:86px;height:86px;flex:0 0 86px;object-fit:contain;border-radius:17px;box-shadow:0 7px 25px rgba(0,0,0,.3)}
.auth-eyebrow{font-size:13px;font-weight:750;text-transform:uppercase;letter-spacing:.1em;color:#c9e8ff}
.auth-hero h1{font-size:clamp(28px,3.1vw,39px);line-height:1.15;letter-spacing:-.035em;font-weight:750;color:#fff;margin:0 0 18px;max-width:420px;text-align:left}
.auth-lead{max-width:420px;color:#c9d8ec;font-size:15px;line-height:1.7;margin:0}
.auth-sidenote{color:#91b3d1;font-size:13px;line-height:1.6;margin:28px 0 0}
.auth-shell .auth-card{display:flex;flex-direction:column;justify-content:center;width:100%;margin:0;padding:42px 38px;border:0;border-radius:0;box-shadow:none;background:#fff;min-width:0}
.auth-shell .auth-card-head{margin:0 0 26px}
.auth-shell .auth-chip{display:inline-flex;border-radius:100px;padding:6px 10px;background:#edf4ff;color:#3158ae;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.auth-shell .auth-card-head h2{font-size:27px;letter-spacing:-.03em;line-height:1.2;margin:15px 0 10px;color:#1b2940}
.auth-shell .auth-card-head p{color:#637086;font-size:14px;line-height:1.6;margin:0}
.auth-shell .auth-form{display:grid;gap:18px;margin:0;min-width:0}
.auth-shell .auth-form label{display:grid;gap:8px;min-width:0;font-size:14px;font-weight:650;color:#263850}
.auth-shell .auth-form input{display:block;width:100%;min-width:0;max-width:100%;height:47px;margin:0;background:#fff;color:#1c2940;border:1px solid #cdd7e6;border-radius:11px;padding:10px 13px;font:inherit;letter-spacing:normal;box-sizing:border-box}
.auth-shell .auth-form input:focus{outline:3px solid rgba(41,145,232,.17);border-color:#3a88c8}
.auth-shell .auth-submit{width:100%;min-height:49px;border-radius:11px;background:#225f9e;border-color:#225f9e;color:#fff;font-weight:750;font-size:15px;margin-top:4px}
.auth-shell .auth-submit:hover{background:#174f88;border-color:#174f88}
.auth-shell .auth-footnote{margin:21px 0 0;color:#7b8799;font-size:12px;line-height:1.6}
.auth-shell .otp{width:100%;max-width:100%;letter-spacing:.12em!important;text-align:center;font-size:clamp(20px,3vw,26px)!important;font-variant-numeric:tabular-nums;font-weight:750;overflow:hidden}
.auth-shell .secret-box{width:100%;max-width:100%;overflow:hidden;margin:0 0 18px;background:#f5f8fc;border:1px solid #d9e2ec;border-radius:12px;padding:13px;display:grid;gap:8px}
.auth-shell .secret-box code,.auth-shell details code{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word;font-size:12px;line-height:1.55}
.auth-shell .secret-box small{color:#586b82;font-size:12px;line-height:1.5}
.auth-shell details{min-width:0;max-width:100%;overflow:hidden;margin-bottom:19px;padding:12px;background:#fbfcff;border:1px solid #d9e2ec;border-radius:11px}
.auth-shell details summary{cursor:pointer;font-size:13px;font-weight:650}
.auth-shell .flash{overflow-wrap:anywhere}
@media(max-width:800px){.auth-shell{width:min(520px,100%);grid-template-columns:minmax(0,1fr)}.auth-hero{min-height:0;padding:25px 28px}.auth-hero-top{margin-bottom:13px}.auth-k-logo{width:56px;height:56px;flex-basis:56px;border-radius:12px}.auth-hero h1{font-size:25px;margin:0 0 7px}.auth-lead{font-size:13px;line-height:1.5}.auth-sidenote{display:none}.auth-shell .auth-card{padding:30px 28px}}
@media(max-width:460px){body:has(.auth-shell) .auth-main{padding:14px 10px}.auth-shell{border-radius:17px}.auth-hero{padding:20px}.auth-shell .auth-card{padding:24px 20px}.auth-shell .auth-card-head h2{font-size:24px}.auth-shell .otp{letter-spacing:.07em!important}}
