:root{
    --aka-ink:#101828;
    --aka-muted:#667085;
    --aka-line:#e4e7ec;
    --aka-soft:#f7f8fa;
    --aka-card:#ffffff;
    --aka-navy:#101828;
    --aka-navy-2:#182230;
    --aka-gold:#b89152;
    --aka-gold-2:#d1b27d;
    --aka-danger:#b42318;
    --aka-success:#067647;
    --aka-warning:#b54708;
    font-family:Tahoma,"Segoe UI",Arial,sans-serif;
    color-scheme:light;
}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0}
body.aka-auth-page{min-height:100vh;background:#f4f5f7;color:var(--aka-ink);font-family:Tahoma,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
.aka-auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(390px,42%) minmax(0,58%);background:#fff}
.aka-auth-brand{position:relative;overflow:hidden;min-height:100vh;background:linear-gradient(145deg,#0b1220 0%,#111c2e 58%,#18273d 100%);color:#fff;display:flex;align-items:center;padding:64px clamp(44px,6vw,92px)}
.aka-auth-brand:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom right,#000,transparent 78%);pointer-events:none}
.aka-auth-brand:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(209,178,125,.16);border-radius:50%;left:-180px;bottom:-130px;box-shadow:0 0 0 72px rgba(209,178,125,.03),0 0 0 144px rgba(209,178,125,.02)}
.aka-auth-brand__glow{position:absolute;border-radius:50%;filter:blur(1px);pointer-events:none}
.aka-auth-brand__glow--one{width:380px;height:380px;background:radial-gradient(circle,rgba(184,145,82,.15),transparent 69%);top:-120px;right:-100px}
.aka-auth-brand__glow--two{width:320px;height:320px;background:radial-gradient(circle,rgba(55,104,156,.16),transparent 70%);bottom:7%;right:20%}
.aka-auth-brand__content{position:relative;z-index:2;max-width:520px}
.aka-auth-logo{width:74px;height:74px;border:1px solid rgba(209,178,125,.58);display:grid;place-items:center;color:#e6c895;font-weight:700;letter-spacing:3px;font-size:18px;margin-bottom:40px;background:rgba(255,255,255,.025);box-shadow:inset 0 0 0 7px rgba(255,255,255,.018)}
.aka-auth-brand__eyebrow{direction:ltr;text-align:right;color:#d5bc90;font-size:11px;font-weight:700;letter-spacing:2.7px;margin-bottom:14px}
.aka-auth-brand h1{font-size:clamp(31px,3vw,48px);line-height:1.55;margin:0;font-weight:700;letter-spacing:-1.1px}
.aka-auth-brand p{max-width:450px;margin:18px 0 0;color:#c6ced9;font-size:14px;line-height:2}
.aka-auth-brand__rule{width:56px;height:2px;background:linear-gradient(90deg,var(--aka-gold),var(--aka-gold-2));margin:30px 0 24px}
.aka-auth-brand__meta{display:flex;flex-wrap:wrap;gap:14px 26px;color:#aeb8c7;font-size:12px}
.aka-auth-brand__meta span{display:flex;align-items:center;gap:8px}
.aka-auth-brand__meta i{display:block;width:6px;height:6px;border-radius:50%;background:var(--aka-gold-2);box-shadow:0 0 0 4px rgba(209,178,125,.08)}
.aka-auth-brand__footer{position:absolute;right:clamp(44px,6vw,92px);bottom:34px;color:rgba(255,255,255,.28);font-size:11px;letter-spacing:2px;direction:ltr}
.aka-auth-main{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#fff 0%,#fbfcfd 100%);padding:44px clamp(28px,6vw,88px)}
.aka-auth-main__inner{width:min(100%,500px)}
.aka-auth-card{width:100%}
.aka-auth-card--wide{width:min(100%,620px)}
.aka-auth-card__header{margin-bottom:28px}
.aka-auth-kicker{display:inline-block;color:#956f34;background:#fbf7ef;border:1px solid #eee0c5;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:700;margin-bottom:14px}
.aka-auth-card__header h2{margin:0;color:#101828;font-size:28px;line-height:1.5;font-weight:800;letter-spacing:-.5px}
.aka-auth-card__header p{margin:9px 0 0;color:var(--aka-muted);font-size:13px;line-height:1.9}
.aka-auth-form{display:grid;gap:18px}
.aka-auth-field{display:grid;gap:8px}
.aka-auth-field label{font-size:12px;font-weight:700;color:#344054}
.aka-auth-field input{width:100%;height:50px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#101828;padding:0 14px;outline:none;transition:border-color .18s,box-shadow .18s,background .18s}
.aka-auth-field input::placeholder{color:#98a2b3}
.aka-auth-field input:hover{border-color:#aeb6c2}
.aka-auth-field input:focus{border-color:#b89152;box-shadow:0 0 0 3px rgba(184,145,82,.12);background:#fff}
.aka-auth-field small{color:#7a8596;font-size:11px;line-height:1.7}
.aka-auth-code-input{direction:ltr;text-align:center;letter-spacing:7px;font-size:18px;font-weight:700}
.aka-auth-submit,.aka-auth-secondary,.aka-auth-danger{min-height:50px;border-radius:8px;padding:0 18px;border:1px solid transparent;font-weight:700;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s,border-color .15s;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.aka-auth-submit{width:100%;background:linear-gradient(180deg,#bb9457,#a67d3f);color:#fff;border-color:#9b7339;box-shadow:0 6px 18px rgba(128,91,39,.14)}
.aka-auth-submit:hover{background:linear-gradient(180deg,#c29b5d,#ad8243);box-shadow:0 8px 22px rgba(128,91,39,.2);transform:translateY(-1px)}
.aka-auth-submit:active,.aka-auth-secondary:active,.aka-auth-danger:active{transform:translateY(0)}
.aka-auth-secondary{background:#fff;color:#344054;border-color:#d0d5dd}
.aka-auth-secondary:hover{background:#f9fafb;border-color:#aeb6c2}
.aka-auth-danger{background:#fff;color:var(--aka-danger);border-color:#f0b7b2}
.aka-auth-danger:hover{background:#fff6f5;border-color:#e88d85}
.aka-auth-link-button{width:auto}
.aka-auth-alert{border-radius:8px;padding:12px 14px;margin:0 0 20px;font-size:12px;line-height:1.8;border:1px solid}
.aka-auth-alert strong{display:block;margin-bottom:4px}
.aka-auth-alert ul{margin:4px 0 0;padding-right:18px}
.aka-auth-alert--error{color:#912018;background:#fff5f4;border-color:#f3c0bc}
.aka-auth-alert--success{color:#05603a;background:#f2fbf7;border-color:#a9e0c6}
.aka-auth-alert--warning{color:#93370d;background:#fff8ef;border-color:#f5d4a8}
.aka-auth-note{display:flex;align-items:flex-start;gap:9px;margin-top:20px;padding-top:18px;border-top:1px solid #eaecf0;color:#7b8493;font-size:11px;line-height:1.8}
.aka-auth-note__icon{width:18px;height:18px;min-width:18px;display:grid;place-items:center;border-radius:50%;background:#eff8f3;color:#087443;font-size:10px;font-weight:800;margin-top:1px}
.aka-auth-separator{display:flex;align-items:center;gap:12px;color:#98a2b3;font-size:11px;margin:-2px 0}
.aka-auth-separator:before,.aka-auth-separator:after{content:"";height:1px;flex:1;background:#eaecf0}
.aka-auth-status{display:flex;align-items:center;gap:10px;border-radius:8px;padding:11px 13px;margin:0 0 16px;font-size:12px;font-weight:700;border:1px solid}
.aka-auth-status span{width:8px;height:8px;border-radius:50%}
.aka-auth-status--off{background:#fff5f4;border-color:#f4c7c3;color:#9a221a}.aka-auth-status--off span{background:#d92d20}
.aka-auth-status--pending{background:#fff8ef;border-color:#f4d7b0;color:#9b4a13}.aka-auth-status--pending span{background:#f79009}
.aka-auth-status--on{background:#f2fbf7;border-color:#a9e0c6;color:#067647}.aka-auth-status--on span{background:#12b76a}
.aka-auth-body-copy{color:#667085;font-size:13px;line-height:2;margin:0 0 20px}
.aka-auth-qr{display:inline-grid;place-items:center;padding:18px;background:#fff;border:1px solid #e4e7ec;border-radius:10px;margin:0 0 20px;box-shadow:0 4px 16px rgba(16,24,40,.05)}
.aka-auth-qr svg{display:block;max-width:220px;height:auto}
.aka-auth-recovery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:#f8fafc;border:1px solid #e4e7ec;border-radius:9px;padding:14px;margin-bottom:20px}
.aka-auth-recovery code{display:block;background:#fff;border:1px solid #eaecf0;border-radius:6px;padding:8px 10px;font:12px/1.5 Consolas,monospace;color:#344054;text-align:center;overflow-wrap:anywhere}
.aka-auth-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.aka-auth-actions form{margin:0}
.aka-auth-copyright{margin-top:34px;color:#b0b7c2;font-size:10px;text-align:center;direction:ltr}
@media (max-width:980px){
    .aka-auth-shell{grid-template-columns:1fr}
    .aka-auth-brand{min-height:auto;padding:25px 28px;display:block}
    .aka-auth-brand__content{max-width:none}
    .aka-auth-logo{width:52px;height:52px;margin-bottom:18px;font-size:14px}
    .aka-auth-brand__eyebrow,.aka-auth-brand p,.aka-auth-brand__rule,.aka-auth-brand__meta,.aka-auth-brand__footer{display:none}
    .aka-auth-brand h1{font-size:20px;line-height:1.55}
    .aka-auth-main{min-height:calc(100vh - 133px);padding:36px 22px}
}
@media (max-width:560px){
    .aka-auth-brand{padding:20px}
    .aka-auth-brand h1{font-size:17px}
    .aka-auth-logo{width:46px;height:46px;margin-bottom:13px}
    .aka-auth-main{align-items:flex-start;padding:30px 18px}
    .aka-auth-card__header{margin-bottom:23px}
    .aka-auth-card__header h2{font-size:23px}
    .aka-auth-field input{height:48px}
    .aka-auth-recovery{grid-template-columns:1fr}
    .aka-auth-actions{display:grid;grid-template-columns:1fr}
    .aka-auth-actions form,.aka-auth-actions button,.aka-auth-actions .aka-auth-link-button{width:100%}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
