/* Account logout button and confirmation, scoped to studio account pages. */
.id-page .s-logout-form .s-login{background:#8e293d;border:1px solid #c15166;color:#fff0f3;box-shadow:none}.id-page .s-logout-form .s-login:hover{background:#af354c;border-color:#eb7d91;color:white}.dsx-logout-dialog{position:fixed;inset:0;width:min(430px,calc(100vw - 36px));max-height:calc(100svh - 40px);margin:auto;border:1px solid #627a9b55;border-radius:23px;background:linear-gradient(145deg,#19253a,#101927);color:#f2f6ff;box-shadow:0 30px 100px #0009;padding:34px;text-align:center;overflow:auto;font:16px/1.6 'Segoe UI',Arial,sans-serif}.dsx-logout-dialog::backdrop{background:rgba(3,7,15,.6);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}.dsx-logout-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 22px;border-radius:19px;background:#be3d5826;border:1px solid #e4778e44;color:#ff94aa}.dsx-logout-icon svg{width:31px;height:31px}.dsx-logout-dialog h2{font-size:25px;font-weight:750;line-height:1.25;letter-spacing:-.035em;margin:0 0 13px;color:#f2f6ff}.dsx-logout-dialog p{font-size:15px;color:#abbcd5;margin:0 0 28px;line-height:1.65}.dsx-logout-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dsx-logout-actions button{font:600 15px/1.3 'Segoe UI',Arial,sans-serif;min-height:46px;padding:12px;border-radius:10px;cursor:pointer}.dsx-logout-cancel{background:#22334e;border:1px solid #536a8b;color:#dce8ff}.dsx-logout-cancel:hover{background:#2d4263}.dsx-logout-confirm{background:#a8324b;border:1px solid #da637b;color:white}.dsx-logout-confirm:hover{background:#c6425e}.dsx-logout-confirm:disabled{opacity:.6;cursor:wait}.dsx-logout-actions button:focus-visible{outline:3px solid #afcfff;outline-offset:4px}
/* Studio login and registration only; the signed-in dashboard keeps its layout. */
body.id-page.studio-auth-compact{min-height:100svh;display:flex;flex-direction:column}.studio-auth-compact .s-header{flex-shrink:0}.studio-auth-compact .id-shell{width:min(calc(100% - 36px),520px);margin:0 auto;padding:20px 0;display:flex;flex-direction:column;justify-content:center;flex:1}.studio-auth-compact .id-auth-layout{width:100%;max-width:460px;margin:0 auto}.studio-auth-compact .id-card,.studio-auth-compact .id-auth-layout .id-auth-panel{padding:24px 28px;border-radius:19px}.studio-auth-compact .id-centered{width:100%;max-width:460px;margin:0 auto}.studio-auth-compact .id-auth-brand{margin-bottom:17px}.studio-auth-compact .id-auth-brand img{width:35px;height:33px}.studio-auth-compact .id-card h1,.studio-auth-compact .id-auth-layout h1{font-size:28px;line-height:1.2;margin:0 0 10px}.studio-auth-compact .id-card>p{font-size:13px;line-height:1.55;margin:0 0 13px}.studio-auth-compact .id-form,.studio-auth-compact .id-auth-layout .id-form{gap:8px;margin-top:16px}.studio-auth-compact .id-form label,.studio-auth-compact .id-auth-layout .id-form label{font-size:13px;gap:5px}.studio-auth-compact .id-form input:not([type=hidden]):not([type=range]):not([type=checkbox]){min-height:42px;padding-top:9px;padding-bottom:9px;font-size:16px}.studio-auth-compact .id-primary,.studio-auth-compact .id-provider{min-height:43px;padding-top:10px;padding-bottom:10px;font-size:14px}.studio-auth-compact .id-divider-text{margin:12px 0}.studio-auth-compact .id-meta,.studio-auth-compact .id-privacy-hint{font-size:11px!important;line-height:1.5!important;margin:5px 0 0!important}.studio-auth-compact .id-privacy-hint,.studio-auth-compact .id-card>p:last-of-type{max-width:390px;margin-left:auto!important;margin-right:auto!important;text-align:center;text-wrap:pretty}.studio-auth-compact .id-auth-bottom{margin-top:15px!important;padding-top:12px!important;margin-bottom:0!important;text-align:center}.studio-auth-compact .id-auth-bottom+p{margin-top:7px!important;text-align:center}.studio-auth-compact .id-field-aside{font-size:12px}.studio-auth-compact .id-centered>.id-eyebrow{text-align:center;font-size:11px;margin-bottom:10px}.studio-auth-compact .id-centered>h1{text-align:center}.studio-auth-compact .id-centered>h1+p{text-align:center}
@media(min-width:650px){.studio-auth-compact.studio-auth-register .id-shell{width:min(calc(100% - 40px),580px)}.studio-auth-register .id-centered{max-width:580px}.studio-auth-register .id-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 14px}.studio-auth-register .id-form>label{min-width:0}.studio-auth-register .id-form>.id-meta,.studio-auth-register .id-form>.dsx-puzzle,.studio-auth-register .id-form>.id-primary{grid-column:1/-1}}
@media(max-height:740px){.studio-auth-compact .s-header .s-header-inner{min-height:65px;padding-top:8px;padding-bottom:8px}.studio-auth-compact .id-shell{padding-top:14px;padding-bottom:14px}.studio-auth-compact .id-card,.studio-auth-compact .id-auth-layout .id-auth-panel{padding-top:20px;padding-bottom:20px}.studio-auth-compact .id-form,.studio-auth-compact .id-auth-layout .id-form{margin-top:12px;gap:7px}.studio-auth-compact .id-card h1{font-size:26px}.studio-auth-compact .id-auth-brand{margin-bottom:13px}.studio-auth-compact .id-divider-text{margin:10px 0}}
@media(max-width:520px){.studio-auth-compact .id-shell{width:calc(100% - 30px);padding:16px 0}.studio-auth-compact .id-card,.studio-auth-compact .id-auth-layout .id-auth-panel{padding:22px}.studio-auth-compact .id-card h1{font-size:26px}.studio-auth-register .id-form{gap:6px}.studio-auth-register .id-form input:not([type=hidden]):not([type=range]):not([type=checkbox]){min-height:39px;padding-top:7px;padding-bottom:7px}.studio-auth-register .id-form label{font-size:12px;gap:4px}.studio-auth-register .id-card>p{font-size:12px}.studio-auth-register .id-form>.id-meta{font-size:10px!important}.dsx-logout-dialog{padding:28px 23px;border-radius:20px}.dsx-logout-dialog h2{font-size:24px}}
@media(prefers-reduced-transparency:reduce){.dsx-logout-dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}}
/* A single centered DSx ID heading and a compact recovery window. */
.studio-auth-compact .id-auth-layout .id-auth-brand{display:none}.studio-auth-compact .id-auth-layout h1{text-align:center;font-size:28px;line-height:1.25;letter-spacing:-.035em;margin:0 0 11px}.studio-auth-compact .id-auth-layout .id-auth-panel>p:first-of-type{text-align:center;margin-bottom:0;font-size:14px;color:#a9b7ce}.studio-auth-compact .id-auth-layout .id-form{margin-top:23px}.studio-auth-compact .id-recovery{max-width:440px;padding:31px 30px 25px;border-radius:21px;background:linear-gradient(145deg,#172236,#101926);box-shadow:0 20px 65px #0003;border-color:#3f526e}.id-recovery-symbol{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 21px;border-radius:19px;color:#b1c9ff;background:rgba(93,129,209,.15);border:1px solid rgba(132,164,229,.25)}.id-recovery-symbol svg{display:block}.studio-auth-compact .id-recovery h1{font-size:27px;line-height:1.2;text-align:center;margin:0 0 14px;letter-spacing:-.04em}.studio-auth-compact .id-recovery .id-recovery-copy{font-size:14px;line-height:1.75;text-align:center;color:#a9b9d2;margin:0 auto 23px!important;max-width:340px}.studio-auth-compact .id-recovery .id-form{margin-top:0;gap:15px}.studio-auth-compact .id-recovery .id-form label{font-size:13px;gap:7px}.studio-auth-compact .id-recovery .id-primary{width:100%;min-height:46px;margin-top:3px;border-radius:10px;font-size:14px}.studio-auth-compact .id-recovery .id-auth-bottom{text-align:center;margin-top:24px!important;padding-top:19px!important;font-size:13px;color:#b9c9e8}.studio-auth-compact .id-recovery .id-auth-bottom a{font-weight:600}.studio-auth-compact .id-recovery .id-alert,.studio-auth-compact .id-recovery .id-success{font-size:13px;line-height:1.6}
@media(max-width:520px){.studio-auth-compact .id-auth-layout h1{font-size:25px}.studio-auth-compact .id-recovery{padding:26px 23px 23px}.studio-auth-compact .id-recovery h1{font-size:25px}.id-recovery-symbol{width:56px;height:56px;margin-bottom:19px;border-radius:17px}}@media(max-height:660px){.studio-auth-compact .id-recovery{padding-top:23px;padding-bottom:21px}.id-recovery-symbol{width:50px;height:50px;margin-bottom:15px}.studio-auth-compact .id-recovery .id-recovery-copy{margin-bottom:18px!important}.studio-auth-compact .id-recovery .id-auth-bottom{margin-top:18px!important;padding-top:14px!important}}


/* Consistent field icons and label spacing in both DSx ID themes. */
body.id-page .id-form label:has(>input:not([type="checkbox"]):not([type="radio"]):not([type="range"])),body.id-page .id-form label:has(>.id-password-wrap){display:flex;flex-direction:column;align-items:stretch;gap:8px!important;line-height:1.4}
body.id-page .id-form>label[for="login-password"]{margin:3px 0 0!important;line-height:1.4}
body.id-page .id-form .id-password-wrap{margin-top:0!important}
body.id-page .id-form input[type="email"],
body.id-page .id-form input[type="password"],
body.id-page .id-form input[name="password"],
body.id-page .id-form input[name="password_repeat"]{
 box-sizing:border-box;padding-left:43px!important;
 background-repeat:no-repeat!important;background-position:14px center!important;background-size:19px 19px!important;
}
body.id-page .id-form input[type="email"]{background-image:url('/images/auth-email.svg')!important}
body.id-page .id-form input[type="password"],body.id-page .id-form input[name="password"],body.id-page .id-form input[name="password_repeat"]{background-image:url('/images/auth-lock.svg')!important}
body.id-page .id-form .id-password-wrap input{padding-right:48px!important}
body.id-page .id-form .id-password-toggle{right:8px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important}
@media(max-width:520px){body.id-page .id-form label:has(>input:not([type="checkbox"]):not([type="radio"]):not([type="range"])),body.id-page .id-form label:has(>.id-password-wrap){gap:7px!important}}

/* Field icons occupy their own layer so browser autofill cannot hide them. */
body.id-page .id-form .id-field-control{position:relative;display:block;width:100%;min-width:0;margin:0;isolation:isolate}
body.id-page .id-form .id-field-control>input{display:block;box-sizing:border-box;width:100%;margin:0!important;padding-left:43px!important;background-image:none!important}
body.id-page .id-form .id-field-control>.id-field-icon{position:absolute;display:block;left:14px;top:50%;transform:translateY(-50%);width:19px;height:19px;max-width:none;margin:0;padding:0;border:0;pointer-events:none;z-index:2;object-fit:contain}
body.id-page .id-form label:has(>.id-field-control){display:flex;flex-direction:column;align-items:stretch;gap:8px!important;line-height:1.4}
body.id-page .id-form .id-password-wrap.id-field-control>input{padding-right:48px!important}
body.id-page .id-form .id-field-control>.id-password-toggle{z-index:3}
@media(max-width:520px){body.id-page .id-form label:has(>.id-field-control){gap:7px!important}}
