/* R10.5.1: scoped modern native sign-in and consistent action affordances. */
#r1051AuthDialog{width:min(452px,calc(100vw - 28px));max-height:calc(100dvh - 24px);box-sizing:border-box;padding:0;margin:auto;overflow:hidden;border:1px solid #bfdae4;border-radius:22px;background:#fff;color:#153b53;box-shadow:0 30px 85px #001b3060,0 0 0 1px #fff8;font:13px/1.55 "Segoe UI",Arial,sans-serif;animation:r1051-dialog-in .21s cubic-bezier(.2,.8,.2,1) both}
#r1051AuthDialog:not([open]){display:none}
#r1051AuthDialog::backdrop{background:#071d34b3;backdrop-filter:blur(7px);animation:r1051-backdrop-in .18s ease-out}
#r1051AuthDialog .r1051-auth-head{display:flex;align-items:center;gap:12px;min-height:70px;padding:12px 16px;background:linear-gradient(112deg,#10334f,#13566b);color:#fff;box-sizing:border-box}
#r1051AuthDialog .r1051-auth-icon{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:13px;background:#ffffff20;border:1px solid #b4f3ed45;color:#81ede0;box-shadow:inset 0 0 0 1px #fff1;font-size:24px;animation:r1051-beacon 4s ease-in-out infinite}
#r1051AuthDialog .r1051-auth-heading{flex:1;min-width:0}
#r1051AuthDialog .r1051-auth-heading strong{font-size:15px;letter-spacing:.1px;display:block;color:#fff}
#r1051AuthDialog .r1051-auth-heading span{display:block;font-size:11px;color:#d0e7ed;margin-top:2px}
#r1051AuthDialog #r1051AuthClose{width:35px;height:35px;display:grid;place-items:center;flex:none;border:1px solid #ffffff50;border-radius:11px;background:#ffffff14;color:#fff;font-size:22px;line-height:1;cursor:pointer;transition:background .18s,transform .18s}
#r1051AuthDialog #r1051AuthClose:hover{background:#ffffff31;transform:rotate(5deg)}
#r1051AuthDialog .r1051-auth-frame{width:100%;height:min(485px,calc(100dvh - 143px));max-height:calc(100dvh - 143px);border:0;display:block;background:#fff;transition:height .17s ease}
#r1051AuthDialog .r1051-auth-foot{padding:9px 16px 13px;background:#f3f9fb;border-top:1px solid #e0edf2;color:#516e81;display:flex;justify-content:space-between;gap:7px;font-size:10px}
#r1051AuthDialog .r1051-auth-foot span:first-child{color:#1b7180;font-weight:650}
@keyframes r1051-dialog-in{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes r1051-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes r1051-beacon{50%{box-shadow:inset 0 0 0 1px #fff3,0 0 18px #2de7ca38}}
@media(max-width:540px){#r1051AuthDialog{width:calc(100vw - 18px);border-radius:17px}#r1051AuthDialog .r1051-auth-head{padding:10px 13px;min-height:64px}#r1051AuthDialog .r1051-auth-foot{padding:8px 11px;font-size:9px}}
/* User should instantly know which controls can be clicked. Scope to real controls. */
:where(button:not([disabled]),[role="button"],a[href],summary,select,.record-link,.navbtn){cursor:pointer!important;-webkit-tap-highlight-color:transparent}
:where(button,[role="button"],.btn,.record-link,a[href]){transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,filter .16s ease,transform .16s ease,color .16s ease}
:where(button:not([disabled]),[role="button"],.btn:not([disabled]),.record-link,a[href]):hover{filter:brightness(1.055);text-decoration-thickness:1.5px}
:where(button:not([disabled]),[role="button"],.btn:not([disabled])):active{transform:translateY(1px) scale(.993)}
:where(button,a[href],[role="button"],input,select,textarea):focus-visible{outline:3px solid #23adbf!important;outline-offset:2px!important;box-shadow:0 0 0 5px #1ba7b626!important}
:where(button:disabled,[aria-disabled="true"]){cursor:not-allowed!important;opacity:.58}
/* Sign out is a deliberate, visible and keyboard-accessible action. */
#r968ProfilePanel #r968SignOut,#wfSignOut,#logoutBtn{cursor:pointer!important;background:#fff1f3!important;border:1px solid #e6a0ad!important;color:#a22d47!important;border-radius:10px!important;font-weight:750!important;padding:9px 13px!important;box-shadow:0 1px 3px #6b13200d!important;text-decoration:none!important;min-height:34px}
#r968ProfilePanel #r968SignOut::before,#wfSignOut::before,#logoutBtn::before{content:"↪";display:inline-block;margin-right:7px;font-size:15px;vertical-align:baseline}
#r968ProfilePanel #r968SignOut:hover,#wfSignOut:hover,#logoutBtn:hover{background:#cc4057!important;border-color:#cc4057!important;color:#fff!important;box-shadow:0 6px 16px #b3394d3d!important;transform:translateY(-1px)}
#r968ProfilePanel #r968SignOut:active,#wfSignOut:active,#logoutBtn:active{transform:translateY(1px)}
@media(prefers-reduced-motion:reduce){#r1051AuthDialog,#r1051AuthDialog::backdrop,#r1051AuthDialog .r1051-auth-icon{animation:none!important}*{scroll-behavior:auto!important} :where(button,.btn,a[href]){transition:none!important}}
