/* Authentication identity. Scoped to the login; operational portal styles remain independent. */
#auth-screen{grid-template-columns:45% 55%;min-height:100vh;min-height:100svh;background:#f5f3ed;font-family:Arial,sans-serif;isolation:isolate}
#auth-screen .auth-left{padding:clamp(24px,3vw,52px) clamp(28px,4vw,64px) 26px;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;gap:22px;background:radial-gradient(ellipse at 72% 42%,#2b53614a,transparent 60%),linear-gradient(145deg,#163b4c,#102e3d 60%,#0d2533);color:#faf7ee;overflow:hidden;position:relative}
#auth-screen .auth-left:after{position:absolute;inset:0;width:auto;height:auto;border:0;border-radius:0;background:repeating-linear-gradient(130deg,transparent 0,transparent 115px,#dce5ea04 116px,transparent 117px);pointer-events:none;z-index:-1}
#auth-screen .auth-brand{display:flex;align-items:center;gap:18px;margin:0 auto;width:100%;max-width:520px}
#auth-screen .auth-brand>img{width:116px;height:116px;object-fit:contain;flex:none}
#auth-screen .auth-brand>div{display:flex;flex-direction:column;gap:9px}
#auth-screen .auth-company{font-size:9px;font-weight:600;letter-spacing:2px;color:#afc3ce}
#auth-screen .auth-brand strong{font-size:21px;line-height:1.35;letter-spacing:1.2px;color:#faf7ee}
#auth-screen .auth-brand p{margin:0;font-size:12px;color:#aebfc9;line-height:1.5}
#auth-screen .auth-welcome{width:100%;max-width:520px;margin:auto;flex:1;display:flex;flex-direction:column;justify-content:center;padding:12px 0 6px}
#auth-screen .auth-message{text-align:center;margin:0 auto;max-width:440px}
#auth-screen .auth-eyebrow{font-size:9px;letter-spacing:2.5px;color:#a8c0cc;font-weight:600}
#auth-screen .auth-message h1{font-size:clamp(28px,2.5vw,39px);line-height:1.2;letter-spacing:-.8px;margin:17px 0 18px;color:#fffaf1}
#auth-screen .auth-message p{font-size:14px;line-height:1.7;max-width:380px;margin:12px auto;color:#b5c8d1}
#auth-screen .auth-message .auth-lead{font-size:17px;line-height:1.55;color:#e1e8e8}
#auth-screen .auth-hero{display:flex;justify-content:center;align-items:center;margin:8px 0 12px;min-height:0}
#auth-screen .auth-hero img{display:block;width:auto;height:clamp(220px,31vh,350px);max-width:100%;object-fit:contain;filter:drop-shadow(0 12px 18px #06172335);background:transparent;animation:mascot-appear .65s ease-out both}
#auth-screen .auth-benefits{display:flex;align-items:center;justify-content:center;gap:20px;padding-top:17px;border-top:1px solid #d3dce41a}
#auth-screen .auth-benefits>span{display:flex;align-items:center;gap:8px;font-size:11px;color:#c7d4db;line-height:1.4;white-space:nowrap}
#auth-screen .auth-benefits svg{width:17px;height:17px;color:#b8cbd4;flex:none}
#auth-screen .auth-footer{display:flex;flex-direction:column;gap:5px;border-top:0;padding:8px 0 0;margin:0;text-align:center;font-size:10px;line-height:1.5;color:#a2b8c3;max-width:none}
#auth-screen .auth-footer b{font-weight:600;font-size:10px;letter-spacing:1.4px;color:#c6d3da}
#auth-screen .auth-footer small{font-size:9px;color:#8ea8b6;margin-top:3px}
#auth-screen .auth-right{display:flex;align-items:center;justify-content:center;padding:42px clamp(24px,4vw,64px);border:0;background:radial-gradient(ellipse at 65% 22%,#fffdf9 0,#f5f3ed 70%)}
#auth-screen .auth-card{width:100%;max-width:500px;padding:clamp(28px,3vw,44px);border-radius:24px;background:#fffefa;border:1px solid #e1e5e3;box-shadow:0 24px 70px #1536470b,0 4px 16px #15364705;animation:auth-card-appear .5s ease-out both}
#auth-screen .auth-private-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid #dce5e8;border-radius:7px;padding:7px 10px;background:#f1f5f5;color:#54707e;font-size:9px;font-weight:700;letter-spacing:1px}
#auth-screen .auth-private-badge svg{width:14px;height:14px}
#auth-screen .auth-card-heading{margin:30px 0}
#auth-screen .auth-card-company{font-size:9px;letter-spacing:1.7px;color:#7c909c;font-weight:600}
#auth-screen .auth-card-heading h2{font-size:36px;letter-spacing:-1px;line-height:1.2;color:#173d50;margin:12px 0}
#auth-screen .auth-card-heading p{font-size:13px;line-height:1.7;color:#71848f;margin:0}
#auth-screen .field{margin:0 0 20px}
#auth-screen label{font-size:12px;color:#334f60;font-weight:600;display:block;margin-bottom:9px}
#auth-screen .auth-input{position:relative}
#auth-screen .auth-input>.input-icon{position:absolute;left:16px;top:17px;color:#91a4ad;pointer-events:none;width:20px;height:20px}
#auth-screen .auth-input input{height:54px;border-radius:11px;border:1px solid #dce4e6;background:#fff;box-shadow:0 1px 3px #143e5103;color:#173342;padding:14px 16px 14px 46px;transition:border-color .18s,box-shadow .18s,background .18s;font-size:14px}
#auth-screen .auth-input input::placeholder{color:#a1aeb5}
#auth-screen .auth-input input:hover{border-color:#b7c9d2}
#auth-screen .auth-input input:focus{outline:0;border-color:#416c82;box-shadow:0 0 0 3px #3c6c8012;background:#fff}
#auth-screen .auth-input input[type="password"],#auth-screen .auth-input #password{padding-right:50px}
#auth-screen .auth-eye{position:absolute;right:7px;top:7px;width:40px;height:40px;border:0;background:transparent;color:#7b929f;display:grid;place-items:center;border-radius:7px;padding:0;transition:background .16s,color .16s}
#auth-screen .auth-eye:hover{background:#eef3f5;color:#214f65}
#auth-screen .auth-eye .eye-icon{transition:opacity .16s,transform .16s}
#auth-screen .auth-eye.password-visible .eye-icon{color:#173e50;transform:scale(.92)}
#auth-screen .auth-eye:focus-visible,#auth-screen a:focus-visible,#auth-screen #activate:focus-visible{outline:2px solid #416c82;outline-offset:3px}
#auth-screen .auth-recovery{text-align:right;font-size:12px;margin:-3px 0 24px}
#auth-screen .auth-recovery a{color:#456c7f;text-decoration:none}
#auth-screen .auth-recovery a:hover{text-decoration:underline}
#auth-screen .auth-submit{display:flex;width:100%;height:54px;align-items:center;justify-content:center;gap:16px;border-radius:11px;padding:14px 20px;background:#173e50;color:#fffaf2;font-size:12px;font-weight:600;letter-spacing:.7px;border:1px solid #173e50;box-shadow:0 6px 14px #173e5010;transition:background .18s,box-shadow .18s,transform .18s}
#auth-screen .auth-submit:hover:not(:disabled){background:#214f64;box-shadow:0 9px 20px #173e501e;transform:translateY(-1px)}
#auth-screen .auth-submit:active:not(:disabled){transform:translateY(0);background:#123245}
#auth-screen .auth-submit:focus-visible{outline:2px solid #416c82;outline-offset:3px}
#auth-screen .auth-submit:disabled{opacity:.7;cursor:wait}
#auth-screen .auth-submit svg{width:18px;height:18px}
#auth-screen .auth-submit-busy{display:none}
#auth-screen form[data-busy="1"] .auth-submit-idle{display:none}
#auth-screen form[data-busy="1"] .auth-submit-busy{display:inline}
#auth-screen .error{font-size:12px;border-radius:8px;line-height:1.6}
#auth-screen .error:not(:empty){padding:10px 12px;background:#fff2f2;border:1px solid #edcdd1;margin:0 0 18px}
#auth-screen .auth-security{display:flex;gap:11px;align-items:flex-start;padding:22px 0 20px;border-bottom:1px solid #e7ecec;color:#8ba0aa}
#auth-screen .auth-security>svg{width:17px;height:17px;flex:none;margin-top:1px}
#auth-screen .auth-security b{font-size:11px;line-height:1.4;font-weight:600;color:#506e7d}
#auth-screen .auth-security p{font-size:10px;line-height:1.7;margin:5px 0 0;color:#82959e;max-width:320px}
#auth-screen .auth-activation{margin:20px 0 0;color:#718893;font-size:10px;line-height:1.6}
#auth-screen .auth-activation>span{font-size:11px;font-weight:600;color:#5b7686}
#auth-screen .auth-activation p{margin:3px 0 10px}
#auth-screen #activate{position:static;background:transparent;border:0;padding:0;font-size:10px;text-decoration:underline;color:#78909b;cursor:pointer}
@keyframes auth-card-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes mascot-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){#auth-screen .auth-left{padding-top:50px;padding-bottom:35px}#auth-screen .auth-brand{justify-content:center}#auth-screen .auth-hero img{height:360px}#auth-screen .auth-card{padding:48px;max-width:520px}}
@media(min-width:801px) and (max-width:1100px){#auth-screen{grid-template-columns:43% 57%}#auth-screen .auth-left{padding:24px}#auth-screen .auth-brand{gap:12px}#auth-screen .auth-brand>img{width:86px;height:86px}#auth-screen .auth-brand strong{font-size:17px}#auth-screen .auth-company{font-size:8px;letter-spacing:1px}#auth-screen .auth-message h1{font-size:28px}#auth-screen .auth-message .auth-lead{font-size:15px}#auth-screen .auth-benefits{gap:12px;flex-wrap:wrap}#auth-screen .auth-benefits>span{font-size:10px}#auth-screen .auth-right{padding:28px}#auth-screen .auth-card{padding:30px}}
@media(max-width:800px){#auth-screen{display:block;min-height:100svh}#auth-screen .auth-left{padding:18px 22px 20px;gap:13px;min-height:0}#auth-screen .auth-brand{justify-content:center;max-width:none;gap:14px}#auth-screen .auth-brand>img{width:72px;height:72px}#auth-screen .auth-brand strong{font-size:17px;letter-spacing:.8px}#auth-screen .auth-company{font-size:8px;letter-spacing:1.3px}#auth-screen .auth-brand>div{gap:4px}#auth-screen .auth-brand p{font-size:10px}#auth-screen .auth-welcome{padding:0;display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:18px;align-items:center;max-width:510px}#auth-screen .auth-message{grid-column:2;grid-row:1;text-align:left;margin:0;max-width:none}#auth-screen .auth-message h1{font-size:23px;margin:0 0 8px;letter-spacing:-.4px}#auth-screen .auth-message .auth-lead{font-size:12px;line-height:1.5;margin:0;color:#d9e2e7}#auth-screen .auth-message>p:not(.auth-lead),#auth-screen .auth-eyebrow{display:none}#auth-screen .auth-hero{grid-column:1;grid-row:1;margin:0}#auth-screen .auth-hero img{height:125px;width:96px}#auth-screen .auth-benefits{grid-column:1/-1;padding-top:12px;margin-top:10px;gap:20px}#auth-screen .auth-benefits>span{font-size:9px;gap:6px}#auth-screen .auth-benefits svg{width:14px;height:14px}#auth-screen .auth-footer{display:flex;padding-top:0;gap:3px}#auth-screen .auth-right{padding:24px 18px 32px}#auth-screen .auth-card{max-width:480px;border-radius:20px;padding:28px}#auth-screen .auth-card-heading{margin:22px 0}#auth-screen .auth-card-heading h2{font-size:30px}#auth-screen .auth-private-badge{font-size:8px}#auth-screen .auth-security{padding-top:19px;padding-bottom:16px}#auth-screen .auth-activation{margin-top:16px}}
@media(max-width:380px){#auth-screen .auth-left{padding:15px 18px}#auth-screen .auth-brand strong{font-size:15px}#auth-screen .auth-brand>img{width:62px;height:62px}#auth-screen .auth-welcome{grid-template-columns:78px minmax(0,1fr);gap:12px}#auth-screen .auth-hero img{width:78px;height:108px}#auth-screen .auth-message h1{font-size:20px}#auth-screen .auth-benefits{gap:11px}#auth-screen .auth-benefits>span{font-size:8px}#auth-screen .auth-card{padding:24px}#auth-screen .auth-card-heading h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){#auth-screen .auth-card,#auth-screen .auth-hero img{animation:none}#auth-screen input,#auth-screen button,#auth-screen svg{transition:none!important}}
@media(min-width:1101px){#auth-screen .auth-brand{flex-direction:column;text-align:center;gap:10px}#auth-screen .auth-brand>img{width:100px;height:100px}#auth-screen .auth-brand>div{gap:6px}}
@media(min-width:1101px) and (max-height:800px){#auth-screen .auth-left{padding-top:24px;padding-bottom:20px;gap:16px}#auth-screen .auth-brand>img{width:84px;height:84px}#auth-screen .auth-brand strong{font-size:18px}#auth-screen .auth-message h1{font-size:30px;margin:12px 0}#auth-screen .auth-message p{font-size:13px;margin:9px auto}#auth-screen .auth-message .auth-lead{font-size:15px}#auth-screen .auth-hero img{height:210px}#auth-screen .auth-right{padding-top:28px;padding-bottom:28px}}
/* Brand first: full official mark, subordinate portal descriptor, quieter supporting copy. */
#auth-screen .auth-brand{flex-direction:column;text-align:center;gap:12px}#auth-screen .auth-brand>img{width:220px;height:220px}#auth-screen .auth-company{font-size:24px;font-weight:700;letter-spacing:1px;color:#f8f5ee;line-height:1.25}#auth-screen .auth-brand>div{align-items:center;gap:9px}#auth-screen .auth-brand strong{font-size:13px;font-weight:600;letter-spacing:2px;color:#bcced8}#auth-screen .auth-brand p{font-size:11px;color:#9eb8c5}#auth-screen .auth-welcome{padding:0}#auth-screen .auth-message h1{font-size:26px;letter-spacing:-.4px;margin:10px 0 12px}#auth-screen .auth-message .auth-lead{font-size:15px;line-height:1.6}#auth-screen .auth-message p{font-size:12px;line-height:1.65;margin:8px auto}#auth-screen .auth-hero{margin:-4px 0 8px}#auth-screen .auth-hero img{height:clamp(250px,35vh,390px)}#auth-screen .auth-benefits{gap:28px;padding-top:18px;border-top-color:#d1dce414}#auth-screen .auth-footer{font-size:9px;gap:4px;padding-top:8px}#auth-screen .auth-footer small{font-size:9px}#auth-screen .auth-card-heading{margin:0 0 28px}#auth-screen .auth-card-brand{display:flex;align-items:center;gap:13px;margin:0 0 26px}#auth-screen .auth-card-brand img{width:64px;height:64px;object-fit:contain;border-radius:6px;flex:none}#auth-screen .auth-card-company{font-size:14px;letter-spacing:1.2px;color:#254d63;font-weight:700;line-height:1.5}#auth-screen .auth-card-heading h2{margin:0 0 13px}
.auth-modal-brand{display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;padding:0 0 24px;margin-bottom:20px;border-bottom:1px solid #d9e2e5}.auth-modal-brand img{width:110px;height:110px;object-fit:contain;border-radius:8px}.auth-modal-brand strong{font-size:18px;letter-spacing:.8px;color:#173e50;line-height:1.3}.auth-modal-brand span{font-size:9px;letter-spacing:1px;color:#7b929f}#activation,#recovery,#new-password{border-radius:22px;background:#fffefa;box-shadow:0 22px 70px #061e3330;padding:30px;width:min(480px,92vw)}#activation>h2,#recovery>h2,#new-password>h2{font-size:25px;color:#173e50;margin:0 0 13px;line-height:1.3}#activation>p,#recovery>p{font-size:12px;color:#718893;line-height:1.7}#activation .primary,#recovery .primary,#new-password .primary{width:100%;min-height:52px;border-radius:11px}
@media(min-width:1600px){#auth-screen .auth-hero img{height:405px}#auth-screen .auth-brand>img{width:240px;height:240px}}
@media(min-width:801px) and (max-width:1100px){#auth-screen .auth-brand>img{width:184px;height:184px}#auth-screen .auth-company{font-size:20px}#auth-screen .auth-brand strong{font-size:12px}#auth-screen .auth-message h1{font-size:24px}#auth-screen .auth-benefits{gap:18px}#auth-screen .auth-hero img{height:250px}}
@media(min-width:1101px) and (max-height:800px){#auth-screen .auth-brand>img{width:184px;height:184px}#auth-screen .auth-company{font-size:22px}#auth-screen .auth-brand strong{font-size:12px}#auth-screen .auth-message h1{font-size:24px;margin:8px 0}#auth-screen .auth-message .auth-lead{font-size:14px}#auth-screen .auth-message p{font-size:12px;margin:6px auto}#auth-screen .auth-hero img{height:240px}#auth-screen .auth-left{gap:14px}#auth-screen .auth-benefits{padding-top:13px}}
@media(max-width:800px){#auth-screen .auth-brand{flex-direction:row;text-align:left;justify-content:center;gap:16px}#auth-screen .auth-brand>img{width:112px;height:112px}#auth-screen .auth-brand>div{align-items:flex-start;gap:6px}#auth-screen .auth-company{font-size:18px;letter-spacing:.3px;max-width:230px}#auth-screen .auth-brand strong{font-size:10px;letter-spacing:1.4px}#auth-screen .auth-brand p{font-size:9px}#auth-screen .auth-message h1{font-size:20px;margin:0 0 7px}#auth-screen .auth-message .auth-lead{font-size:12px}#auth-screen .auth-hero{margin:0}#auth-screen .auth-hero img{width:108px;height:140px}#auth-screen .auth-benefits{gap:20px;padding-top:13px}#auth-screen .auth-footer{font-size:8px}#auth-screen .auth-footer small{font-size:8px}#auth-screen .auth-card-brand{margin-bottom:22px;gap:12px}#auth-screen .auth-card-brand img{width:58px;height:58px}#auth-screen .auth-card-company{font-size:12px}#auth-screen .auth-card-heading h2{font-size:30px}.auth-modal-brand img{width:90px;height:90px}.auth-modal-brand strong{font-size:16px}}
@media(max-width:380px){#auth-screen .auth-brand>img{width:94px;height:94px}#auth-screen .auth-company{font-size:16px}#auth-screen .auth-brand strong{font-size:9px}#auth-screen .auth-brand p{font-size:8px}#auth-screen .auth-hero img{width:88px;height:125px}#auth-screen .auth-message h1{font-size:18px}#auth-screen .auth-benefits{gap:12px}}

/* Phone identity: centered content and readable inputs without focus zoom. */
@media(max-width:800px){
 #auth-screen{width:100%;max-width:100%;min-width:0}
 #auth-screen .auth-left,#auth-screen .auth-right,#auth-screen .auth-card{min-width:0;max-width:100%;width:100%}
 #auth-screen .auth-brand{flex-direction:column;text-align:center;gap:10px}
 #auth-screen .auth-brand>div{align-items:center;min-width:0;width:100%}
 #auth-screen .auth-company{max-width:100%;text-wrap:balance}
 #auth-screen .auth-welcome{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:100%}
 #auth-screen .auth-message{text-align:center;margin:0 auto;max-width:100%;width:100%}
 #auth-screen .auth-message .auth-lead{max-width:320px;margin:0 auto}
 #auth-screen .auth-hero{margin:0;justify-content:center}
 #auth-screen .auth-hero img{width:112px;height:144px}
 #auth-screen .auth-benefits{width:100%;flex-wrap:wrap;gap:12px 20px;margin-top:0;justify-content:center}
 #auth-screen .auth-card-brand{flex-direction:column;justify-content:center;text-align:center;gap:10px}
 #auth-screen .auth-card-heading,#auth-screen .auth-activation{text-align:center}
 #auth-screen .auth-security{justify-content:center;text-align:center}
 #auth-screen .auth-security p{margin-left:auto;margin-right:auto}
 #auth-screen .auth-input input,#activation input,#recovery input,#new-password input{font-size:16px;min-width:0;max-width:100%}
 #activation,#recovery,#new-password{max-width:calc(100% - 24px);min-width:0}
}
