*{box-sizing:border-box}
body{margin:0;background:#f4f7f6;color:#153d46;font:400 15px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
h1,h2,h3,strong,b{font-weight:400}
.nxdemo-page{max-width:1200px;margin:auto;padding:28px 28px 50px}
.nxdemo-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:46px}
.nxdemo-top img{display:block;width:138px;height:auto}
.nxdemo-top a{color:#276458;text-decoration:none;font-size:14px}
.nxdemo-top a:hover{text-decoration:underline;text-underline-offset:4px}
.nxdemo-intro{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:38px;align-items:center}
.nxdemo-page h1{font-size:clamp(30px,4vw,44px);line-height:1.2;letter-spacing:-1.2px;margin:12px 0 16px;text-wrap:balance}
.nxdemo-lead{max-width:740px;color:#61787c;margin:0;font-size:15px}
.nxdemo-tag{display:inline-block;padding:5px 11px;border:1px solid #d5e5dc;border-radius:20px;font-size:12px;color:#28775e;background:#eef6f1}
.nxdemo-intro-note{border:1px solid #d7e6df;border-radius:16px;padding:22px;background:#edf5f0;color:#385f56}
.nxdemo-intro-note p{font-size:15px;line-height:1.55;margin:14px 0 10px}
.nxdemo-intro-note>span:last-child{color:#688079;font-size:12px}
.nxdemo-pill{display:inline-flex;align-items:center;padding:3px 9px;font:400 11px/1.5 system-ui,sans-serif;color:#25604e;background:#deeee5;border:1px solid #c7dfd1;border-radius:20px;white-space:nowrap}
.nxdemo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:30px 0}
.nxdemo-card{display:flex;flex-direction:column;background:#fff;border:1px solid #dce7e3;border-radius:18px;padding:24px;min-width:0;box-shadow:0 3px 12px #123d4603}
.nxdemo-card.selected{border-color:#619f89;box-shadow:0 0 0 2px #468c770d}
.nxdemo-card-heading{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.nxdemo-role-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #dbe9e1;border-radius:12px;background:#f1f7f3;color:#36836b}
.nxdemo-card h2{font-size:21px;line-height:1.25;margin:0;letter-spacing:-.3px}
.nxdemo-card>p{color:#657b80;font-size:13px;margin:0 0 20px;flex:1;line-height:1.65}
.nxdemo-login-data{margin:0 0 20px;padding:15px 14px;background:#f7faf8;border:1px solid #e5eee9;border-radius:10px;display:grid;gap:12px}
.nxdemo-login-data dt{color:#678079;font-size:11px;line-height:1.3;margin-bottom:4px}
.nxdemo-login-data dd{margin:0;min-width:0}
.nxdemo-login-data code{display:block;overflow-wrap:anywhere;font-size:12px;color:#234e45;line-height:1.6}
.nxdemo-link{display:inline-flex;justify-content:center;align-items:center;gap:12px;border:1px solid #20725d;border-radius:10px;padding:10px 16px;color:#fff;background:#20725d;text-decoration:none;font-weight:400;font-size:14px;line-height:1.5;min-height:44px}
.nxdemo-link:hover{background:#195b4b}
.nxdemo-link>span{margin-left:auto;font-size:18px;line-height:1}
.nxdemo-link-secondary{background:#fff;color:#20725d;flex-shrink:0}
.nxdemo-link-secondary:hover{background:#edf6f1}
.nxdemo-footer{display:flex;align-items:center;gap:30px;justify-content:space-between;border-top:1px solid #dce7e3;padding-top:22px}
.nxdemo-note{font-size:12px;color:#657b80;max-width:790px;margin:0}
.nxdemo-notice{padding:16px 22px;border:1px solid #e8d7ad;background:#fff9ed;border-radius:14px;margin:24px 0}
.nxdemo-pending{font-size:13px;color:#687f77;padding:10px 0}
.nxdemo-page :is(a,button):focus-visible,.nxdemo-auth .nxdemo-copy:focus-visible{outline:3px solid #348c74;outline-offset:3px}

/* The original login controller and layout are reused with explicit demo context. */
.nx-auth.nxdemo-auth{--primary:#20725d;--primary-hover:#195b4b;background:#f4f7f6}
.nxdemo-auth :is(h1,h2,h3,strong,b,label,.eyebrow,.auth-badge,.submit){font-weight:400}
.nxdemo-auth .auth-page{min-height:calc(100vh - 42px);padding:30px 24px}
.nxdemo-auth .auth-wrap{width:min(1080px,100%);grid-template-columns:1fr 1.08fr;border-color:#d9e7e0}
.nxdemo-auth .auth-side{background:#edf5f0;padding:34px 36px 28px}
.nxdemo-auth .brand{margin-bottom:42px}
.nxdemo-auth .brand img{height:auto;width:145px;max-height:60px}
.nxdemo-auth .auth-badge{color:#26755e;font-size:12px}
.nxdemo-auth h1{font-size:36px;line-height:1.25;letter-spacing:-1px;margin-bottom:18px}
.nxdemo-auth .auth-side>p{font-size:15px;color:#607a70}
.nxdemo-side-facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.nxdemo-side-facts span{display:inline-block;padding:5px 10px;border:1px solid #d4e3da;border-radius:20px;background:#f8fbf9;color:#4f7464;font-size:11px}
.nxdemo-auth .nx-auth-art{width:calc(100% + 72px);margin:28px -36px 20px;height:270px}
.nxdemo-auth .nx-auth-art:after{background:linear-gradient(180deg,#edf5f0,transparent 18%,transparent 86%,#edf5f0)}
.nxdemo-auth .auth-card-inner{padding:34px 36px}
.nxdemo-auth .nxdemo-role-heading{display:flex;align-items:center;gap:9px;color:#26755e;font-size:13px;letter-spacing:0;margin-bottom:15px}
.nxdemo-role-heading svg{width:22px;height:22px;flex-shrink:0}
.nxdemo-auth h2{font-size:30px;line-height:1.25;letter-spacing:-.75px;margin-bottom:12px}
.nxdemo-auth .lead{margin-bottom:20px;font-size:13px;line-height:1.75}
.nxdemo-auth .nxdemo-credentials{display:grid;gap:12px;padding:15px 16px;margin-bottom:22px;background:#f4f9f6;border:1px solid #d7e8de;border-radius:12px}
.nxdemo-credentials-top{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#456d5c;font-size:12px}
.nxdemo-credential-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.nxdemo-credential-row>div{display:grid;gap:3px;min-width:0}
.nxdemo-credential-row>div>span{color:#6c8479;font-size:11px}
.nxdemo-credential-row code{color:#214d3e;overflow-wrap:anywhere;font-size:12px;line-height:1.6}
.nx-auth .nxdemo-copy{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;background:#fff;border:1px solid #d5e5db;border-radius:8px;cursor:pointer;color:#527e68}
.nx-auth .nxdemo-copy:hover{background:#e9f5ee}
.nxdemo-copy-status{color:#347159;font-size:11px;line-height:1.5}
.nxdemo-copy-status:empty{display:none}
.nxdemo-auth .form{gap:16px}
.nxdemo-auth label{font-size:12px}
.nxdemo-auth .input,.nxdemo-auth .password-input{height:46px;font-size:14px}
.nxdemo-auth input[readonly]{background:#f9fbfa;color:#536e65}
.nxdemo-auth .toggle-pass{top:1px;height:44px}
.nxdemo-auth .bottom-links{font-size:12px}
.nxdemo-auth .support{font-size:11px;line-height:1.75;padding-top:15px;border-color:#dbe8e0}
.nxdemo-auth .submit{background:#20725d;border-color:#20725d;font-size:14px;min-height:48px}
.nxdemo-auth .submit:hover{background:#195b4b}

@media(max-width:960px){.nxdemo-intro{grid-template-columns:minmax(0,1fr) 230px;gap:24px}.nxdemo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nxdemo-auth .auth-side{padding-inline:28px}.nxdemo-auth .auth-card-inner{padding-inline:28px}.nxdemo-auth .nx-auth-art{width:calc(100% + 56px);margin-inline:-28px}}
@media(max-width:760px){.nxdemo-auth .auth-page{padding:20px 16px}.nxdemo-auth .auth-card-inner{padding:26px 24px}.nxdemo-auth .auth-wrap{max-width:510px}.nxdemo-auth .auth-logo-mobile{margin-bottom:22px}.nxdemo-auth h2{font-size:28px}.nxdemo-auth .auth-logo-mobile img{height:auto}}
@media(max-width:600px){.nxdemo-page{padding:22px 16px 36px}.nxdemo-top{margin-bottom:32px}.nxdemo-top img{width:126px}.nxdemo-top a{font-size:12px}.nxdemo-intro{display:block}.nxdemo-intro-note{margin-top:20px;padding:16px 18px}.nxdemo-intro-note p{font-size:13px;margin:10px 0 6px}.nxdemo-grid{grid-template-columns:1fr;gap:14px;margin:24px 0}.nxdemo-card{padding:20px}.nxdemo-card h2{font-size:20px}.nxdemo-footer{align-items:flex-start;flex-direction:column;gap:18px}.nxdemo-link-secondary{width:100%}}
@media(max-width:380px){.nxdemo-auth .auth-page{padding:14px 12px}.nxdemo-auth .auth-card-inner{padding:24px 20px}.nxdemo-auth .nxdemo-credentials{padding:14px 12px}.nxdemo-credential-row code{font-size:11px}.nxdemo-auth h2{font-size:26px}}
