:root{--erp-auth-navy:#202a33;--erp-auth-navy-soft:#2b3741;--erp-auth-primary:#9112bc;--erp-auth-primary-dark:#7b109f;--erp-auth-line:#dfe3e5;--erp-auth-muted:#69757a;--erp-auth-canvas:#f3f5f6}
*{box-sizing:border-box}
.erp-auth-body{margin:0;min-height:100vh;background:var(--erp-auth-canvas);color:#273239;font:14px/1.5 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.erp-auth-page{min-height:100vh;display:grid;place-items:center;padding:30px}
.erp-auth-stage{width:min(100%,1040px)}
.erp-auth-shell{width:100%;min-height:620px;display:grid;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);overflow:hidden;border:1px solid #d9dee0;border-radius:10px;background:#fff;box-shadow:0 20px 55px rgba(32,42,51,.12)}
.erp-auth-product{display:flex;flex-direction:column;padding:38px;background:var(--erp-auth-navy);color:#fff}
.erp-auth-brand{display:flex;align-items:center;gap:11px;width:max-content;max-width:100%;color:#fff;text-decoration:none}
.erp-auth-brand-mark{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:6px;background:var(--erp-auth-primary);font-size:16px;font-weight:800}
.erp-auth-brand-mark.has-logo{overflow:hidden;padding:0;border:0;background:transparent}
.erp-auth-brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.erp-auth-brand strong,.erp-auth-brand small{display:block}.erp-auth-brand strong{max-width:270px;font-size:13px;line-height:1.3;letter-spacing:.02em}.erp-auth-brand small{margin-top:2px;color:#aeb8bd;font-size:9px;text-transform:uppercase;letter-spacing:.11em}
.erp-auth-product-copy{margin:auto 0}.erp-auth-kicker{margin:0 0 9px;color:#c4a2d0;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.11em}.erp-auth-product-copy h1{max-width:420px;margin:0;color:#fff;font-size:28px;line-height:1.22;letter-spacing:-.025em}.erp-auth-product-copy>p:last-child{max-width:410px;margin:16px 0 0;color:#b8c1c5;font-size:12px;line-height:1.65}
.erp-auth-capabilities{display:grid;gap:0;margin:0 0 28px;padding:0;list-style:none;border-top:1px solid #3b4750}.erp-auth-capabilities li{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #3b4750;color:#dce1e3;font-size:11px}.erp-auth-capabilities span{color:#9da9ae;font:9px ui-monospace,SFMono-Regular,Consolas,monospace}.erp-auth-version{margin:0;color:#89969c;font-size:9px;text-transform:uppercase;letter-spacing:.07em}
.erp-auth-login{display:flex;flex-direction:column;justify-content:center;padding:58px 64px}.erp-auth-login header{margin-bottom:28px}.erp-auth-security{display:block;margin-bottom:7px;color:var(--erp-auth-primary);font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.1em}.erp-auth-login h2{margin:0;color:#202a33;font-size:25px;line-height:1.25;letter-spacing:-.02em}.erp-auth-login header p{margin:7px 0 0;color:var(--erp-auth-muted);font-size:12px}
.erp-auth-login form{display:grid;gap:17px}.erp-auth-login .field{display:grid;gap:7px}.erp-auth-login .field label{color:#354147;font-size:11px;font-weight:700}.erp-auth-login .field input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #cfd5d7;border-radius:5px;background:#fff;color:#273239;font:inherit;outline:0}.erp-auth-login .field input:focus{border-color:var(--erp-auth-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--erp-auth-primary) 12%,transparent)}
.erp-auth-remember{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;color:#59666c;font-size:11px;cursor:pointer}.erp-auth-remember input[type=checkbox]{appearance:none;-webkit-appearance:none;width:16px;height:16px;min-height:16px;margin:0;padding:0;border:1px solid #9fa9ad;border-radius:3px;background:#fff;cursor:pointer}.erp-auth-remember input[type=checkbox]:checked{border-color:#4285f4;background:#4285f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m3 8 3 3 7-7'/%3E%3C/svg%3E") center/13px no-repeat}.erp-auth-remember input[type=checkbox]:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(66,133,244,.15)}
.erp-auth-submit{min-height:46px;margin-top:3px;border:1px solid var(--erp-auth-primary);border-radius:5px;background:var(--erp-auth-primary);color:#fff;font-size:12px;font-weight:700;cursor:pointer}.erp-auth-submit:hover{background:var(--erp-auth-primary-dark)}.erp-auth-submit:focus-visible{outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--erp-auth-primary) 16%,transparent)}
.erp-auth-error{margin:-8px 0 20px;padding:11px 12px;border:1px solid #e1b9b6;border-radius:5px;background:#fff5f4;color:#9b3027;font-size:11px}.erp-auth-access-note{display:flex;justify-content:space-between;gap:15px;margin-top:28px;padding-top:16px;border-top:1px solid var(--erp-auth-line);color:#8a9498;font-size:9px;text-transform:uppercase;letter-spacing:.05em}
.platform-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;color:#707d84;font-size:10px}.platform-footer-auth{min-height:52px;padding:12px 4px}.platform-copyright,.platform-powered{display:flex;align-items:center;gap:6px}.platform-footer a{color:inherit;text-decoration:none}.platform-copyright a:hover{text-decoration:underline}.platform-powered>a{display:flex;align-items:center}.platform-powered img{display:block;width:auto;height:24px;max-width:116px;object-fit:contain;filter:grayscale(1);opacity:.58;transition:filter .18s,opacity .18s}.platform-powered a:hover img,.platform-powered a:focus-visible img{filter:grayscale(0);opacity:1}.platform-powered-wordmark{color:#727e84;font-size:11px;letter-spacing:.08em;filter:grayscale(1);opacity:.65;transition:color .18s,opacity .18s}.platform-powered a:hover .platform-powered-wordmark{color:var(--erp-auth-primary);opacity:1}
@media(max-width:820px){.erp-auth-page{padding:18px}.erp-auth-shell{grid-template-columns:1fr;min-height:0}.erp-auth-product{padding:25px}.erp-auth-product-copy{margin:42px 0 34px}.erp-auth-product-copy h1{font-size:23px}.erp-auth-capabilities,.erp-auth-version{display:none}.erp-auth-login{padding:40px}.platform-footer-auth{padding-inline:2px}}
@media(max-width:520px){.erp-auth-page{display:block;padding:0}.erp-auth-stage{min-height:100vh;background:#fff}.erp-auth-shell{min-height:0;border:0;border-radius:0;box-shadow:none}.erp-auth-product{padding:20px}.erp-auth-product-copy{margin:28px 0 10px}.erp-auth-product-copy>p:last-child{display:none}.erp-auth-login{padding:34px 22px}.erp-auth-access-note{align-items:flex-start;flex-direction:column;gap:4px}.platform-footer-auth{align-items:flex-start;flex-direction:column;padding:16px 22px 22px;border-top:1px solid var(--erp-auth-line)}}

/* Business identity: logo and name occupy separate rows. */
.erp-auth-brand{width:100%;flex-direction:column;align-items:flex-start;gap:10px}
.erp-auth-brand-mark.has-logo{width:min(var(--erp-login-logo-width),100%);height:var(--erp-login-logo-height);max-height:240px;flex-basis:auto;border-radius:0}
.erp-auth-brand-mark.has-logo img{width:100%;height:100%;object-fit:contain;object-position:left center}
.erp-auth-brand-copy{display:block;width:100%;min-width:0}
.erp-auth-brand-copy strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.platform-powered img{width:var(--platform-logo-width,110px);height:var(--platform-logo-height,24px);max-width:min(600px,45vw);max-height:200px;object-fit:contain}

/* Light brand panel keeps uploaded logos legible without merging both columns. */
.erp-auth-product{background:#f8fafb;color:#202c33;border-right:1px solid #dfe4e7}
.erp-auth-brand{color:#202c33}.erp-auth-brand strong{color:#202c33}.erp-auth-brand small{color:#748188}
.erp-auth-kicker{color:var(--erp-auth-primary)}.erp-auth-product-copy h1{color:#202c33}.erp-auth-product-copy>p:last-child{color:#647279}
.erp-auth-capabilities{border-top-color:#dfe5e8}.erp-auth-capabilities li{border-bottom-color:#dfe5e8;color:#39474e}.erp-auth-capabilities span{color:#7d898e}.erp-auth-version{color:#7b878d}
@media(max-width:820px){.erp-auth-product{border-right:0;border-bottom:1px solid #dfe4e7}}
