.ni-shared-portal {
	--ni-shared-blue: #2563eb;
	--ni-shared-blue-dark: #1d4ed8;
	--ni-shared-ink: #172033;
	--ni-shared-muted: #64748b;
	--ni-shared-border: #dbe3ee;
	width: min(100%, 760px);
	margin: 32px auto;
	color: var(--ni-shared-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.55;
}

.ni-shared-portal * { box-sizing: border-box; }
.ni-shared-portal__card { width: min(100%, 620px); margin: 0 auto; padding: 34px; border: 1px solid var(--ni-shared-border); border-radius: 14px; background: #fff; box-shadow: 0 8px 30px rgba(15, 23, 42, .08); }
.ni-shared-portal__card > header { margin-bottom: 24px; }
.ni-shared-portal__card h2 { margin: 2px 0 4px; color: var(--ni-shared-ink); font-size: clamp(1.6rem, 4vw, 2rem); line-height: 1.2; }
.ni-shared-portal__card header p { margin: 0; color: var(--ni-shared-muted); overflow-wrap: anywhere; }
.ni-shared-portal__eyebrow { display: block; color: var(--ni-shared-blue); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.ni-shared-portal__form { display: grid; gap: 18px; }
.ni-shared-portal__field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.ni-shared-portal__field label { color: #334155; font-size: .9rem; font-weight: 650; }
.ni-shared-portal__field input { width: 100%; max-width: none; min-height: 46px; margin: 0; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; color: var(--ni-shared-ink); font: inherit; }
.ni-shared-portal__remember { display: flex; align-items: center; gap: 8px; color: #475569; font-size: .9rem; }
.ni-shared-portal__remember input { width: auto; margin: 0; }
.ni-shared-portal :where(a, button, input, summary):focus-visible { outline: 3px solid rgba(37, 99, 235, .28); outline-offset: 2px; }
.ni-shared-portal__button, .ni-shared-portal__secondary-button { display: inline-flex; align-items: center; justify-content: center; width: max-content; min-height: 46px; padding: 10px 22px; border-radius: 7px; font: 650 .95rem/1.2 inherit; cursor: pointer; text-decoration: none; }
.ni-shared-portal__button { border: 0; background: var(--ni-shared-blue); color: #fff !important; box-shadow: 0 3px 9px rgba(37, 99, 235, .22); }
.ni-shared-portal__button:hover { background: var(--ni-shared-blue-dark); }
.ni-shared-portal__secondary-button { border: 1px solid #cbd5e1; background: #fff; color: var(--ni-shared-blue-dark); }
.ni-shared-portal__secondary-button:hover { border-color: var(--ni-shared-blue); background: #eff6ff; }
.ni-shared-portal__logout-form { margin: 22px 0 0; }
.ni-shared-portal__notice { margin: 0 0 20px; padding: 13px 15px; border: 1px solid; border-radius: 8px; overflow-wrap: anywhere; }
.ni-shared-portal__notice--error { border-color: #fecdd3; background: #fff1f2; color: #9f1239; }
.ni-shared-portal__notice--success { border-color: #a7f3d0; background: #ecfdf5; color: #065f46; }
.ni-shared-portal__notice--info { border-color: #bfdbfe; background: #eff6ff; color: #1e3a8a; }
.ni-shared-portal__reset { display: block; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ni-shared-border); color: var(--ni-shared-ink); }
.ni-shared-portal__reset summary { width: max-content; color: var(--ni-shared-blue-dark); font-weight: 650; cursor: pointer; }
.ni-shared-portal__reset > p { margin: 14px 0; color: var(--ni-shared-muted); font-size: .9rem; }
.ni-shared-portal__password-strength { margin: -8px 0 0; color: var(--ni-shared-muted); font-size: .88rem; }
.ni-shared-portal__password-strength[data-strength="0"], .ni-shared-portal__password-strength[data-strength="1"], .ni-shared-portal__password-strength[data-strength="5"] { color: #9f1239; }
.ni-shared-portal__password-strength[data-strength="2"] { color: #92400e; }
.ni-shared-portal__password-strength[data-strength="3"], .ni-shared-portal__password-strength[data-strength="4"] { color: #065f46; }
.ni-shared-portal__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ni-shared-portal__choice { display: grid; gap: 6px; min-width: 0; min-height: 112px; padding: 22px; border: 1px solid var(--ni-shared-border); border-radius: 10px; background: #f8fafc; color: var(--ni-shared-ink); text-decoration: none; }
.ni-shared-portal__choice strong { color: var(--ni-shared-blue-dark); font-size: 1.12rem; overflow-wrap: anywhere; }
.ni-shared-portal__choice span { color: var(--ni-shared-muted); }
.ni-shared-portal__choice:hover, .ni-shared-portal__choice:focus-visible { border-color: var(--ni-shared-blue); background: #eff6ff; }

@media (max-width: 620px) {
	.ni-shared-portal { margin: 20px auto; }
	.ni-shared-portal__card { padding: 24px 18px; }
	.ni-shared-portal__choices { grid-template-columns: 1fr; }
	.ni-shared-portal__button, .ni-shared-portal__secondary-button, .ni-shared-portal__logout-form { width: 100%; }
	.ni-shared-portal__reset summary { width: auto; }
}
