/* Runtime adaptation of the UAT auth frame to the approved investor light theme.
   Source geometry is retained in auth-reference.css; dashboard assets stay locked. */
body.hps-auth-body{margin:0;background:#f3f6fa;color:#142d43;font-family:"IBM Plex Sans Arabic","IBM Plex Sans",sans-serif}
.hps-auth-body *{box-sizing:border-box}
.hps-auth-body .o_hps_auth_page{--hps-bg:#f3f6fa;--hps-bg-elevated:#eef3f8;--hps-ink:#243d53;--hps-ink-strong:#102b42;--hps-border:#d5e1eb;--hps-accent-strong:#00a7c2;--hps-font:"IBM Plex Sans Arabic","IBM Plex Sans",sans-serif;--hps-font-latin:"IBM Plex Sans",sans-serif;min-height:100vh;max-width:none;margin:0;border:0;border-radius:0}
.hps-auth-body .hps-auth{min-height:100vh;display:flex;flex-direction:column}
.hps-auth-body .hps-auth .auth-header{border-color:var(--hps-border);background:#fff}
.hps-auth-body .hps-auth .auth-brand-logo{width:146px;height:60px;max-width:100%;object-fit:contain}
.hps-auth-body .auth-logo-link{display:block;padding:5px 12px;border-radius:7px;background:#071c2e}
.hps-auth-body .hps-auth .auth-brand-tag{color:#08778d;font:500 .85rem/1.6 var(--hps-font);letter-spacing:0;border-color:#cbdde6}
.hps-auth-body .auth-environment{border:1px solid #d5e1eb;background:#f5f8fb;color:#536c80;padding:6px 12px;border-radius:6px;font-size:.75rem;white-space:nowrap}
.hps-auth-body .hps-auth .auth-layout{flex:1;min-height:620px}
.hps-auth-body .hps-auth .auth-aside{border-color:var(--hps-border)}
.hps-auth-body .hps-auth .auth-content{background:transparent}
.hps-auth-body .hps-auth .auth-subtitle,.hps-auth-body .hps-auth .auth-card-heading p{color:#5b7286}
.hps-auth-body .hps-auth .auth-required{color:#63788b}
.hps-auth-body .hps-auth .hps-card{padding:27px 30px;background:#fff;border:1px solid #d5e1eb;border-radius:12px;box-shadow:0 4px 20px #17384b05}
.hps-auth-body .hps-segmented{display:flex;gap:3px;padding:4px;border:1px solid #d5e1eb;background:#eaf0f6;border-radius:8px;white-space:nowrap}
.hps-auth-body .hps-segmented a{padding:8px 14px;color:#526b7f;text-decoration:none;border-radius:5px;font-size:.8rem}
.hps-auth-body .hps-segmented a.active{color:#006e83;background:#fff;box-shadow:0 1px 5px #17384b12}
.hps-auth-body .hps-auth .auth-field{border-color:#e0e8ef;background:transparent}
.hps-auth-body .hps-auth .field-icon{color:#29869c}
.hps-auth-body .hps-auth .hps-label{display:block;color:#3c566e;margin-bottom:7px;font-size:.8rem}
.hps-auth-body .hps-auth input,.hps-auth-body .hps-auth select,.hps-auth-body .hps-auth textarea{font:inherit;color:#153349;background:#f8fafc;border:1px solid #cad9e5;border-radius:7px;padding:10px 12px;max-width:100%}
.hps-auth-body .hps-auth .hps-input{width:100%;min-height:46px}
.hps-auth-body .hps-auth input:focus,.hps-auth-body .hps-auth select:focus,.hps-auth-body .hps-auth textarea:focus{outline:2px solid #008faa;outline-offset:2px}
.hps-auth-body .hps-auth .hps-icon{width:21px;height:21px;flex:none}
.hps-auth-body .hps-auth a{color:#00788f}
.hps-auth-body .hps-auth .required,.hps-auth-body .hps-auth em{color:#b54751;font-style:normal}
.hps-auth-body .hps-auth .hps-btn,.hps-auth-body .auth button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:46px;padding:11px 28px;border:1px solid #008fa9;border-radius:7px;background:#008fa9;color:#fff;font:500 .9rem var(--hps-font);cursor:pointer}
.hps-auth-body .hps-auth .hps-btn:hover,.hps-auth-body .auth button:hover{background:#007b93}
.hps-auth-body .auth-password{display:flex;align-items:stretch;gap:8px}
.hps-auth-body .auth-password input{min-width:0}
.hps-auth-body .auth-password button,.hps-auth-body .auth-signout button{font:inherit;font-size:.8rem;padding:8px 12px;border:1px solid #d5e1eb;border-radius:7px;background:#f3f7fa;color:#00788f;cursor:pointer}
.hps-auth-body .auth-errors,.hps-auth-body .errorlist{color:#a32a40;font-size:.83rem}
.hps-auth-body .auth-errors{padding:8px 0}
.hps-auth-body .errorlist{padding-inline-start:20px}
.hps-auth-body .hps-auth .auth-footer-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 40px;border-color:var(--hps-border);color:#647b8f;background:#fff;font-size:.75rem}
.hps-auth-body .auth-skip{position:fixed;top:-100px;right:10px;z-index:100;background:#fff;padding:12px;color:#006a80}
.hps-auth-body .auth-skip:focus{top:10px}
.hps-auth-body :focus-visible{outline:2px solid #008faa;outline-offset:3px}
.hps-auth-body .auth-card-narrow{max-width:760px}
.hps-auth-body .auth h1{font-size:1.75rem;margin-bottom:16px}
.hps-auth-body .auth p{margin-block:14px}
.hps-auth-body .auth label{display:block;margin-bottom:7px}
.hps-auth-body .auth input:not([type=checkbox]),.hps-auth-body .auth select,.hps-auth-body .auth textarea{width:100%}
.hps-auth-body .auth .helptext{display:block;font-size:.8rem;color:#5b7286;margin-top:7px}
.hps-auth-body .auth form ul{padding-inline-start:22px}
.hps-auth-body .auth-qr-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;align-items:start}
.hps-auth-body .auth-qr{padding:8px;background:#fff;border:1px solid #d5e1eb;border-radius:10px}
.hps-auth-body .auth-qr svg{display:block;width:100%;height:auto}
.hps-auth-body .hps-auth .auth-qr-content h2{font-size:1.1rem}
.hps-auth-body .hps-auth .auth-qr-content p{margin-block:12px;color:#506b80;font-size:.88rem}
.hps-auth-body .auth-qr-content bdi{overflow-wrap:anywhere}
.hps-auth-body .auth-factor-form label{display:block;margin-bottom:8px;color:#243d53}
.hps-auth-body .auth-factor-form input{display:block;width:200px;letter-spacing:.4em;text-align:center;font-size:1.2rem}
.hps-auth-body .auth-manual-key{margin-top:26px;padding-top:20px;border-top:1px solid #e0e8ef;font-size:.85rem}
.hps-auth-body .auth-manual-key summary{color:#00788f;cursor:pointer}
.hps-auth-body .hps-auth .auth-manual-key p{margin-top:12px;color:#506b80}
.hps-auth-body .auth-manual-key code{display:block;margin-top:12px;overflow-wrap:anywhere;user-select:all}
.hps-auth-body .hps-auth .auth-note{margin-top:20px;font-size:.8rem;color:#5b7286}
.hps-auth-body .auth-signout{margin-top:20px}
.hps-auth-body .hps-auth .auth-trust{display:flex;align-items:flex-start;gap:10px;font-size:.88rem;margin:20px 0 8px;cursor:pointer}
.hps-auth-body .hps-auth .auth-trust input[type=checkbox]{display:inline-block;flex:0 0 18px;width:18px;height:18px;min-height:0;padding:0;margin:3px 0 0;accent-color:#008fa9}
.hps-auth-body .auth-security-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #d5e1eb;padding-bottom:20px;margin-bottom:24px}
.hps-auth-body .auth-security-row a{white-space:nowrap}
.hps-auth-body .auth-device{padding:18px 0;border-bottom:1px solid #e4ebf1}
.hps-auth-body .auth-device small{display:block;margin-top:8px;color:#536c80;line-height:1.8}
.hps-auth-body .auth-device-current{display:inline-block;margin-inline-start:10px;border-radius:4px;background:#e7f6f7;color:#00778b;padding:2px 8px;font-size:.75rem}
.hps-auth-body .auth-security-notice{padding:16px 20px;margin-bottom:18px;background:#eaf5f7;border:1px solid #bfdce1;border-radius:8px;color:#285566;font-size:.9rem}
.hps-auth-body .auth-revoke{margin-top:24px}
.hps-auth-body .auth-security-actions{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:600px){.hps-auth-body .auth-security-row{display:block}.hps-auth-body .auth-security-actions button{width:100%;font-size:.8rem}}
@media(max-width:1100px){.hps-auth-body .hps-auth .auth-heading{flex-wrap:wrap}.hps-auth-body .auth-qr-grid{grid-template-columns:200px minmax(0,1fr);gap:22px}}
@media(max-width:900px){.hps-auth-body .auth-qr-grid{grid-template-columns:1fr}.hps-auth-body .auth-qr{width:240px;max-width:100%;margin-inline:auto}}
@media(max-width:600px){.hps-auth-body .hps-auth .auth-header{height:auto;min-height:88px;padding:12px 18px;gap:10px}.hps-auth-body .hps-auth .auth-brand{gap:10px}.hps-auth-body .hps-auth .auth-brand-logo{width:100px;height:46px}.hps-auth-body .hps-auth .auth-brand-tag{font-size:.72rem;padding-inline-start:10px}.hps-auth-body .auth-environment{font-size:.65rem;padding:5px 7px}.hps-auth-body .hps-auth .auth-heading h1{font-size:1.65rem}.hps-auth-body .hps-auth .hps-card{padding:22px 16px}.hps-auth-body .hps-auth .auth-required{display:none}.hps-auth-body .hps-auth input,.hps-auth-body .hps-auth select,.hps-auth-body .hps-auth textarea{font-size:16px}.hps-auth-body .hps-auth .auth-footer-bar{padding:20px 18px}.hps-auth-body .hps-auth .auth-layout{min-height:0}}
