body.auth-entry{background:#f1f3f6;min-height:100svh}
body.auth-entry> :not(dialog):not(#auth-entry-shell):not(.visitor-preview-bar){display:none!important}
#auth-entry-shell{max-width:560px;margin:12vh auto;padding:32px;background:white;border:1px solid #d5deea;border-radius:10px;color:#243248}
#auth-entry-shell .entry-brand{font-weight:700;text-decoration:none;color:#243248}
#auth-entry-shell h1{font-size:30px;line-height:1.2;margin:28px 0 16px}
#auth-entry-shell>a{display:block;margin:18px 0;min-height:44px}
body.auth-entry dialog::backdrop{background:#e9edf3d9}
@media(max-width:600px){#auth-entry-shell{margin:28px 16px;padding:24px}}
/* A focused testing invitation, with secondary tools tucked away. */
#dialog:has(.program-dialog){width:min(620px,calc(100% - 28px));max-width:620px;border:1px solid #d3ddea;border-radius:14px;padding:32px;color:#243248;box-shadow:0 24px 90px #12243e29}
#dialog:has(.program-dialog)>#dialog-help{display:none!important}
.program-dialog{animation:program-enter .32s cubic-bezier(.2,.8,.2,1) both}
.program-eyebrow{display:block;font-size:11px;font-weight:700;letter-spacing:.13em;color:#426a99;margin:0 0 12px}
.program-dialog h2{font-size:29px;letter-spacing:-.8px;line-height:1.2;margin:0 28px 14px 0}
.program-dialog p{color:#53657a;line-height:1.65}
.testing-intro>p{margin:0 0 22px}
.testing-offer{display:grid;gap:4px;padding:20px 22px;background:#edf3fa;border:1px solid #d5e1ef;border-radius:9px}
.testing-offer strong{font-size:27px;color:#244e80;letter-spacing:-.7px}.testing-offer span{font-size:14px}.testing-offer small{color:#526780;font-size:12px}
.testing-steps{list-style:none;counter-reset:testing;padding:0;margin:24px 0;display:grid;gap:17px}.testing-steps li{counter-increment:testing;display:grid;grid-template-columns:30px 1fr;gap:3px 12px}.testing-steps li:before{content:counter(testing);grid-row:span 2;display:grid;place-items:center;align-self:start;background:#eff2f6;border-radius:50%;width:28px;height:28px;color:#39587e;font-size:12px;font-weight:700}.testing-steps b{font-size:14px}.testing-steps span{font-size:13px;color:#617084;line-height:1.5}
.program-dialog .testing-apply{display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px 19px;background:#284f80;color:white;border-radius:6px;font-weight:650;transition:transform .15s,background .15s,box-shadow .15s}.testing-apply:hover{background:#1d406c;box-shadow:0 5px 16px #284f8025}.testing-apply:active{transform:scale(.98)}
.program-dialog .testing-note{font-size:12px;line-height:1.6;margin:12px 0 22px}.program-options{border-top:1px solid #e0e5ec;padding-top:14px}.program-options>summary{font-size:13px;color:#526780;cursor:pointer;padding:8px 0}.program-navigation{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.program-navigation button{padding:12px;border:1px solid #d4deeb;background:#f8fafc;border-radius:6px;font-size:13px;text-align:left;min-height:44px}.program-navigation button[aria-current]{background:#e8f0fa;border-color:#89a6cd;color:#254d80}.program-dialog #program-status:empty{display:none}
body.auth-entry #dialog[open]{animation:program-enter .28s ease-out both}
@keyframes program-enter{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:540px){#dialog:has(.program-dialog){padding:25px 20px}.program-dialog h2{font-size:25px}.testing-offer{padding:17px}.program-navigation{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.program-dialog,body.auth-entry #dialog[open]{animation:none}.program-dialog .testing-apply{transition:none}.testing-apply:active{transform:none}}
/* The premium workspace disables decorative motion globally; opt in only this short transition. */
@media(prefers-reduced-motion:no-preference){:root:not([data-motion=off]) .design-workspace #dialog-content>.program-dialog{animation:program-enter .32s cubic-bezier(.2,.8,.2,1) both!important}:root:not([data-motion=off]) body.auth-entry #dialog[open]{animation:program-enter .28s ease-out both!important}}
.auth-account-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#edf1f6;padding:5px;border-radius:9px;margin:20px 0}.auth-account-tabs button{min-height:44px;border:0;border-radius:6px;background:transparent;color:#54677f;font-weight:650;font-size:14px}.auth-account-tabs button[aria-pressed=true]{background:#fff;color:#254c7e;box-shadow:0 1px 5px #24324817}.auth-preview-notice{background:#edf3fb;border:1px solid #cfdef0;border-radius:8px;padding:13px 15px;font-size:12px;line-height:1.6;color:#415a7b!important}.auth-preview-notice b{display:block;margin-bottom:3px;color:#254c7e}.auth-panel button:disabled{cursor:not-allowed;opacity:.55}.auth-panel .auth-help:empty{display:none}
#dialog:has(.auth-panel)>#dialog-help{display:none!important}.auth-preview-notice a{display:inline-block;margin-top:5px;min-height:30px;font-weight:650;text-decoration:underline}

.program-dialog #program-apply{display:grid;gap:16px;margin-top:22px}.program-dialog #program-apply>label{display:grid;gap:7px}.program-dialog #program-apply>label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;line-height:1.55;font-weight:400}.program-dialog #program-apply input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:3px 0 0}.program-dialog #program-apply>.hint{margin:-9px 0 0}.program-dialog #program-back{margin-top:18px}

.program-dialog #program-apply>label{margin:0}.program-dialog #program-apply input,.program-dialog #program-apply textarea{margin:0}
