/* Shared sign-in controls for every PH Connect demonstration. */
:root{--auth-ink:#202633;--auth-muted:#596274;--auth-line:#cdd3dd;--auth-surface:#f7f8fa}
.access-content,.login-card{min-width:0}
.access form,.login-card form{gap:20px}
.access label,.login-card label{font-size:16px;font-weight:600;line-height:1.5;color:var(--auth-ink)}
.access input,.access select,.login-card input{min-height:56px;font-size:16px;line-height:1.5;border:1px solid var(--auth-line);border-radius:10px;background:#fff;color:var(--auth-ink);box-shadow:none}
.access input:hover,.access select:hover,.login-card input:hover{border-color:#909bad}
.access input:focus,.access select:focus,.login-card input:focus{border-color:var(--purple,#211b38);outline:2px solid var(--purple,#211b38);outline-offset:2px}
.access .password-wrap,.login-card .password-wrap{position:relative;display:block;margin-top:8px;min-width:0}
.access .password-wrap>input,.login-card .password-wrap>input{display:block;width:100%;min-width:0;margin:0;padding:14px 106px 14px 16px}
.access .password-wrap>.show-password,.login-card .password-wrap>.show-password{position:absolute;inset:5px 5px 5px auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;width:90px;min-width:90px;min-height:44px;height:calc(100% - 10px);margin:0;padding:8px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--brand-link,var(--purple,#211b38));font:600 14px/1.2 Inter,system-ui,sans-serif;white-space:nowrap;text-decoration:none;cursor:pointer}
.show-password::before{content:"";display:block;flex:0 0 18px;width:18px;height:18px;background:currentColor;mask:var(--auth-eye) center/contain no-repeat;--auth-eye:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
.show-password[aria-pressed="true"]::before{--auth-eye:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 3 18 18M9.9 5.2A11.5 11.5 0 0 1 12 5c6.5 0 10 7 10 7a18 18 0 0 1-3 3.8M6.1 6.1A18 18 0 0 0 2 12s3.5 7 10 7a11.7 11.7 0 0 0 5.9-1.9M10 10a3 3 0 0 0 4 4'/%3E%3C/svg%3E")}
.access .password-wrap>.show-password:hover,.login-card .password-wrap>.show-password:hover{background:var(--auth-surface);text-decoration:none;filter:none}
.access .password-wrap>.show-password:focus-visible,.login-card .password-wrap>.show-password:focus-visible{outline:2px solid var(--brand-link,var(--purple,#211b38));outline-offset:-2px;background:var(--auth-surface)}
.password-wrap>input::-ms-reveal{display:none}
.access .submit,.login-card button[type="submit"]{min-height:56px;border-radius:10px;font-size:16px;line-height:1.5;font-weight:650;background:var(--purple,#211b38);border-color:var(--purple,#211b38);color:var(--brand-on-primary,#fff);box-shadow:none}
.access .submit:hover,.login-card button[type="submit"]:hover{background:var(--purple,#211b38);filter:brightness(.92)}
.access .submit:focus-visible,.login-card button[type="submit"]:focus-visible{outline:3px solid var(--brand-link,var(--purple,#211b38));outline-offset:4px}
.access .intro,.login-card>p{font-size:16px;line-height:1.65;color:var(--auth-muted)}
.access .field-hint,.access-footer{color:var(--auth-muted)}
.access .links{gap:8px 24px}
.access .links button{min-height:44px;font-size:16px;color:var(--brand-link,var(--purple,#211b38))}
.access .notice{border-left:0;border:1px solid var(--auth-line);border-radius:10px;font-size:16px}
.access .notice.error{border-color:#edbec6;color:#822d3b}
.access .auth-tabs button[aria-current="page"]{box-shadow:none}
@media(max-width:850px){
 .entry{box-shadow:none;border-radius:16px}
 .access{padding:26px 22px 30px}
 .access h2{font-size:26px;line-height:1.25}
 .access .intro{margin-bottom:24px}
 .access .auth-tabs{border-radius:10px}
 .access .auth-tabs button{border-radius:7px}
 .access-footer{font-size:14px;line-height:1.6}
}
@media(prefers-reduced-motion:no-preference){.show-password,input,select{transition:border-color .15s ease,background-color .15s ease}}
@media(forced-colors:active){.access .password-wrap>.show-password,.login-card .password-wrap>.show-password{border-color:ButtonText;color:ButtonText}}


/* Match authentication controls to the authenticated PH Connect console. */
:root{--ph-console-radius:5px}
.access input,.access select,.login-card input,
.access .submit,.login-card button[type="submit"],
.access .password-wrap>.show-password,.login-card .password-wrap>.show-password,
.access .notice,.entry,.access .auth-tabs,.access .auth-tabs button{border-radius:var(--ph-console-radius)}
.access form,.login-card form{gap:16px}
.access label,.login-card label{font-size:14px;font-weight:600}
.access input,.access select,.login-card input{min-height:48px;padding:11px 14px}
.access .password-wrap>input,.login-card .password-wrap>input{padding:11px 104px 11px 14px}
.access .submit,.login-card button[type="submit"]{min-height:48px;padding:11px 16px;font-size:15px;font-weight:600}
.access .password-wrap>.show-password,.login-card .password-wrap>.show-password{font-weight:600}
.access .links button{font-size:14px}
@media(max-width:850px){
 .entry,.access .auth-tabs,.access .auth-tabs button,.access input,.access select,.access .submit{border-radius:var(--ph-console-radius)}
 .access h2{font-size:24px}
 .access .intro{margin-bottom:20px}
}
