/* Login composition follows the read-only ERP login reference. */
.pafsn-auth-page{position:relative;display:grid;place-items:center;min-height:100vh;min-height:100dvh;padding:clamp(22px,4vw,52px);background:linear-gradient(180deg,#fbfdff 0%,#f1f6f9 52%,#eaf1f5 100%);color:#17212f;font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}
.pafsn-auth-page *{box-sizing:border-box}.pafsn-auth-page::before{content:'';position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#176b5d0f,transparent 30%,transparent 72%,#10182009),repeating-linear-gradient(0deg,#74879a0b 0 1px,transparent 1px 72px)}
.pafsn-auth-home{position:absolute;top:20px;right:24px;z-index:2;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 10px;text-decoration:none;color:#52655d;font-size:13px}.pafsn-auth-home:hover{color:#176b5d}
.pafsn-auth-panel{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,430px);align-items:stretch;gap:12px;width:min(1040px,100%);min-width:0}
.pafsn-auth-copy{position:relative;display:flex;flex-direction:column;overflow:hidden;min-width:0;min-height:480px;padding:42px;border:1px solid #ffffff14;border-radius:10px;background:linear-gradient(145deg,#0e1821 0%,#142534 62%,#0f1b24 100%);box-shadow:0 26px 70px #10182029;color:#fff}
.pafsn-auth-copy::before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.58;background:linear-gradient(90deg,#176b5d38,transparent 34%),repeating-linear-gradient(0deg,#ffffff09 0 1px,transparent 1px 46px)}.pafsn-auth-copy>*{position:relative;z-index:1}
.pafsn-auth-brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.pafsn-auth-brand img{display:block;width:62px;height:62px;object-fit:contain}.pafsn-auth-wordmark{display:block;font-size:22px;font-weight:700;letter-spacing:.06em}.pafsn-auth-brand-label{display:block;margin-top:2px;color:#b8c7d5;font-size:12px}
.pafsn-auth-copy-main{margin-top:auto;padding-top:42px}.pafsn-auth-copy-title{display:block;margin:0 0 10px;font-size:40px;line-height:1.08;font-weight:750;letter-spacing:-.02em}.pafsn-auth-copy-main p{max-width:360px;margin:0;color:#c6d3df;font-size:15px;line-height:1.55}.pafsn-auth-trust{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px;padding-top:20px;border-top:1px solid #ffffff1a}.pafsn-auth-trust span{padding:6px 10px;border:1px solid #ffffff21;border-radius:999px;background:#ffffff12;color:#e7f3ee;font-size:11px;font-weight:600}
.pafsn-auth-card{display:flex;flex-direction:column;justify-content:center;gap:0;min-width:0;min-height:480px;padding:38px 34px;border:1px solid #dbe5ed;border-radius:10px;background:#fffffffa;box-shadow:0 24px 60px #10182014}.pafsn-auth-kicker{margin:0 0 7px;color:#176b5d;font-size:11px;font-weight:600;letter-spacing:.035em}.pafsn-auth-intro h1{margin:0;color:#17212f;font-family:inherit;font-size:24px;font-weight:750;line-height:1.2;letter-spacing:0}.pafsn-auth-intro>p:not(.pafsn-auth-kicker){margin:8px 0 0;color:#6b7d90;font-size:13px;line-height:1.5}
.pafsn-auth-form{display:grid;gap:16px;margin-top:24px}.pafsn-auth-field{min-width:0}.pafsn-auth-field>label{display:block;margin-bottom:6px;color:#5f7084;font-size:13px;font-weight:600}.pafsn-auth-input{position:relative;display:flex;align-items:center;width:100%;min-width:0;min-height:44px;border:1px solid #d7e1ea;border-radius:7px;background:white}.pafsn-auth-input:focus-within{border-color:#78a99a;box-shadow:0 0 0 3px #176b5d1f}.pafsn-auth-input>svg{position:absolute;left:12px;width:17px;height:17px;color:#778a94;pointer-events:none}.pafsn-auth-input input{display:block;min-width:0;width:100%;height:44px;margin:0;padding:0 12px 0 38px;border:0;border-radius:7px;outline:none;background:transparent;color:#17212f;font:inherit;font-size:14px}.pafsn-auth-input input::placeholder{color:#96a1aa}.pafsn-auth-input--password input{padding-right:50px}.pafsn-auth-password-toggle{position:absolute;top:3px;right:3px;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #d7e1ea;border-radius:6px;background:#f8fbfc;color:#1f6f5d;cursor:pointer}.pafsn-auth-password-toggle svg{width:19px;height:19px}.pafsn-auth-password-toggle:hover{background:#eef5f2}.pafsn-auth-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;width:100%;margin-top:3px;padding:10px 16px;border:1px solid #176b5d;border-radius:7px;background:#176b5d;color:white;font:inherit;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 10px 22px #176b5d26}.pafsn-auth-submit:hover{background:#12594d}.pafsn-auth-submit svg{flex-shrink:0}.pafsn-auth-security{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:18px;color:#7a8999;font-size:12px;text-align:center}.pafsn-auth-security svg{flex-shrink:0}.pafsn-auth-notice{margin-top:18px;padding:10px 12px;border:1px solid;border-radius:7px;font-size:13px;line-height:1.5}.pafsn-auth-notice--error{border-color:#e4b6b6;background:#fff4f4;color:#8b2f2f}.pafsn-auth-notice--warning{border-color:#ead8b1;background:#fffbf2;color:#805817}.pafsn-auth-notice--success{border-color:#c9e1d5;background:#f2f9f5;color:#236044}.pafsn-auth-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;font-size:13px}.pafsn-auth-links a{color:#176b5d;text-decoration:none}.pafsn-auth-links a:hover{text-decoration:underline}.pafsn-auth-page :is(a,button):focus-visible{outline:2px solid #4b9e87;outline-offset:3px}.pafsn-auth-page [hidden]{display:none!important}
@media(max-width:900px){.pafsn-auth-panel{grid-template-columns:minmax(0,1fr) minmax(0,390px)}.pafsn-auth-copy{padding:30px}.pafsn-auth-card{padding:30px 26px}.pafsn-auth-copy-title{font-size:34px}}
@media(max-width:820px){.pafsn-auth-page{display:block;padding:62px 18px 24px}.pafsn-auth-home{top:10px;right:14px}.pafsn-auth-panel{width:100%;max-width:560px;margin:auto;grid-template-columns:minmax(0,1fr);gap:10px}.pafsn-auth-copy{min-height:0;padding:24px;box-shadow:0 10px 28px #10182014}.pafsn-auth-brand img{width:44px;height:44px}.pafsn-auth-wordmark{font-size:20px}.pafsn-auth-copy-main{padding-top:20px}.pafsn-auth-copy-title{font-size:30px;margin-bottom:7px}.pafsn-auth-copy-main p{font-size:13px}.pafsn-auth-trust{margin-top:16px;padding-top:14px}.pafsn-auth-card{min-height:0;padding:26px 24px}.pafsn-auth-input input{font-size:16px}.pafsn-auth-intro h1{font-size:24px}.pafsn-auth-security{font-size:11px}}
@media(max-width:379px){.pafsn-auth-page{padding-right:12px;padding-left:12px}.pafsn-auth-copy,.pafsn-auth-card{padding:22px 18px}.pafsn-auth-copy-title{font-size:28px}.pafsn-auth-trust{gap:5px}.pafsn-auth-trust span{font-size:10px;padding:5px 8px}.pafsn-auth-links{gap:10px}}
@media(max-height:600px) and (min-width:821px){.pafsn-auth-page{padding-top:62px;padding-bottom:24px}}
