/* NanoHub customer identity v1.7 — shared with Woodmart account drawer */
.nhi-page{--nhi-accent:#ef7e1b;--nhi-text:#14243d;--nhi-muted:#65758b;--nhi-border:#e2e8f0;min-height:72vh;box-sizing:border-box;padding:clamp(18px,4vw,50px) 16px;display:flex;justify-content:center;align-items:center;background:linear-gradient(155deg,#fff5e9 0%,#f7fafc 60%,#edf5ff 100%);font-family:inherit;color:var(--nhi-text)}
.nhi-page *{box-sizing:border-box}
.nhi-panel{width:100%;max-width:540px;padding:clamp(24px,5vw,44px);border:1px solid #e9edf2;background:#fff;border-radius:22px;box-shadow:0 20px 65px rgba(24,43,71,.08);text-align:left;color:var(--nhi-text);font-family:inherit}
.nhi-panel .nhi-logo{display:block;width:150px;max-width:70%;height:auto;object-fit:contain;margin:0 auto 22px}
.nhi-panel .nhi-eyebrow{display:block;color:#c26a14;font-size:11px;letter-spacing:2.1px;font-weight:800;text-align:center}
.nhi-panel h1{font-size:clamp(25px,4vw,31px);font-weight:800;letter-spacing:-.8px;line-height:1.2;color:var(--nhi-text);text-align:center;margin:9px 0 11px}
.nhi-panel .nhi-sub{color:var(--nhi-muted);font-size:14px;line-height:1.6;text-align:center;margin:0 0 23px}
.nhi-panel form{margin:0}
.nhi-panel .nhi-fields,.nhi-panel .nhi-otp{display:flex;flex-direction:column;gap:11px;min-width:0}
.nhi-panel .nhi-otp[hidden],.nhi-panel .nhi-fields[hidden]{display:none!important}
.nhi-panel label{font-size:13px;font-weight:700;color:#32435b;display:block;margin:0;line-height:1.3}
.nhi-panel input:not([type=checkbox]):not([type=hidden]){display:block;min-width:0;width:100%;height:48px;padding:10px 13px;box-sizing:border-box;border:1px solid var(--nhi-border);border-radius:10px;background:#fff;color:var(--nhi-text);font-size:15px;box-shadow:none;outline:0;transition:border-color .18s,box-shadow .18s}
.nhi-panel input::placeholder{color:#93a1b2}
.nhi-panel input:focus-visible{border-color:#f28a26!important;box-shadow:0 0 0 3px rgba(242,138,38,.16)!important;outline:0}
.nhi-panel .nhi-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.nhi-panel .nhi-two-col>div{min-width:0;display:flex;flex-direction:column;gap:7px}
.nhi-panel .nhi-fields>label:not(.nhi-check){margin-top:3px}
.nhi-panel .nhi-optional{color:#8b98a9;font-size:12px;font-weight:400}
.nhi-panel .nhi-check{display:flex!important;align-items:flex-start;gap:10px;font-size:12px;font-weight:500;color:#475569;line-height:1.6;margin:6px 0}
.nhi-panel .nhi-check input[type=checkbox]{margin:3px 0 0;flex:0 0 auto;width:17px;height:17px;accent-color:#ed7e1b}
.nhi-panel a{color:#bd6210;text-decoration:underline;text-underline-offset:3px}
.nhi-panel a:focus-visible,.nhi-panel button:focus-visible{outline:3px solid rgba(239,126,27,.4);outline-offset:2px}
.nhi-panel .nhi-primary{border:0;border-radius:11px;background:#ed7e1b;color:#fff;width:100%;min-height:49px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:750;line-height:1.2;cursor:pointer;box-shadow:0 7px 16px rgba(237,126,27,.16);transition:background .18s,transform .18s}
.nhi-panel .nhi-primary:hover{background:#cf6710;transform:translateY(-1px)}
.nhi-panel button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}
.nhi-panel .nhi-message{font-weight:600;font-size:13px;line-height:1.5;min-height:0;margin:11px 0 2px;color:#166534;text-align:center}
.nhi-panel .nhi-message:empty{display:none}
.nhi-panel .nhi-message.nhi-error{color:#b42318}
.nhi-panel .nhi-foot{text-align:center;margin:23px 0 0;padding-top:18px;border-top:1px solid #edf0f5;font-size:13px;color:#64748b}
.nhi-panel .nhi-steps{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:5px 0 22px;padding:10px 10px;background:#f8fafc;border-radius:10px;color:#8190a3;font-size:11px;font-weight:700}
.nhi-panel .nhi-steps span{white-space:nowrap}
.nhi-panel .nhi-steps .is-current{color:#b65d10}
.nhi-panel .nhi-otp-sent{margin:0 0 4px;color:#526379;font-size:14px;line-height:1.6;text-align:center}
.nhi-panel .nhi-otp-sent strong{color:#172a44;white-space:nowrap}
.nhi-panel .nhpl-code-label{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:4px;font-size:12px;font-weight:700;color:#334155}
.nhi-panel .nhpl-code-expiry{font-size:11px;color:#77859a;font-weight:500;white-space:nowrap}
.nhi-panel .nhpl-six-digits{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;min-width:0;max-width:100%;margin:3px 0 7px}
.nhi-panel .nhpl-six-digits input.nhpl-otp-digit{display:block!important;min-width:0!important;max-width:100%!important;width:100%!important;height:58px!important;min-height:58px!important;border-radius:10px!important;padding:0!important;background:#fff!important;text-align:center!important;font-size:23px!important;line-height:1!important;font-weight:800!important;letter-spacing:0!important;border:1.5px solid #d5deeb!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important}
.nhi-panel .nhpl-six-digits input.nhpl-otp-digit:focus-visible{border-color:#f28a26!important;box-shadow:0 0 0 3px rgba(242,138,38,.18)!important}
.nhi-panel .nhi-otp.is-complete .nhpl-otp-digit{border-color:#83c49d!important;background:#fbfffc!important}
.nhi-panel .nhi-otp.is-expired .nhpl-code-expiry{color:#b42318}
.nhi-panel .nhi-otp-actions{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:6px 0}
.nhi-panel .nhi-text-button{border:0;background:transparent!important;color:#be640e!important;font-size:12px!important;font-weight:700!important;min-height:34px!important;width:auto!important;padding:4px!important;cursor:pointer;text-decoration:underline;text-underline-offset:3px;box-shadow:none!important}
.nhi-panel .nhi-text-button:disabled{color:#94a3b8!important;cursor:not-allowed;text-decoration:none;opacity:1}
.nhi-panel .nhi-password-field{position:relative;display:flex;align-items:center;min-width:0}
.nhi-panel .nhi-password-field input{padding-right:73px!important}
.nhi-panel .nhi-password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);min-height:34px!important;width:auto!important;padding:4px 10px!important;border-radius:7px;border:0;background:#f1f5f9!important;color:#44546b!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important;cursor:pointer}
.nhi-panel .nhi-hint{margin:-4px 0 0;font-size:12px;color:#7a889c;line-height:1.5}
.nhi-panel .nhi-password-match{margin:0;min-height:15px;font-size:12px;color:#b42318}
.nhi-panel .nhi-password-match.is-match{color:#16814d}
.nhi-panel .nhi-success{text-align:center;padding:20px 0}
.nhi-panel .nhi-success-icon{display:grid;place-items:center;width:58px;height:58px;margin:4px auto 13px;border-radius:50%;color:#16814d;background:#e8f8ef;font-size:30px;font-weight:bold}
.nhi-panel .nhi-success h2{color:#166534;font-size:24px}
.nhi-inline-note{padding:20px;background:#f7fafc;border-radius:12px;text-align:center}
@media(max-width:480px){.nhi-page{min-height:60vh;padding:14px 8px}.nhi-panel{padding:24px 18px;border-radius:16px}.nhi-panel .nhpl-six-digits{gap:5px}.nhi-panel .nhpl-six-digits input.nhpl-otp-digit{height:49px!important;min-height:49px!important;font-size:20px!important}.nhi-panel .nhi-two-col{gap:10px}.nhi-panel .nhi-steps{font-size:10px;padding:10px 6px}}
@media(prefers-reduced-motion:reduce){.nhi-panel *{transition:none!important;scroll-behavior:auto!important}}

/* Account recovery: 1.7.1 */
.nhi-reset-panel .nhi-reset-methods{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#f1f5f9;border-radius:12px;padding:5px;margin:0 0 20px}
.nhi-reset-panel .nhi-reset-method{border:0;border-radius:9px;background:transparent;color:#475569;min-height:42px;cursor:pointer;font-weight:700;font-size:13px}
.nhi-reset-panel .nhi-reset-method.is-active{background:#fff;box-shadow:0 2px 8px rgba(18,40,65,.1);color:#b65d10}
.nhi-reset-panel #nhpl-reset-sms[hidden],.nhi-reset-panel #nhpl-reset-email[hidden],.nhi-reset-panel [data-reset-stage][hidden]{display:none!important}
.nhi-reset-panel .nhi-reset-alert{border:1px solid #dceaf7;background:#f5f9fe;color:#304760;font-size:13px;line-height:1.6;border-radius:10px;padding:12px 14px;margin:0 0 15px}
.nhi-reset-panel .nhi-fields,.nhi-reset-panel .nhi-otp{gap:11px}
.nhi-reset-panel .nhpl-code-label{margin-top:10px}
