/* Scoped authentication workspace, shared by sign-in and registration. */
body:has(.auth-shell){background:#f4f6f7}#main-container.auth-shell{--auth-ink:#182f40;--auth-muted:#637380;--auth-line:#dbe3e7;--auth-surface:#fff;--auth-input:#f9fbfc;--auth-accent:#4654c7;display:grid;grid-template-columns:minmax(360px,.95fr) minmax(440px,1.05fr);min-height:calc(100svh - 64px);margin:0 24px 24px!important;border-radius:24px;overflow:hidden;background:var(--auth-surface);color:var(--auth-ink);font-family:inherit}.auth-shell *{box-sizing:border-box}.auth-intro{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;padding:40px 48px;background:linear-gradient(145deg,#102955 0%,#303173 58%,#503280 100%);color:#fff;overflow:hidden}.auth-intro:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 85% 80%,#7453c477,transparent 65%),linear-gradient(140deg,transparent 45%,#a5afff0d 45%,#a5afff0d 45.2%,transparent 45.2%)}.auth-wordmark{display:inline-flex;align-items:center;gap:12px;color:#fff!important;font-size:21px;font-weight:750;letter-spacing:-.6px;width:fit-content}.auth-story{padding:58px 0 24px;max-width:550px}.auth-eyebrow{font-size:10px!important;line-height:1.6;font-weight:750;letter-spacing:2px;margin:0 0 15px;color:var(--auth-accent)}.auth-intro .auth-eyebrow{color:#c2c8ee}.auth-story h2{font-size:clamp(38px,3.6vw,64px)!important;font-weight:650;line-height:1.1;letter-spacing:-2px;color:#fff;margin:0 0 22px}.auth-story em{font-style:normal;color:#dfd8ff}.auth-lead{max-width:360px;font-size:15px;line-height:1.8;color:#c0c9e1}.auth-orbit{position:relative;max-width:420px;height:260px;margin:30px 0 0}.auth-orbit-ring{position:absolute;inset:10px 30px;border:1px solid #ffffff21;border-radius:50%;transform:rotate(-20deg)}.auth-orbit-ring:after{content:"";position:absolute;inset:28px -35px;border:1px solid #ffffff12;border-radius:50%;transform:rotate(45deg)}.auth-orbit-core{position:absolute;left:20%;top:26%;padding:24px 28px;border:1px solid #adb3ed55;background:#ffffff09;backdrop-filter:blur(8px);border-radius:18px;transform:rotate(-4deg)}.auth-orbit-core span{display:block;font-size:10px;color:#c2c8ee;margin-bottom:9px}.auth-orbit-core strong{font-size:22px;line-height:1.3;color:#f0edff;font-weight:550}.auth-orbit-label{position:absolute;border:1px solid #ffffff30;background:#293a6c;border-radius:30px;padding:10px 16px;font-size:11px;color:#eeeaff;white-space:nowrap}.auth-orbit-one{top:7%;left:0}.auth-orbit-two{top:30%;right:0}.auth-orbit-three{bottom:5%;left:15%;background:#dfd8ff;color:#343069;border:0}.auth-intro-footer{font-size:11px;margin:0;color:#b7c1df}.auth-main{display:flex;flex-direction:column;justify-content:center;padding:48px clamp(30px,5vw,90px) 24px;min-width:0}.auth-card{width:100%;max-width:430px;margin:auto}.auth-company{display:flex;align-items:center;gap:12px;margin-bottom:45px;color:var(--auth-ink);font-size:14px;font-weight:650;overflow-wrap:anywhere}.auth-company img{width:auto;max-width:110px;max-height:52px;object-fit:contain}.auth-card h1{font-size:36px!important;font-weight:650;letter-spacing:-1.4px;line-height:1.2;color:var(--auth-ink);margin:0 0 12px}.auth-subtitle{font-size:14px;color:var(--auth-muted);line-height:1.65;margin:0 0 30px}.auth-form{display:grid;gap:20px}.auth-field{min-width:0}.auth-field label{display:block;color:var(--auth-ink);font-weight:600;font-size:12px;margin:0 0 9px}.auth-field input,.auth-field select{display:block;width:100%;min-width:0;height:49px;padding:12px 14px;border:1px solid var(--auth-line);border-radius:9px;background:var(--auth-input);color:var(--auth-ink);font:inherit;font-size:13px;box-shadow:none}.auth-field input::placeholder{color:var(--auth-muted);opacity:.85}.auth-field input:focus,.auth-field select:focus{border-color:var(--auth-accent);outline:3px solid #6879dc25;outline-offset:1px;background:var(--auth-surface)}.auth-shell :is(a,button):focus-visible{outline:3px solid #8793ed;outline-offset:4px}.auth-field [aria-invalid=true]{border-color:#b73f49}.auth-field [type=file]{height:auto;min-height:49px;padding:8px;font-size:12px}.auth-field [type=file]::file-selector-button{padding:6px 10px;border:0;border-radius:5px;background:#ecebfa;color:#414a85;margin-right:12px}.auth-password{position:relative}.auth-password input{padding-right:66px}.auth-password button{position:absolute;right:8px;top:7px;min-height:35px;background:transparent;border:0;border-radius:6px;padding:6px 8px;font-size:11px;font-weight:650;color:var(--auth-accent);cursor:pointer}.auth-label-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.auth-label-row a,.auth-back{font-size:11px;color:var(--auth-accent);font-weight:600}.auth-submit{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(110deg,#3859cf,#7549bb);color:#fff;border:1px solid transparent;border-radius:9px;min-height:50px;padding:13px 18px;font:inherit;font-size:13px;font-weight:650;cursor:pointer;transition:background .15s,transform .15s}.auth-submit:hover{background:#3942aa}.auth-submit:active{transform:translateY(1px)}.auth-submit span{font-size:19px;line-height:1}.auth-switch{font-size:12px;color:var(--auth-muted);text-align:center;margin:25px 0 0;line-height:1.8}.auth-switch a{font-weight:650;color:var(--auth-accent);white-space:nowrap}.auth-fineprint{border-top:1px solid var(--auth-line);padding-top:24px;margin:30px 0 0;text-align:center;font-size:11px;color:var(--auth-muted)}.auth-footer{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;max-width:560px;width:100%;margin:55px auto 0;font-size:10px;color:var(--auth-muted)}.auth-footer a{color:var(--auth-muted)}.auth-notice{border:1px solid var(--auth-line);border-left:3px solid #9ba8b0;padding:13px 15px;border-radius:8px;font-size:12px;line-height:1.7;margin:0 0 18px;background:var(--auth-input)}.auth-notice-danger{border-left-color:#bc4554}.auth-notice-warning{border-left-color:#b27a19}.auth-notice-success{border-left-color:#5866ca}.auth-notice ul{padding-left:18px;margin:5px 0 0}.auth-register .auth-card{max-width:560px}.auth-register .auth-main{padding-top:32px}.auth-register .auth-company{margin-bottom:20px}.auth-back{display:inline-block;margin-bottom:25px}.auth-register .auth-subtitle{margin-bottom:24px}.auth-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}.auth-full{grid-column:1/-1}.auth-field-help{font-size:11px;line-height:1.65;color:var(--auth-muted);margin:7px 0 0}.auth-form-grid>p.auth-field-help{margin-top:-9px}.auth-optional{font-size:10px;color:var(--auth-muted);font-weight:400;margin-left:4px}.auth-field-error{font-size:11px;line-height:1.5;color:#b12f40;margin:7px 0 0}.auth-field-error:empty{display:none}html[data-risk-theme=dark] #main-container.auth-shell{--auth-ink:#e4edf2;--auth-muted:#a6b7c2;--auth-line:#354653;--auth-surface:#1b2a35;--auth-input:#21323e;--auth-accent:#b9c5ff}html[data-risk-theme=dark] .auth-submit{background:#bdc8ff;color:#1d285b}html[data-risk-theme=dark] .auth-submit:hover{background:#d4dcff}html[data-risk-theme=dark] body:has(.auth-shell){background:#111f29}html[data-risk-theme=dark] .auth-field-error{color:#ffb5bf}
@media(min-width:1500px){.auth-shell{max-width:1550px;margin-left:auto!important;margin-right:auto!important}}@media(max-width:1000px){.auth-shell{grid-template-columns:minmax(280px,.8fr) minmax(380px,1fr);margin:0 16px 16px!important}.auth-intro{padding:32px 28px}.auth-main{padding:40px 30px 24px}.auth-story h2{font-size:40px!important}.auth-orbit-label{font-size:10px;padding:9px 11px}.auth-orbit-two{right:-10px}.auth-card h1{font-size:32px!important}}@media(max-width:760px){#main-container.auth-shell{display:block;border-radius:18px;margin:0 12px 12px!important;min-height:calc(100svh - 64px)}.auth-intro{padding:20px 24px}.auth-story,.auth-intro-footer{display:none}.auth-wordmark{font-size:18px}.auth-main,.auth-register .auth-main{padding:28px 24px 20px}.auth-card{max-width:470px}.auth-company{margin-bottom:28px}.auth-footer{margin-top:35px}.auth-company img{max-height:42px}.auth-register .auth-card{max-width:560px}}@media(max-width:420px){.auth-form-grid{grid-template-columns:1fr}.auth-main,.auth-register .auth-main{padding:25px 20px 20px}.auth-card h1{font-size:30px!important}.auth-label-row a{font-size:10px}.auth-story{display:none}}@media(prefers-reduced-motion:reduce){.auth-submit{transition:none}}

#main-container.auth-shell{padding:0;background:var(--auth-surface)!important}
.auth-main{background:var(--auth-surface)}.auth-password button{top:2px;right:4px;min-height:44px;min-width:50px}.auth-back{min-height:30px;align-content:center}

.auth-product-logo{display:block;width:150px;height:auto;border-radius:7px}.auth-intro-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.auth-vendor{display:flex;align-items:center;gap:9px;font-size:10px}.auth-vendor img{display:block;width:78px;height:auto;padding:5px 7px;border-radius:6px;background:#fff}.auth-story h2{max-width:540px}@media(max-width:760px){.auth-product-logo{width:115px}.auth-intro-footer{display:none}}
/* Use the viewport as the frame; keep overflow available for zoom and validation. */
body:has(.auth-shell) #page-container{padding:16px;min-height:100svh}
body:has(.auth-shell) .app-simple-theme{position:fixed;top:26px;right:28px;z-index:5;padding:0}
#main-container.auth-shell{margin:0 auto!important;min-height:calc(100svh - 32px);width:100%}
.auth-product-logo{width:120px;max-width:100%;height:40px;object-fit:contain;border-radius:4px}
.auth-vendor img{width:126px;height:auto;padding:7px 10px;border-radius:7px}
.auth-vendor{gap:10px}.auth-intro-footer{gap:12px}
@media(min-width:761px) and (max-height:900px){
 .auth-intro{padding:28px 36px}.auth-story{padding:25px 0 18px}.auth-story h2{font-size:clamp(36px,3.2vw,49px)!important;margin-bottom:16px}.auth-lead{font-size:13px;line-height:1.7;margin-bottom:12px}.auth-orbit{height:190px;margin-top:18px;max-width:370px}.auth-orbit-core{padding:18px 23px}.auth-orbit-core strong{font-size:19px}.auth-intro-footer{font-size:10px}
 .auth-main,.auth-register .auth-main{padding:26px clamp(28px,4vw,68px) 18px}.auth-company,.auth-register .auth-company{margin-bottom:20px;padding-right:35px}.auth-company img{max-height:40px}.auth-card h1{font-size:30px!important;margin-bottom:9px}.auth-eyebrow{margin-bottom:9px}.auth-subtitle,.auth-register .auth-subtitle{margin-bottom:20px;font-size:13px}.auth-footer{margin-top:24px}.auth-fineprint{padding-top:16px;margin-top:22px}
 .auth-register .auth-form{gap:12px 16px}.auth-register .auth-field label{margin-bottom:6px}.auth-register .auth-field input,.auth-register .auth-field select{height:44px;padding:10px 12px}.auth-register .auth-password input{padding-right:66px}.auth-register .auth-password button{top:0;min-height:44px}.auth-register .auth-submit{min-height:44px;padding:10px 16px}.auth-register .auth-field [type=file]{padding:5px;height:auto;min-height:44px}.auth-register .auth-switch{margin-top:16px}.auth-register .auth-field-help{font-size:10px}.auth-register .auth-form-grid>p.auth-field-help{margin-top:-5px}.auth-register .auth-notice{padding:8px 12px;margin-bottom:12px}
}
@media(max-width:760px){body:has(.auth-shell) #page-container{padding:10px}#main-container.auth-shell{min-height:calc(100svh - 20px)}body:has(.auth-shell) .app-simple-theme{top:20px;right:22px}.auth-intro{padding:16px 20px}.auth-product-logo{width:120px;height:40px}.auth-company{padding-right:0}}
@media(min-width:761px) and (max-height:900px){.auth-register .auth-footer{margin-top:18px}}

/* Small, unframed brand marks: retain intrinsic proportions without enlargement. */
.auth-wordmark{padding:0;line-height:0;flex-shrink:0}
.auth-wordmark .auth-product-logo{display:block;width:96px;height:auto;max-width:100%;aspect-ratio:3/1;object-fit:contain;flex:0 0 auto;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;filter:none;transform:none}
.auth-footer-brand{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.auth-credit{display:inline-flex;align-items:center;gap:6px}
.auth-credit img{display:block;width:96px;height:auto;max-width:100%;object-fit:contain;flex:0 0 auto;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;filter:none;transform:none}
.auth-company img{display:block;flex:0 0 auto;height:auto;object-fit:contain;box-shadow:none;filter:none;transform:none}
@media(min-width:761px) and (max-height:900px){.auth-register .auth-footer{margin-top:8px}}
/* Keep the company identity aligned and protect original artwork in either theme. */
.auth-company{align-items:center;gap:12px;min-height:40px}
.auth-company-mark{display:flex;align-items:center;justify-content:center;flex:0 0 auto;max-width:104px;min-height:40px;padding:4px 6px;background:#fff;border:1px solid #e2e7ef;border-radius:5px}
.auth-company-mark img{width:auto;height:auto;max-width:90px;max-height:32px}
.auth-company-name{min-width:0;max-width:100%;font-size:15px;line-height:1.45;font-weight:650;overflow-wrap:anywhere}
.auth-credit .auth-setilas-dark{display:none}
html[data-risk-theme=dark] .auth-credit .auth-setilas-light{display:none}
html[data-risk-theme=dark] .auth-credit .auth-setilas-dark{display:block}
html[data-risk-theme=dark] #main-container.auth-shell .auth-main{background:#1b2a35;color:#e4edf2}
html[data-risk-theme=dark] #main-container.auth-shell .auth-field input,
html[data-risk-theme=dark] #main-container.auth-shell .auth-field select{background:#21323e;color:#e4edf2;border-color:#465666;color-scheme:dark}
html[data-risk-theme=dark] #main-container.auth-shell .auth-field input:focus,
html[data-risk-theme=dark] #main-container.auth-shell .auth-field select:focus{background:#243847;border-color:#b9c5ff}
html[data-risk-theme=dark] #main-container.auth-shell .auth-field input::placeholder{color:#a6b7c2;opacity:1}
html[data-risk-theme=dark] #main-container.auth-shell .auth-password button{color:#c4ceff}
html[data-risk-theme=dark] #main-container.auth-shell .auth-field input:-webkit-autofill{-webkit-text-fill-color:#e4edf2;box-shadow:0 0 0 1000px #21323e inset;caret-color:#e4edf2}
html[data-risk-theme=dark] #main-container.auth-shell .auth-field [type=file]::file-selector-button{background:#36465e;color:#e4edf2}
@media(min-width:761px) and (max-height:900px){.auth-register .auth-company{margin-bottom:12px}.auth-register .auth-main{padding-top:20px;padding-bottom:14px}}
/* Light mode: clear blue structure and quiet surfaces instead of a lavender wash. */
html:not([data-risk-theme=dark]) .auth-intro{background:linear-gradient(155deg,#edf4ff 0%,#f6f9ff 65%,#eef4fc 100%);color:#172f55;border-right:1px solid #e1e9f5}
html:not([data-risk-theme=dark]) .auth-intro:before{background:linear-gradient(140deg,transparent 48%,#3761a708 48%,#3761a708 48.2%,transparent 48.2%)}
html:not([data-risk-theme=dark]) .auth-story h2{color:#172f55;letter-spacing:-1.5px}
html:not([data-risk-theme=dark]) .auth-story em{color:#2457b5}
html:not([data-risk-theme=dark]) .auth-intro .auth-eyebrow{color:#375b93}
html:not([data-risk-theme=dark]) .auth-lead{color:#425b7b}
html:not([data-risk-theme=dark]) .auth-orbit-ring,
html:not([data-risk-theme=dark]) .auth-orbit-ring:after{display:none}
html:not([data-risk-theme=dark]) .auth-orbit-core{transform:none;border-color:#c7d6ed;background:#fff;box-shadow:0 8px 24px #254c8210}
html:not([data-risk-theme=dark]) .auth-orbit-core span{color:#526883}
html:not([data-risk-theme=dark]) .auth-orbit-core strong{color:#213f69}
html:not([data-risk-theme=dark]) .auth-orbit-label{background:#fff;border-color:#c7d6ed;color:#2c4d7b}
html:not([data-risk-theme=dark]) .auth-orbit-three{background:#e2edfc;border-color:#b9cfee;color:#244b83}
html:not([data-risk-theme=dark]) .auth-intro-footer{color:#526883}
html:not([data-risk-theme=dark]) #main-container.auth-shell{--auth-ink:#182f40;--auth-muted:#526478;--auth-line:#cbd6e3;--auth-input:#fbfcfe;--auth-accent:#2855b2}
html:not([data-risk-theme=dark]) .auth-submit{background:#315ac2;color:#fff}
html:not([data-risk-theme=dark]) .auth-submit:hover{background:#244aa5}
@media(max-width:760px){html:not([data-risk-theme=dark]) .auth-intro{border-right:0;border-bottom:1px solid #e1e9f5}}

/* Vector connectors and real text stay crisp at any screen density. */
.auth-wire{position:relative;width:100%;max-width:440px;height:240px;margin-top:26px;color:#aabcef}
.auth-wire-lines{display:block;width:100%;height:100%;overflow:visible}
.auth-wire-node,.auth-wire-hub{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;background:#263967;border:1px solid #8198d16b;color:#edf2ff;border-radius:9px}
.auth-wire-node{min-width:76px;min-height:36px;padding:7px 13px;font-size:12px;font-weight:600;line-height:1.4}
.auth-wire-grc{left:14.77%;top:12.5%}.auth-wire-quality{left:85.23%;top:12.5%}.auth-wire-hse{left:14.77%;top:77.08%}.auth-wire-energy{left:85.23%;top:77.08%}.auth-wire-esg{left:50%;top:91.67%}
.auth-wire-hub{left:50%;top:45.83%;width:168px;min-height:68px;flex-direction:column;gap:5px;padding:12px;background:#22365d}
.auth-wire-hub strong{font-size:19px;font-weight:650;letter-spacing:.03em}.auth-wire-hub span{font-size:10px;color:#c9d5f2;line-height:1.4}
html:not([data-risk-theme=dark]) .auth-wire{color:#7897cd}
html:not([data-risk-theme=dark]) .auth-wire-node{background:#fff;border-color:#bfcfe8;color:#294c7c}
html:not([data-risk-theme=dark]) .auth-wire-hub{background:#edf4ff;border-color:#adc3e6;color:#20477f}
html:not([data-risk-theme=dark]) .auth-wire-hub span{color:#456284}
#main-container.auth-shell .auth-lead{font-size:15px;line-height:1.8;font-weight:450;max-width:410px}
.auth-intro .auth-eyebrow{font-size:11px!important;letter-spacing:1.5px}.auth-intro-footer{font-size:12px}.auth-footer{font-size:11px}
.auth-wordmark .auth-product-logo{width:120px}.auth-credit img{width:110px}
@media(min-width:761px) and (max-height:900px){.auth-wire{height:190px;margin-top:18px}.auth-wire-node{min-height:32px;font-size:11px}.auth-wire-hub{min-height:60px;width:155px;padding:9px}.auth-wire-hub strong{font-size:17px}.auth-intro-footer{font-size:11px}.auth-footer{font-size:10px}}
@media(min-width:761px) and (max-height:900px){.auth-register .auth-main{padding-top:16px}}

/* A high-resolution master replaces the former 120px source. */
.auth-wordmark .auth-product-logo{width:156px;height:auto}
@media(max-width:760px){.auth-wordmark .auth-product-logo{width:132px}}
