/* NOVANOK auth design system — canonical owner for every product auth surface. */
.nk-auth-page{--nk-bg:#f4f6f5;--nk-card:#fff;--nk-ink:#143c34;--nk-muted:#61746d;--nk-line:#cbd7d1;--nk-primary:#164e40;box-sizing:border-box;min-height:100dvh;width:100%;margin:0;display:grid;place-items:center;padding:20px;background:var(--nk-bg);color:var(--nk-ink);font:14px/1.45 Arial,Helvetica,sans-serif}
.nk-auth-page *{box-sizing:border-box;font-family:inherit}
.nk-auth-page [hidden],.nk-auth-page.hidden,.nk-auth-page.is-hidden{display:none}
.nk-auth-card{min-height:560px;width:min(100%,480px);margin:auto;padding:24px;border:1px solid var(--nk-line);border-radius:5px;background:var(--nk-card);box-shadow:0 10px 28px #183e3210;color:var(--nk-ink);text-align:left}
.nk-auth-card.nk-register{min-height:672px;width:min(100%,720px)}
.nk-auth-brand{padding:0;border:0;background:transparent;display:flex;align-items:center;gap:12px;margin:0 0 20px;min-height:40px}
.nk-auth-brand strong,.nk-auth-brand h1{margin:0;font:700 22px/1.2 Arial,Helvetica,sans-serif;color:var(--nk-ink)}
.nk-auth-brand small{display:block;margin-top:3px;color:var(--nk-muted);font-size:12px}
.nk-auth-mark{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:5px;background:var(--nk-primary);color:#fff;font-size:21px;font-weight:700}
.nk-auth-card h2{margin:0 0 16px;font-size:20px;line-height:1.3;font-weight:700;color:var(--nk-ink)}
.nk-auth-card p,.nk-auth-card small,.nk-auth-card summary{font-size:13px;line-height:1.45;color:var(--nk-muted)}
.nk-auth-fields{display:grid;gap:14px}.nk-auth-fields.nk-two-column{grid-template-columns:repeat(2,minmax(0,1fr))}.nk-auth-wide{grid-column:1/-1}
.nk-auth-field{display:block;min-width:0;margin:0}.nk-auth-card label,.nk-auth-field>label{display:block;margin:0 0 6px;font-size:13px;font-weight:600;line-height:18px;color:var(--nk-ink)}
.nk-auth-card input,.nk-auth-card select{display:block;box-sizing:border-box;width:100%;height:44px;min-height:44px;margin:0;padding:10px 12px;border:1px solid var(--nk-line);border-radius:5px;background:#fff;color:#143c34;font:14px/22px Arial,Helvetica,sans-serif;box-shadow:none;outline-offset:2px}
.nk-auth-card input:focus{outline:2px solid #236c54;border-color:#236c54}
.nk-auth-password,.nk-auth-card .password-field,.nk-auth-card .password-wrap{position:relative;display:block;margin:0;min-width:0}
.nk-auth-password input,.nk-auth-card .password-field input,.nk-auth-card .password-wrap input{padding-right:64px}
.nk-auth-card button,.nk-auth-card a{font-family:inherit;border-radius:5px}
.nk-auth-card button[aria-label="Show password"],.nk-auth-card button[aria-label="Hide password"],.nk-auth-card .nk-auth-eye,.nk-auth-card .password-toggle,.nk-auth-card .eye-btn{position:absolute;inset:auto 4px auto auto;top:50%;translate:none;transform:translateY(-50%);display:grid;place-items:center;width:52px;min-width:0;height:36px;min-height:36px;padding:5px;border:0;margin:0;background:transparent;color:#315d4d;font-size:12px;cursor:pointer;box-shadow:none}
.nk-auth-card .nk-auth-eye svg,.nk-auth-card .eye-btn svg,.nk-auth-card .password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.nk-auth-primary{display:block;width:100%;height:44px;min-height:44px;padding:10px 14px;margin:18px 0 0;border:1px solid var(--nk-primary);border-radius:5px;background:var(--nk-primary);color:white;font-size:14px;font-weight:600;line-height:22px;text-align:center;cursor:pointer;box-shadow:none}
.nk-auth-primary:disabled{opacity:.55;cursor:wait}
.nk-auth-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}
.nk-auth-links button,.nk-auth-links a,.nk-auth-link{display:inline-block;width:auto;min-height:32px;padding:5px 0;margin:0;border:0;background:transparent;color:#164e40;font-size:12px;line-height:22px;font-weight:500;text-decoration:none;cursor:pointer;box-shadow:none}
.nk-auth-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 16px}
.nk-auth-tabs button{height:40px;padding:8px;border:1px solid var(--nk-line);background:white;color:var(--nk-ink);font-size:13px;cursor:pointer}
.nk-auth-tabs button.active{border-color:var(--nk-primary);background:#e9f1ed;font-weight:700}
.nk-auth-note,.nk-auth-error,.nk-auth-success{margin-top:10px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.nk-auth-error{color:#a02e29}.nk-auth-success{color:#176b42}.nk-auth-note:empty,.nk-auth-error:empty,.nk-auth-success:empty{display:none}
.nk-auth-rules{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:8px;font-size:11px;color:var(--nk-muted)}.nk-auth-rules .password-rule-pass{color:#176b42}
.nk-auth-page .nk-auth-help{padding:10px 0;margin:0;font-size:12px;color:var(--nk-muted)}
.nk-auth-page button:focus-visible,.nk-auth-page summary:focus-visible{outline:2px solid #236c54;outline-offset:2px}
@media(max-width:600px){.nk-auth-page{padding:16px}.nk-auth-card{padding:20px}.nk-auth-fields.nk-two-column{grid-template-columns:1fr}.nk-auth-wide{grid-column:auto}.nk-auth-links{gap:8px}.nk-auth-card.nk-register{min-height:672px;width:min(100%,480px)}}
@media(min-width:601px) and (max-height:760px){.nk-auth-page{padding:12px}.nk-auth-card{padding:20px}.nk-auth-brand{margin-bottom:12px}.nk-auth-fields{gap:10px}.nk-auth-card h2{margin-bottom:12px}.nk-auth-primary{margin-top:14px}}

.nk-auth-roles{display:flex;gap:8px;margin:0 0 12px}.nk-auth-roles button{height:32px;padding:4px 14px;border:1px solid var(--nk-line);border-radius:5px;background:#fff;color:var(--nk-ink);font-size:12px;cursor:pointer}.nk-auth-roles button.active{border-color:var(--nk-primary);background:#e9f1ed;font-weight:700}

.nk-auth-management button,.nk-auth-management input,.nk-auth-management .table-wrap{border-radius:5px}.nk-auth-management button,.nk-auth-management input{min-height:44px}.nk-auth-management button{padding:8px 12px}

body:has(>.nk-auth-page){margin:0}body.nk-partner-auth>header{display:none}body.nk-partner-auth>main{padding:0;width:100%;max-width:none;margin:0}body.nk-partner-auth #notice:empty{display:none}
