/* Full-bleed artwork with an independent right-hand form.
   A single overlay at every width: never an image followed by a second page. */
.reference-auth{display:block;margin:0;padding:0;min-height:100svh;background:#071d36;color:#e4f0ff}
.ui-symbols{position:absolute;overflow:hidden;pointer-events:none}.ui-icon{flex-shrink:0}
.reference-stage{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-end;width:100%;min-height:100svh;margin:0;padding:clamp(20px,5svh,64px) clamp(20px,3.2vw,84px);background:#092541 url("images/reference-login.92af08577555.webp") center/100% 100% no-repeat}
/* Only the old painted card is replaced; the rest remains the original image. */
.reference-stage::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:url("images/reference-login-fullbleed.4ffaad16de00.webp") center/100% 100% no-repeat;clip-path:inset(8.5% 10.5% 15.5% 61.3%)}
.reference-auth .petroleum-header,.reference-auth .auth-brand-panel,.reference-auth .auth-features,.reference-auth .petroleum-footer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.reference-auth .auth-shell{display:block;position:relative;width:clamp(354px,27vw,480px);max-width:100%;min-height:0;margin:0;padding:0;border:0;background:none;border-radius:0;box-shadow:none;overflow:visible}
.reference-auth .auth-main{position:relative;width:100%;max-width:none;padding:0;margin:0;display:block;background:none;border:0}
.reference-auth .auth-box{position:relative;width:100%;max-width:none;padding:clamp(28px,2.3vw,40px);border:1px solid #8ebfeb9c;border-radius:24px;background:linear-gradient(145deg,#244c76ed,#092448f2);box-shadow:0 18px 60px #00102570,inset 0 1px 0 #caeaff9c,inset 0 0 25px #75baff15;color:#d5e6ff;backdrop-filter:blur(12px)}
.reference-auth .auth-box::before{content:"";position:absolute;top:-1px;left:15%;right:15%;height:2px;background:linear-gradient(90deg,transparent,#cbeaff,transparent);box-shadow:0 0 18px #80c5ff;pointer-events:none}
.reference-auth .auth-heading{text-align:center;margin:0 0 30px}
.reference-auth .auth-heading .auth-eyebrow{display:none}
.reference-auth .auth-heading h1{font-size:clamp(30px,2.5vw,40px);line-height:1.25;letter-spacing:.08em;font-weight:750;color:#eaf4ff;margin:0 0 10px;text-shadow:0 2px 10px #7ab7ff30}
.reference-auth .auth-heading>p:last-child{font-size:14px;letter-spacing:.08em;line-height:1.7;color:#c2daf7;margin:0}
.reference-auth .ref-login-field{height:70px;border:1px solid #84abd180;background:linear-gradient(110deg,#7594bb32,#668bb611);border-radius:10px;padding:0;position:relative;box-shadow:inset 0 1px #adcded11}
.reference-auth .ref-login-field+.ref-login-field{margin-top:20px}
.reference-auth .ref-login-field>.ui-icon{position:absolute;left:17px;top:24px;width:23px;height:25px;color:#c2dfff}
.reference-auth .ref-login-field>label{position:absolute;left:54px;top:9px;font-size:14px;line-height:22px;margin:0;font-weight:400;color:#dfedff;letter-spacing:.08em}
.reference-auth .ref-login-field input{position:absolute;left:51px;bottom:8px;width:calc(100% - 65px);height:28px;font-size:16px;line-height:24px;padding:0 3px;background:transparent;color:#fff;border:0;border-radius:3px;box-shadow:none;transition:none;color-scheme:dark}
.reference-auth .ref-login-field input::placeholder{color:#a0bad6}
.reference-auth .ref-login-field:focus-within{border-color:#99d2ff;box-shadow:0 0 0 3px #57a6ff25}
.reference-auth .ref-login-field input:focus{outline:0;background:transparent;box-shadow:none}
.reference-auth .ref-login-field input[name=password]{width:calc(100% - 99px)}
.reference-auth input:autofill{box-shadow:inset 0 0 0 100px #24466b;-webkit-text-fill-color:#fff;caret-color:#fff}
.reference-auth .ref-password-toggle{position:absolute;right:9px;top:17px;height:38px;width:34px;display:flex;align-items:center;justify-content:center;background:none;border:0;padding:0;color:#bdd8f2;cursor:pointer}
.reference-auth .ref-password-toggle[hidden]{display:none}
.ref-password-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ref-password-toggle[aria-pressed=true] .eye-slash{display:none}
.reference-auth .auth-remember{display:flex;align-items:center;justify-content:space-between;position:relative;margin:22px 0 26px;min-height:24px}
.reference-auth .auth-remember>label{font-size:13px;line-height:22px;gap:8px;color:#dbeaff;letter-spacing:0;align-items:center}
.reference-auth .auth-remember input[type=checkbox]{width:18px;height:18px;flex-basis:18px;margin:0;accent-color:#168cf5}
.reference-auth .auth-remember small{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.reference-auth .ref-password-help{position:relative;font-size:13px;line-height:22px;color:#89d2ff;text-align:right;z-index:3}
.ref-password-help summary{cursor:pointer;list-style:none}.ref-password-help summary::-webkit-details-marker{display:none}
.reference-auth .ref-password-help p{position:absolute;right:0;top:100%;width:min(280px,72vw);margin:8px 0;padding:14px;font-size:13px;line-height:1.7;border:1px solid #8dc0ed80;border-radius:8px;background:#092440;color:#dcecff;box-shadow:0 8px 24px #00152caa;text-align:left}
.reference-auth .auth-remember:has(.ref-password-help[open]){padding-bottom:90px}
.reference-auth .auth-submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:10px 16px;font-size:22px;letter-spacing:.3em;font-weight:650;line-height:1.4;border:1px solid #fb6171;border-radius:9px;color:#fff;background:linear-gradient(#f42b43,#d80e28 52%,#bd081f);box-shadow:0 5px 22px #ef203435,inset 0 1px #ff8591;margin:0}
.reference-auth .auth-submit:hover{background:linear-gradient(#ff4059,#cc102a);border-color:#ff919f}
.reference-auth .auth-submit:focus-visible{outline:3px solid #cdeaff;outline-offset:4px}
.reference-auth .auth-switch{display:block;margin-top:16px;position:relative;text-align:center;color:#c0d7ee;font-size:13px;line-height:1.7}
.reference-auth .auth-switch a{color:#d7eeff}
.reference-auth .ref-register-link{display:flex;justify-content:center;align-items:center;min-height:49px;border:1px solid #c3dfffbd;border-radius:8px;color:#e4efff;font-size:21px;font-weight:400;letter-spacing:.3em;background:#071d3740;text-decoration:none}
.reference-auth .ref-register-link:hover{background:#608ac233}
.reference-auth .auth-audit-notice{position:static;font-size:11px;line-height:1.7;margin:21px 0 0;padding:16px 0 0;border:0;border-top:1px solid #a8cce82e;color:#b4cce4;background:none;text-align:center}
.reference-auth .auth-box-register{padding-top:26px;padding-bottom:24px}
.reference-auth .auth-box-register .auth-heading{margin-bottom:22px}
.reference-auth .auth-box-register .auth-heading h1{font-size:30px;letter-spacing:.05em;margin-bottom:7px}
.reference-auth .auth-box-register .auth-heading>p:last-child{font-size:13px;letter-spacing:.03em}
.reference-auth .auth-register-fields{display:grid;grid-template-columns:1fr;gap:12px}
.reference-auth .auth-register-fields .auth-field{margin:0}
.reference-auth .auth-register-fields label{font-size:13px;line-height:1.4;color:#dceafe;margin-bottom:6px;font-weight:500}
.reference-auth .auth-register-fields input{height:42px;border-radius:8px;padding:8px 12px;font-size:16px;border-color:#87add480;background:#5c81ad24;color:#fff;box-shadow:none;color-scheme:dark}
.reference-auth .auth-register-fields input:focus{border-color:#9ed6ff;box-shadow:0 0 0 3px #57a6ff20;outline:0}
.reference-auth .auth-register-fields small{font-size:11px;line-height:1.5;color:#b5cde5;margin-top:4px}
.reference-auth .auth-register-fields .sr-only{margin:0}
.reference-auth .auth-acknowledgement{padding:0;margin:16px 0;border:0;background:none}
.reference-auth .auth-acknowledgement>label{font-size:11px;color:#bbd4ed;line-height:1.65;gap:8px}
.reference-auth .auth-acknowledgement input[type=checkbox]{width:17px;height:17px;flex-basis:17px;margin:1px 0 0;accent-color:#168cf5}
.reference-auth .auth-box-register .auth-submit{font-size:17px;letter-spacing:.08em;min-height:46px}
.reference-auth .auth-box-register .auth-switch{margin-top:13px}
.reference-auth .auth-box-register .auth-audit-notice{margin-top:12px;padding-top:10px;font-size:11px}
.reference-auth .errorlist{color:#ffdee1;background:#5d1b36;border:1px solid #ed90a5;font-size:12px;padding:9px 11px;line-height:1.5;margin:8px 0}
.reference-auth .ref-login-field:has(.errorlist){margin-bottom:58px}
.reference-auth .ref-login-field [role=alert]{position:absolute;top:100%;left:0;width:100%}
@media(max-width:1000px){.reference-stage{padding:24px}.reference-auth .auth-shell{width:354px}.reference-auth .auth-box{padding:26px}.reference-auth .auth-box-register{padding:24px}}
@media(max-aspect-ratio:5/4){.reference-stage{background-image:url("images/reference-login-fullbleed.4ffaad16de00.webp");background-size:cover;background-position:32% center}.reference-stage::before{display:none}}
@media(max-width:520px){.reference-stage{padding:20px 16px;align-items:center}.reference-auth .auth-shell{width:100%}.reference-auth .auth-box{padding:26px 23px;border-radius:20px}.reference-auth .auth-heading h1{font-size:30px}.reference-auth .auth-box-register{padding:24px 23px}.reference-auth .auth-box-register .auth-heading h1{font-size:28px}}
.reference-auth[data-auth-view=register] .reference-stage{padding-block:20px;background-image:linear-gradient(90deg,#02142705,#031a3326 60%,#02142966),url("images/registration-warehouse.8de44f841feb.webp");background-size:cover;background-position:center}
.reference-auth[data-auth-view=register] .reference-stage::before{display:none}
@media(prefers-reduced-motion:reduce){.reference-auth *{transition:none!important}}

/* Mainland filing: visible in the form card, not the legacy hidden footer. */
.reference-auth .auth-icp{margin:14px 0 0;padding:12px 0 0;border-top:1px solid #a8cce82e;text-align:center;font-size:12px;line-height:1.6;letter-spacing:0}
.reference-auth .auth-icp a{color:#d2e5f7;text-decoration:none;overflow-wrap:anywhere}
.reference-auth .auth-icp a:hover{text-decoration:underline;color:#fff}
.reference-auth .auth-icp a:focus-visible{outline:2px solid #cbe9ff;outline-offset:4px;border-radius:2px}
