/* Shared access surface for the app login and the isolated first-administrator page. */
.co-access{--access-navy:#142840;--access-ink:#172b46;--access-gold:#eabb46;display:grid;grid-template-columns:minmax(0,46%) minmax(0,54%);min-height:100dvh;background:#fff;color:var(--access-ink);font-family:'Segoe UI',Arial,sans-serif}
.co-access *{box-sizing:border-box}.co-access-art{display:flex;flex-direction:column;min-width:0;background:var(--access-navy);color:#f5f8fc;padding:clamp(28px,4vw,64px) 0 0;overflow:hidden}.co-access-brand{display:inline-flex;align-items:center;gap:12px;font-size:19px;font-weight:750;line-height:1.25}.co-access-brand img{width:48px;height:48px;object-fit:contain;border-radius:12px}.co-access-brand>span>span{display:block;font-size:15px;font-weight:550;color:#a9cadb}.co-access-art>.co-access-brand,.co-access-message{margin-inline:clamp(24px,4.5vw,72px)}
.co-access-message{padding-block:clamp(28px,5vh,54px) 16px}.co-access-message>p:first-child{font-size:var(--rd-font-secondary,13px);font-weight:750;letter-spacing:.16em;color:#93d3e4;margin:0 0 24px}.co-access-message .co-access-slogan{font-size:clamp(32px,3.4vw,54px);line-height:1.13;letter-spacing:-.025em;margin:0 0 22px}.co-access-message .co-access-slogan span{color:var(--access-gold)}.co-access-message>p:last-child{font-size:15px;line-height:1.7;color:#c2d5e6;margin:0}.co-access-machinery{margin-top:auto;min-height:180px;aspect-ratio:2.05;max-height:45dvh;background:url('brand/login-machinery.png') center bottom/cover no-repeat}
.co-access-panel{display:flex;align-items:center;justify-content:center;padding:36px clamp(24px,6vw,96px);min-width:0}.co-access-form{width:100%;max-width:410px}.co-access-mobile-brand{display:none}.co-access-eyebrow{font-size:var(--rd-font-secondary,13px);letter-spacing:.14em;font-weight:750;color:#2d7b95;margin:0 0 14px}.co-access-form h1{font-size:clamp(26px,2.3vw,34px);line-height:1.2;letter-spacing:-.025em;margin:0 0 12px}.co-access-intro{color:#52677f;font-size:15px;line-height:1.5;margin:0 0 30px}.co-access form{display:flex;flex-direction:column;gap:9px;margin:0}.co-access form label{font-size:14px;line-height:1.4;font-weight:650;margin-top:12px}.co-access form label span{color:#b32642}.co-access input{width:100%;min-width:0;min-height:46px;border:1px solid #bccbdd;border-radius:9px;padding:10px 13px;color:var(--access-ink);background:#fff;font:inherit;font-size:16px}.co-access input:focus-visible,.co-access button:focus-visible{outline:3px solid #3989a5;outline-offset:2px}.co-access-password{position:relative}.co-access-password input{padding-right:53px}.co-access-password button{position:absolute;inset:1px 1px 1px auto;width:46px;min-height:44px;border:0;border-radius:8px;color:#52677f;background:transparent;display:grid;place-items:center;cursor:pointer}.co-access svg{width:20px;height:20px;flex-shrink:0}.co-access .co-access-submit{margin-top:16px;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--access-navy);border-radius:9px;padding:12px 16px;font:inherit;font-weight:700;background:var(--access-navy);color:#fff;cursor:pointer}.co-access .co-access-submit:hover{background:#213d5b}.co-access button:disabled,.co-access input:disabled{opacity:.65;cursor:wait}.co-access-error{font-size:14px;line-height:1.5;border:1px solid #e7b4bc;border-left:3px solid #b32642;background:#fff2f4;color:#9b1930;border-radius:6px;margin:8px 0 0;padding:10px 12px}.co-access-security{display:flex;align-items:flex-start;gap:8px;color:#52677f;font-size:var(--rd-font-secondary,13px);line-height:1.5;margin:18px 0 0}.co-access-security svg{width:16px;height:16px;margin-top:1px}
@media(max-width:760px){.co-access{grid-template-columns:minmax(0,1fr);border-top:4px solid var(--access-gold)}.co-access-art{display:none}.co-access-panel{padding:28px 24px}.co-access-mobile-brand{display:block;margin-bottom:40px}.co-access-mobile-brand .co-access-brand>span>span{color:#52677f}.co-access-form h1{font-size:29px}.co-access-form{max-width:420px}.co-access input{min-height:48px}.co-access .co-access-submit{min-height:50px}}
@media(max-height:650px) and (min-width:761px){.co-access-art{padding-top:28px}.co-access-message{padding-top:28px}.co-access-message>p:first-child{margin-bottom:16px}.co-access-message .co-access-slogan{font-size:36px;margin-bottom:16px}.co-access-panel{padding-block:24px}.co-access-machinery{max-height:32dvh}.co-access-intro{margin-bottom:16px}}

/* Let notices use their actual wrapped height; the form can grow when zoomed or invalid. */
body:has(>.co-access){min-height:100dvh;display:flex;flex-direction:column}body:has(>.co-access)>.co-access{flex:1;min-height:auto}body:has(>.co-access)>.co-local-demo-banner{flex:none}
.co-access-message .co-access-slogan{color:#f5f8fc;font-weight:750}.co-access-form h1{font-weight:700;color:var(--access-ink)}
.co-access input[aria-invalid="true"]{border-color:#b32642;background:#fff8f9;box-shadow:0 0 0 2px #b326421a}.co-access input[aria-invalid="true"]:focus-visible{outline-color:#b32642}.co-access-field-error{margin:0;color:#9b1930;font-size:14px;line-height:1.4}

/* The login provides its own keyboard-accessible password visibility button. */
.co-access-password input[type="password"]::-ms-reveal{display:none}

