/* Srain: clear glass with a lit rim, a shallow inner bevel and light behind it. */
:root{color-scheme:dark;--canvas:#050a12;--panel:#13203770;--elevated:#192b4550;--line:#a7c9f132;--ink:#f4f8ff;--body:#d9e6f6;--muted:#9cadc4;--faint:#6e819e;--brand:#81b6ff;--brand-hover:#a9d1ff;--brand-soft:#376dae24;--success:#91dfbf;--error:#ffb6b8;--shadow:0 28px 70px #0006}
html{min-height:100%;background:#050a12}body{background:radial-gradient(ellipse at 22% 15%,#1c284c66,transparent 48%),radial-gradient(ellipse at 83% 86%,#12365b55,transparent 45%),#050a12;color:var(--body);min-height:100svh;isolation:isolate}
body::before{content:'';position:fixed;z-index:-1;pointer-events:none;width:min(740px,120vw);height:220px;top:47%;left:50%;transform:translate(-50%,-50%) rotate(-27deg);border-radius:50%;background:linear-gradient(105deg,#dd829c88,#678ecf2e 42%,#72c9e7aa);filter:blur(65px);opacity:.45}
body::after{content:'';position:fixed;z-index:-1;pointer-events:none;inset:0;background:radial-gradient(ellipse 420px 440px at 50% 53%,transparent 30%,#050a1240 100%)}
.auth-page{padding:32px 20px 24px;gap:22px;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100svh}
.auth-page .auth-layout,.auth-page .single-layout{padding:0;width:100%;max-width:426px;margin:auto;display:block;flex:none}.auth-page .register-layout{max-width:448px}
.form-panel{position:relative;isolation:isolate;background:linear-gradient(125deg,#bcd8ff13,#15243b42 43%,#02091470);border:1px solid #c9deff52;border-radius:24px;backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%);box-shadow:0 25px 65px #0008,0 2px 4px #0006,inset 0 1px 1px #fff5,inset 1px 0 1px #d9eaff1f,inset -1px -1px 2px #9bdbff6b}
.form-panel::before{content:'';position:absolute;pointer-events:none;inset:-1px;border-radius:inherit;padding:1.4px;background:conic-gradient(from 225deg,#ffd7eaa1,#fff3f6f5 13%,#f398b891 19%,#b8cbef20 28%,#c4ebffa8 43%,#f4fdfff0 48%,#7cc9ffb8 55%,#92d6ff1c 69%,#c0efffa8 82%,#f4fdffe0 88%,#ffd7eaa1);mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor}
.form-panel::after{content:'';position:absolute;pointer-events:none;inset:4px;border:1px solid #dceeff14;border-radius:20px;box-shadow:inset 0 0 14px #daedff09,0 0 2px #fff1}
.auth-page .form-panel{padding:34px 34px 32px;border-radius:24px;background:linear-gradient(130deg,#bad1fc13,#18243b35 45%,#07101d70);box-shadow:-10px -12px 34px -27px #ffbad6,12px 18px 36px -29px #94deff,0 28px 80px #0009,inset 0 1px 1px #f7e9ff66,inset -1px -1px 2px #98d5ff7a}
.auth-logo{display:flex;align-items:center;justify-content:center;width:max-content;margin:0 auto 24px}.auth-logo img{width:124px;height:auto;filter:drop-shadow(0 2px 8px #89c7ff16)}.auth-logo strong{font-size:25px}.auth-tabs{display:flex;gap:25px;justify-content:center;margin:0 0 29px;padding:0;border:0}.auth-tabs a{position:relative;font-size:13px;padding:7px 0 11px;color:#8c9fb9;background:none;border:0}.auth-tabs a[aria-current=page]{color:#f0f7ff}.auth-tabs a::after{content:'';height:1px;position:absolute;bottom:0;left:0;right:0;background:#b8ddff;transform:scaleX(0);transition:transform .2s cubic-bezier(.16,1,.3,1);box-shadow:0 0 7px #8bcaff77}.auth-tabs a[aria-current=page]::after,.auth-tabs a:hover::after{transform:scaleX(1)}
.auth-page .field{margin-bottom:17px}.motion-field{position:relative;min-width:0}.motion-field input:not([type=hidden]){width:100%;height:54px;min-height:54px;background:#03091645;color:#f3f8ff;border:1px solid #a9c9ee33;border-radius:11px;padding:20px 14px 7px;font-size:14px;box-shadow:inset 0 2px 5px #0002;transition:border-color .18s,box-shadow .18s,background .18s}.motion-field label{position:absolute;top:18px;left:14px;color:#a1b1c7;font-size:13px;pointer-events:none;transition:transform .18s,color .18s;transform-origin:left top;line-height:18px;background:none;padding:0}
.motion-field input:focus{outline:none;border-color:#b0d8ffb3;background:#0d203957;box-shadow:0 0 0 3px #63a7ee12,inset 0 1px 3px #0002}.motion-field input:focus+label,.motion-field input:not(:placeholder-shown)+label{transform:translateY(-11px) scale(.77);color:#b5d3f3}.motion-field input:-webkit-autofill{-webkit-text-fill-color:#f3f8ff;box-shadow:0 0 0 1000px #14253b inset;caret-color:#fff;border-color:#b0d8ff66}
.input-action{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px}.input-action .button{height:54px;min-height:54px;margin:0;font-size:11px;padding:0 13px;white-space:nowrap;border-radius:11px}.field-help{display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(5px);transition:grid-template-rows .19s cubic-bezier(.16,1,.3,1),opacity .16s,transform .19s;pointer-events:none}.field-help>.field-hint{overflow:hidden;min-height:0;margin:0;padding:0 2px;line-height:1.6;font-size:10.5px;color:#a4b9d1}.field:focus-within .field-help{grid-template-rows:1fr;opacity:1;transform:translateY(0)}.field:focus-within .field-help>.field-hint{padding-top:8px}.validation-message{margin:7px 2px 0;font-size:11px;line-height:1.5;color:#ffc0c3}.validation-message:empty{display:none}.validation-message[data-result=available]{color:#9ce3c8}
.password-field input{padding-right:50px!important}.password-toggle{position:absolute;right:9px;top:9px;bottom:auto;display:grid;place-items:center;width:36px;height:36px;border:0;background:transparent;color:#a3bddb;padding:0;border-radius:8px}.password-toggle:hover{background:#a2d1ff0d;color:#dceeff}.password-toggle[aria-pressed=false] .eye-slash{display:none}.password-toggle svg{display:block}
.button{border-radius:10px;transition:background .16s,border-color .16s,box-shadow .16s}.button.primary,.auth-page .button.primary{background:linear-gradient(135deg,#418cf2e6,#1f64bde6);border:1px solid #a1d4ff80;color:#fff;box-shadow:inset 0 1px 0 #c5e7ff47,0 4px 18px #0643842e}.button.primary:hover{background:linear-gradient(135deg,#529df8f0,#2874d0ef);box-shadow:0 5px 22px #22538a44,inset 0 1px 0 #e5f6ff66}.button.secondary{background:#b0d6ff09;border:1px solid #bddbff35;color:#cbdef4;box-shadow:inset 0 1px 0 #ffffff0c}.button.secondary:hover{background:#b5daff12;border-color:#a7d3ff7a}.auth-page .button.full{min-height:46px;border-radius:11px;font-size:13px;margin-top:10px}.button:disabled{opacity:.5;cursor:default}.auth-note{color:var(--muted)}
.notice{border-radius:10px;border:1px solid #9fc8ef35;background:#8ebaff0a;color:#c5ddf4}.notice.error{border-color:#f09baf38;background:#d4516910;color:#ffc5d1}.notice.success{background:#58bfa30a;border-color:#8cd9bd35;color:#b0ead5}.site-header{background:#050a1299;border-bottom:1px solid #a3c7f11c;backdrop-filter:blur(18px)}.header-inner{min-height:72px}.wordmark img{width:108px;height:auto}.product-name{color:#b4c8e2;font-size:12px}.header-link,.site-footer a{color:#a7bbd5}.header-divider{display:none}.site-footer,.auth-page .site-footer{max-width:1040px;width:calc(100% - 64px);font-size:10px;border-color:#a6cfff1a;color:#7e91ab}.auth-page .site-footer{max-width:420px;width:100%;padding:0 14px;border:0}.auth-page .single-layout.wide-single{max-width:520px}.auth-page .message-panel h1{font-size:24px;line-height:1.4}.back-link{color:#98b4d5}.panel-heading>p:last-child,.muted{color:#9fb2cc}
.dashboard{max-width:1050px}.identity-panel,.settings-panel,.service-card,.consent-card,.empty-state{background:linear-gradient(125deg,#b4d5ff0b,#0f1e333d);border:1px solid #a9cdf12b;backdrop-filter:blur(18px);border-radius:16px;box-shadow:inset 0 1px 0 #d7ecff14,0 10px 30px #0002}.identity-panel{padding:25px}.avatar{background:#7eacdf0c;border:1px solid #b0d4ff27;border-radius:13px}.avatar img{display:block;margin:auto}.status-tag{background:#a3caff0c;color:#b9cae0}.status-tag.active,.status-text{color:#93d9bf}.service-card{min-height:108px}.service-card h3,.consent-card h3{font-size:15px}.settings-panel select,select{background:#091624;color:#cdddf2;border:1px solid #b9d6f335;border-radius:9px;min-height:44px;padding:10px 12px}.check-row{background:#c9eaff05;border:1px solid #bedcff28;border-radius:10px}.check-row:has(input:checked){background:#5293db17;border-color:#86c4ff80}.check-row input{accent-color:#5898eb}.check-row small{display:block;font-size:11px;color:#8fa7c3;margin-top:4px}.consent-brand{display:flex;align-items:center;gap:14px;justify-content:center;margin:5px 0 25px;color:#a1b8d4}.consent-brand img{width:27px;height:40px}.consent-brand strong{font-size:14px;color:#dbeaff}.consent-actions{display:grid;gap:11px;margin-top:25px}.consent-actions form{margin:0}.consent-actions .button{margin:0}.consent-scope{margin:18px 0}.read-only-scope{opacity:.65}.form-panel .eyebrow{color:#8cbfff}.form-panel h1{color:#f5f8ff}.auth-page .form-panel,.form-panel{animation-duration:.3s;animation-delay:0s}
dialog{color:var(--body);background:linear-gradient(135deg,#17283bbd,#081221dc);border:1px solid #b2dbff6e;border-radius:22px;backdrop-filter:blur(24px);box-shadow:0 30px 100px #0009,inset 0 1px 0 #f0e1f880;max-width:460px;padding:30px}dialog::backdrop{background:#020710a1;backdrop-filter:blur(7px)}
@media(max-width:480px){.auth-page{padding:24px 18px;gap:20px;justify-content:center}.auth-page .form-panel{padding:29px 24px 27px;border-radius:22px}.form-panel::after{border-radius:18px}.auth-logo img{width:116px}.auth-logo{margin-bottom:22px}.auth-tabs{margin-bottom:25px}.motion-field input:not([type=hidden]){font-size:16px}.auth-page .field{margin-bottom:15px}.field-help>.field-hint{font-size:10px}.input-action .button{padding:0 10px;font-size:10px}.auth-page .site-footer{padding:0 8px}.single-layout{padding:30px 20px}.dashboard{padding:30px 20px}.service-grid{grid-template-columns:1fr}.page-heading{gap:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

/* Optical edge highlights and the inset surface are separate layers. */
.form-panel::before{background:linear-gradient(135deg,#ffb3ce 0%,#fff4f8 9%,#ffc5d857 21%,#88afd815 39%,#a8d5ff65 63%,#a0e8ff 84%,#f6feff 96%)}
.auth-page .form-panel{box-shadow:-13px -12px 26px -22px #ffbedbd6,14px 16px 28px -23px #9de7fff0,0 28px 80px #0008,inset 0 1px 1px #fff5,inset -1px -1px 2px #b4e9ff80}
.motion-field::after{display:none}.auth-page .input-action{align-items:start}.auth-page .input-action .button{height:54px;min-height:54px;margin:0;align-self:start}
.motion-field{border-bottom:0}.auth-page .field-help>.field-hint{margin:0;padding-left:2px;padding-right:2px}.auth-page .field:focus-within .field-help>.field-hint{padding-top:8px}

/* Glass v5: a polished bevel, corner reflection and stable input guidance. */
.form-panel,.auth-page .form-panel{
 background:radial-gradient(ellipse at 0 0,#c5dfff25,transparent 46%),linear-gradient(125deg,#a4bfd11a,#12263e28 48%,#03101c45);
 border:1px solid #d4ebff9c;
 box-shadow:0 24px 65px #0008,-8px -8px 24px -14px #d7dfff8c,9px 12px 25px -16px #9ee5ffb8,
 inset 0 2px 2px #fff9,inset 2px 0 3px #dbe7ff5c,inset 0 -2px 2px #d5f7ffb3,inset -2px 0 2px #a9e9ff8c,
 inset 0 0 0 5px #b8dfff12,inset 0 0 22px #95cfff0d;
 backdrop-filter:blur(28px) saturate(155%);-webkit-backdrop-filter:blur(28px) saturate(155%);
}
.form-panel::before{
 inset:-1px;padding:1.6px;
 background:linear-gradient(135deg,#f7faff 0%,#f6eaff 9%,#bdd5f38c 23%,#aed6f51c 41%,#a5dfff6b 64%,#d7f6ff 86%,#fff 98%);
 filter:drop-shadow(0 0 2px #d4f0ff66);
}
.form-panel::after{
 inset:5px;border:1px solid #c6e6ff4d;border-radius:19px;
 background:radial-gradient(ellipse at 0 0,#eff7ff6b 0%,#d5edff26 36%,transparent 72%) 0 0/132px 88px no-repeat,
 linear-gradient(131deg,#eaf5ff14 1%,#d1e4ff0d 13%,transparent 22%,transparent 68%,#9adfff07 85%,transparent 97%);
 box-shadow:inset 1px 1px 2px #edf5ff38,inset -1px -1px 2px #c6f0ff33;
}
.motion-field input:not([type=hidden]){background:linear-gradient(135deg,#0712243d,#03101e70);border-color:#b0cdea40;box-shadow:inset 0 1px 2px #b5d2f518,inset 0 -1px 1px #02091633}
/* Keep the actual wrapped text height even when hidden. Focus changes opacity only. */
.auth-page .field-help{display:block;opacity:0;transform:translateY(4px);transition:opacity .15s ease,transform .18s cubic-bezier(.16,1,.3,1);pointer-events:none}
.auth-page .field-help>.field-hint,.auth-page .field:focus-within .field-help>.field-hint{margin:0;padding:7px 2px 0;min-height:24px;overflow:visible;line-height:1.6;font-size:10.5px}
.auth-page .field:focus-within .field-help{opacity:1;transform:translateY(0)}
.auth-page .field{margin-bottom:7px}
.auth-page .auth-tabs{margin-bottom:25px}
@media(max-width:480px){.form-panel::after{border-radius:17px}.auth-page .field{margin-bottom:6px}.auth-page .field-help>.field-hint{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){.auth-page .field-help{transition:none;transform:none}}

.srain-toast{position:fixed;z-index:1000;right:24px;bottom:24px;display:flex;align-items:center;gap:20px;max-width:min(460px,calc(100vw - 32px));padding:17px 18px;border:1px solid #b9e2ff70;border-radius:16px;background:linear-gradient(135deg,#243954eb,#081724f5);box-shadow:0 12px 40px #0007,inset 0 1px 1px #eef8ff70;backdrop-filter:blur(24px);color:#e6f2ff;font-size:13px;line-height:1.6;animation:toast-enter .2s ease-out}.srain-toast.error{border-color:#e3a5b68c}.srain-toast button{flex:none;background:none;border:0;color:#c0d9f1;font-size:22px;cursor:pointer;padding:0 4px}.srain-toast.is-leaving{opacity:0;transform:translateY(6px);transition:opacity .18s,transform .18s}@keyframes toast-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}

/* Six floating choices enhance only the account security screen. */
.security-picker{position:relative;width:100%;z-index:3}
.security-picker [hidden],.security-picker-mfa[hidden]{display:none!important}
.security-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #b9d6f335;border-radius:9px;background:#091624;color:#cdddf2;font:inherit;text-align:left;cursor:pointer}
.security-picker-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.security-picker-trigger>svg{width:18px;height:18px;flex:none;transition:transform .18s}
.security-picker-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}
.security-picker svg{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.security-picker-orbit{position:absolute;inset:0;pointer-events:none}
.security-choice{position:absolute;top:calc(50% - 32px);display:flex;align-items:center;gap:13px;width:208px;height:64px;padding:0 17px;border:1px solid #a2d9ff9e;border-radius:18px;color:#c4e4ff;background:radial-gradient(ellipse at 15% 0,#dcf1ff23,transparent 62%),linear-gradient(125deg,#243e5966,#07142196);box-shadow:inset 0 1px 2px #eff9ff85,inset 0 -1px 2px #b5e7ff55,0 10px 30px #0004,0 0 20px #78baff0c;backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%);font:inherit;font-size:15px;font-weight:600;white-space:nowrap;cursor:pointer;pointer-events:auto;animation:security-choice-rise .56s cubic-bezier(.12,1,.28,1) both;transition:background .18s,border-color .18s,box-shadow .18s}
.security-choice>svg{width:27px;height:27px;flex:none}
.security-choice .security-choice-check{width:16px;height:16px;margin-left:auto;opacity:0}
.security-choice[aria-checked=true]{color:#e0e3e9;border-color:#d0d6df99;background:radial-gradient(ellipse at 15% 0,#f2f4f52b,transparent 65%),linear-gradient(125deg,#727d8b77,#3c465866);box-shadow:inset 0 1px 2px #f6f8ffa3,inset 0 -1px 2px #d6e0ef4d,0 10px 30px #0004}
.security-choice[aria-checked=true] .security-choice-check{opacity:1}
.security-choice:hover{border-color:#d4efff;box-shadow:inset 0 1px 2px #f8fcffad,0 9px 32px #548dc324}
.security-choice.left-top{right:calc(100% + 72px);margin-top:-110px;animation-delay:0ms}
.security-choice.right-middle{left:calc(100% + 96px);animation-delay:45ms}
.security-choice.left-middle{right:calc(100% + 96px);animation-delay:100ms}
.security-choice.right-bottom{left:calc(100% + 72px);margin-top:110px;animation-delay:165ms}
.security-choice.left-bottom{right:calc(100% + 72px);margin-top:110px;animation-delay:245ms}
.security-choice.right-top{left:calc(100% + 72px);margin-top:-110px;animation-delay:340ms}
.security-picker-trigger:focus-visible,.security-choice:focus-visible,.security-picker-mfa button:focus-visible{outline:2px solid #c7e7ff;outline-offset:5px}
.security-picker-mfa{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.security-picker-mfa button{flex:1 1 120px;min-height:38px;padding:8px 12px;border:1px solid #9ac6ee44;border-radius:10px;background:#0c1c3066;color:#bdd2e9;font:inherit;font-size:12px;cursor:pointer}
.security-picker-mfa button[aria-pressed=true]{background:#717b8e55;border-color:#c5d2e177;color:#eef3fa}
@keyframes security-choice-rise{from{opacity:0;transform:translateY(48px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.security-choice{animation:none;transition:none}.security-picker-trigger>svg{transition:none}}

.security-picker-orbit.is-closing .security-choice{animation:none!important;pointer-events:none}

#logout-retry[hidden],#logout-home[hidden]{display:none!important}
