/* Phase 141 — Premium Authentication Experience 2.0 */
:root{--tn141-ink:#101828;--tn141-muted:#667085;--tn141-line:#e4e7ec;--tn141-surface:#fff;--tn141-soft:#f8f9fc;--tn141-indigo:#4f46e5;--tn141-indigo2:#6366f1;--tn141-navy:#0b1020;--tn141-radius:18px;--tn141-shadow:0 24px 70px rgba(16,24,40,.09)}
body.tn113-auth-page{min-height:100vh;background:#f7f8fb;color:var(--tn141-ink);overflow-x:hidden}.tn141-auth-top{height:72px;padding:0 clamp(20px,4vw,58px);background:rgba(247,248,251,.94);border-bottom:1px solid rgba(228,231,236,.8);backdrop-filter:blur(14px)}.tn141-auth-main{min-height:calc(100vh - 128px);display:grid;align-items:center}.tn141-auth-shell{width:min(1160px,calc(100% - 48px));min-height:650px;margin:36px auto;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);gap:0;border:1px solid var(--tn141-line);border-radius:24px;background:var(--tn141-surface);box-shadow:var(--tn141-shadow);overflow:hidden;padding:0!important}.tn141-brand-panel{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:650px;padding:clamp(44px,5vw,72px)!important;background:linear-gradient(145deg,#0b1020 0%,#121a36 58%,#171b3f 100%);color:#fff;overflow:hidden}.tn141-brand-panel:after{content:"";position:absolute;width:420px;height:420px;right:-240px;top:-170px;border:1px solid rgba(148,163,255,.14);border-radius:50%;box-shadow:0 0 0 70px rgba(99,102,241,.035),0 0 0 140px rgba(99,102,241,.025);pointer-events:none}.tn141-brand-content{position:relative;z-index:1;max-width:520px}.tn141-brand-content .tn113-kicker{color:#aeb7ff}.tn141-brand-content h1{margin:18px 0 18px!important;max-width:540px;color:#fff!important;font-size:clamp(42px,4.25vw,62px)!important;line-height:.99!important;letter-spacing:-.05em!important;font-weight:720!important}.tn141-brand-content h1 em{font-style:normal;color:#aeb7ff}.tn141-brand-content>p{max-width:500px;color:#aeb6cc!important;font-size:16px!important;line-height:1.65!important}.tn141-trust-list{margin-top:34px!important;gap:15px!important}.tn141-trust-list>div{grid-template-columns:28px 1fr!important;gap:12px!important}.tn141-trust-list i{width:27px!important;height:27px!important;border:1px solid rgba(174,183,255,.22)!important;background:rgba(99,102,241,.12)!important;color:#c7ceff!important;font-size:12px!important}.tn141-trust-list strong{color:#f8f9ff!important;font-size:13px!important}.tn141-trust-list small{color:#8892ad!important;font-size:11.5px!important}.tn141-product-preview{position:relative;z-index:1;margin-top:44px;border:1px solid rgba(255,255,255,.11);border-radius:17px;background:rgba(255,255,255,.055);box-shadow:0 22px 55px rgba(0,0,0,.16);padding:15px;backdrop-filter:blur(8px)}.tn141-preview-bar{display:flex;align-items:center;justify-content:space-between;color:#d8dded;font-size:11px}.tn141-preview-bar span{display:flex;gap:8px;align-items:center}.tn141-preview-bar b{width:7px;height:7px;border-radius:50%;background:#54d49a}.tn141-preview-bar em{font-style:normal;color:#838da9}.tn141-preview-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}.tn141-preview-metrics i{height:48px;border-radius:9px;background:rgba(255,255,255,.065)}.tn141-preview-body{display:grid;grid-template-columns:1.55fr .85fr;gap:8px}.tn141-preview-chart{height:115px;border-radius:10px;background:rgba(255,255,255,.045);position:relative;overflow:hidden}.tn141-preview-chart:before{content:"";position:absolute;left:12px;right:12px;top:20px;bottom:18px;background:linear-gradient(155deg,transparent 42%,rgba(129,140,248,.65) 43%,rgba(129,140,248,.65) 45%,transparent 46%),linear-gradient(25deg,transparent 52%,rgba(99,102,241,.5) 53%,rgba(99,102,241,.5) 55%,transparent 56%)}.tn141-preview-list{display:grid;gap:7px}.tn141-preview-list b{border-radius:8px;background:rgba(255,255,255,.055)}
.tn141-auth-panel{background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:clamp(36px,5vw,68px)!important}.tn141-auth-card{width:100%!important;max-width:470px!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}.tn141-register-card{max-width:520px!important}.tn141-card-head{margin-bottom:27px!important}.tn141-card-head h2{font-size:34px!important;letter-spacing:-.035em!important;color:var(--tn141-ink)!important;margin:7px 0 8px!important}.tn141-card-head p{color:var(--tn141-muted)!important;font-size:14px!important;line-height:1.55!important}.tn141-form{gap:17px!important}.tn141-form label{gap:7px!important;color:#344054!important;font-size:13px!important;font-weight:650!important}.tn141-form input,.tn141-form textarea,.tn141-form select{min-height:50px!important;border:1px solid #d9dee8!important;border-radius:11px!important;background:#fff!important;color:var(--tn141-ink)!important;padding:0 14px!important;font-size:14px!important;box-shadow:0 1px 2px rgba(16,24,40,.025)!important}.tn141-form textarea{padding-top:12px!important}.tn141-form input:hover,.tn141-form textarea:hover,.tn141-form select:hover{border-color:#c3c9d4!important}.tn141-form input:focus,.tn141-form textarea:focus,.tn141-form select:focus{border-color:#818cf8!important;box-shadow:0 0 0 4px rgba(99,102,241,.11)!important;outline:0!important}.tn141-primary{min-height:50px!important;border-radius:11px!important;background:linear-gradient(135deg,var(--tn141-indigo),var(--tn141-indigo2))!important;box-shadow:0 9px 22px rgba(79,70,229,.18)!important}.tn141-primary:hover{transform:translateY(-1px)!important;box-shadow:0 12px 26px rgba(79,70,229,.24)!important}.tn141-primary[disabled]{opacity:.72;cursor:wait;transform:none!important}.tn141-passkey-btn{min-height:50px!important;border-radius:11px!important;background:#fff!important;border-color:#d9dee8!important;color:#344054!important}.tn141-form-row{margin-top:-2px!important}.tn141-secure{display:flex;align-items:center;gap:6px;color:#7d8796;font-size:11px}.tn141-secure i{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;font-style:normal;background:#ecfdf3;color:#067647;font-size:9px}.tn141-divider{margin:20px 0!important}.tn141-divider span{text-transform:none!important;letter-spacing:0;color:#98a2b3!important}.tn141-auth-switch{margin-top:19px!important}.tn141-auth-switch a,.tn141-form a{color:#4f46e5!important}.tn141-steps{grid-template-columns:auto 1fr auto 1fr auto!important;margin-bottom:25px!important}.tn141-steps>span{font-size:11px!important}.tn141-steps>span b{width:25px!important;height:25px!important}.tn141-steps>span.active b{background:#eef2ff!important;color:#4f46e5!important}.tn141-role-fieldset{gap:10px!important}.tn141-role-card{border-radius:13px!important;padding:14px!important}.tn141-role-card:hover{border-color:#c4caff!important;background:#fbfbff!important}.tn141-register-step{gap:16px}.tn141-password-rules{display:flex;gap:7px;flex-wrap:wrap;margin-top:-3px}.tn141-password-rules span{padding:4px 7px;border-radius:999px;background:#f4f5f7;color:#87909e;font-size:10px;font-weight:650}.tn141-review{display:grid;gap:0;border:1px solid var(--tn141-line);border-radius:14px;background:#fbfcfe;overflow:hidden}.tn141-review>div{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:13px 14px;border-bottom:1px solid #edf0f4}.tn141-review>div:last-child{border-bottom:0}.tn141-review span{color:#8a94a3;font-size:11px}.tn141-review strong{overflow-wrap:anywhere;color:#344054;font-size:12px}.tn141-terms{margin-top:4px!important}.tn141-code-input{text-align:center;font-size:20px!important;letter-spacing:.18em!important;font-variant-numeric:tabular-nums}.tn141-empty-auth{width:min(460px,calc(100% - 32px))!important;margin:10vh auto!important;padding:42px!important;border-radius:20px!important;text-align:center!important}.tn141-state-icon{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 16px;border-radius:13px;background:#eef2ff;color:#4f46e5;font-weight:800}.tn141-text-link{display:block;margin-top:14px;color:#667085;text-decoration:none;font-size:12px}.tn141-auth-footer{min-height:56px!important;background:#f7f8fb!important;border-top:1px solid rgba(228,231,236,.85)!important}.tn113-flash{position:fixed!important;left:50%!important;top:82px!important;transform:translateX(-50%)!important;z-index:500!important;width:min(500px,calc(100% - 32px))!important;border-radius:12px!important;box-shadow:0 16px 40px rgba(16,24,40,.12)!important}
@media(max-width:920px){.tn141-auth-shell{width:min(560px,calc(100% - 32px));min-height:auto;grid-template-columns:1fr;margin:28px auto;border-radius:20px}.tn141-brand-panel{min-height:auto;padding:34px 34px 30px!important}.tn141-brand-content h1{font-size:38px!important}.tn141-brand-content>p{font-size:14px!important}.tn141-trust-list,.tn141-product-preview{display:none!important}.tn141-auth-panel{padding:36px 34px 42px!important}.tn141-register-shell .tn141-brand-panel{display:none!important}}
@media(max-width:560px){body.tn113-auth-page{background:#fff}.tn141-auth-top{height:62px;padding:0 16px;background:#fff}.tn141-auth-main{display:block;min-height:calc(100vh - 112px)}.tn141-auth-shell{width:100%;margin:0;border:0;border-radius:0;box-shadow:none}.tn141-brand-panel{display:none!important}.tn141-auth-panel{padding:32px 20px 44px!important;align-items:flex-start!important}.tn141-auth-card{max-width:none!important}.tn141-card-head h2{font-size:30px!important}.tn141-steps{gap:7px!important}.tn141-steps>span{font-size:0!important}.tn141-steps>span b{font-size:11px!important}.tn141-review>div{grid-template-columns:96px 1fr}.tn141-form input,.tn141-form textarea,.tn141-form select,.tn141-primary,.tn141-passkey-btn{min-height:50px!important}.tn141-auth-footer{background:#fff!important}.tn113-flash{top:70px!important}}
@media(prefers-reduced-motion:reduce){.tn141-primary,.tn141-role-card,.tn141-passkey-btn{transition:none!important}.tn141-primary:hover{transform:none!important}}

/* Phase 141 compact-required hotfix: required semantics stay native/ARIA-only. */
body.tn113-auth-page .tn80-required,body.tn113-auth-page .tn80-char-count{display:none!important}
.tn141-form label{gap:5px!important}
.tn141-form label>span.tn80-required{display:none!important}
/* Phase 141 register CTA spacing hotfix: keep role choice and primary action visually distinct. */
.tn141-register-step[data-register-step="1"]>.tn141-primary{margin-top:8px!important}
@media(max-width:560px){.tn141-register-step[data-register-step="1"]>.tn141-primary{margin-top:4px!important}}

