/* Pre-Application Packet — public onboarding forms (standalone page) */

:root {
	--nh-bg: #0b0c0e;
	--nh-bar: #0f1013;
	--nh-line: #24272d;
	--nh-text: #e9e6df;
	--nh-muted: #9a9ea6;
	--nh-red: #c0504a;
	--nh-cyan: #1fd2e6;
	--nh-ok: #3fbf7f;
	--nh-paper: #f3eee4;
	--nh-ink: #1d1d1b;
	--nh-ink-soft: #55524c;
	--nh-rule: #b9b2a5;
	--nh-head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--nh-body: "Barlow", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.nh-body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--nh-bg);
	color: var(--nh-text);
	font-family: var(--nh-body);
	font-size: 15px;
	line-height: 1.55;
	overflow-x: clip;
}

a {
	color: inherit;
}

[hidden] {
	display: none !important;
}

/* ---------- Top bar ---------- */
.nh-top {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 22px;
	background: var(--nh-bar);
	border-bottom: 1px solid var(--nh-line);
}

.nh-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	text-decoration: none;
}

.nh-brand img {
	width: 40px;
	height: 40px;
	padding: 3px;
	border-radius: 4px;
	background: #fff;
	object-fit: contain;
}

.nh-brand strong,
.nh-brand small {
	display: block;
	font-family: var(--nh-head);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.nh-brand strong {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.1;
}

.nh-brand small {
	font-size: 12px;
	color: var(--nh-muted);
}

.nh-top-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nh-count {
	font-family: var(--nh-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.nh-count small {
	color: var(--nh-muted);
	text-transform: uppercase;
	font-size: 12px;
}

/* ---------- Buttons ---------- */
.nh-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid #3a3e46;
	border-radius: 2px;
	background: transparent;
	color: var(--nh-text);
	font-family: var(--nh-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.nh-btn:hover {
	border-color: var(--nh-text);
	background: var(--nh-text);
	color: var(--nh-bg);
}

.nh-btn-ghost {
	border-color: transparent;
	color: var(--nh-muted);
}

.nh-btn-ghost:hover {
	border-color: #3a3e46;
	background: transparent;
	color: var(--nh-text);
}

.nh-form-bar .nh-btn-ghost {
	border-color: #3a3e46;
	color: var(--nh-text);
}

.nh-btn-primary {
	border-color: var(--nh-cyan);
	background: var(--nh-cyan);
	color: #04121a;
}

.nh-btn-primary:hover {
	border-color: #fff;
	background: #fff;
	color: #04121a;
}

/* ---------- Tabs ---------- */
.nh-tabs {
	position: sticky;
	top: 65px;
	z-index: 19;
	display: flex;
	gap: 2px;
	padding: 8px 14px;
	background: var(--nh-bg);
	border-bottom: 1px solid var(--nh-line);
	overflow-x: auto;
	scrollbar-width: none;
}

.nh-tabs::-webkit-scrollbar {
	display: none;
}

.nh-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	padding: 9px 12px;
	border-radius: 2px;
	color: var(--nh-muted);
	font-family: var(--nh-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.nh-tab span {
	opacity: 0.75;
}

.nh-tab:hover {
	color: var(--nh-text);
}

.nh-tab.is-active {
	background: #1a1c20;
	color: #fff;
}

.nh-tab .fa-check-circle {
	display: none;
	color: var(--nh-ok);
}

.nh-tab.is-signed .fa-check-circle {
	display: inline-block;
}

/* ---------- Layout ---------- */
.nh-main {
	flex: 1 0 auto;
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	padding: 48px 20px 60px;
}

.nh-view {
	display: none;
}

.nh-view.is-current {
	display: block;
	animation: nh-in 0.2s ease;
}

@keyframes nh-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

.nh-label {
	display: block;
	font-family: var(--nh-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nh-muted);
}

/* ---------- Index ---------- */
.nh-eyebrow {
	font-family: var(--nh-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nh-red);
}

.nh-index h1 {
	margin: 8px 0 12px;
	font-family: var(--nh-head);
	font-size: clamp(34px, 6vw, 46px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.nh-lead {
	max-width: 540px;
	margin: 0 0 26px;
	color: var(--nh-muted);
}

.nh-progress {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	border-top: 1px solid var(--nh-line);
	border-bottom: 1px solid var(--nh-line);
}

.nh-progress-count {
	margin-top: 4px;
	font-family: var(--nh-head);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.nh-progress-count small {
	margin-left: 4px;
	font-size: 13px;
	color: var(--nh-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.nh-bar {
	display: block;
	width: 180px;
	height: 3px;
	margin-top: 8px;
	background: var(--nh-line);
}

.nh-bar span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--nh-ok);
	transition: width 0.3s ease;
}

.nh-progress-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nh-doclist {
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
}

.nh-doclist li {
	border-bottom: 1px solid var(--nh-line);
}

.nh-doclist a {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 18px 4px;
	text-decoration: none;
	transition: background 0.15s ease, padding 0.15s ease;
}

.nh-doclist a:hover {
	padding-left: 12px;
	background: #111317;
}

.nh-num {
	width: 36px;
	flex-shrink: 0;
	font-family: var(--nh-head);
	font-size: 20px;
	font-weight: 600;
	color: var(--nh-muted);
}

.nh-doc {
	flex: 1;
	min-width: 0;
}

.nh-doc strong {
	display: block;
	font-family: var(--nh-head);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.nh-doc small {
	display: block;
	font-size: 14px;
	color: var(--nh-muted);
}

.nh-state {
	flex-shrink: 0;
	font-family: var(--nh-head);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nh-muted);
}

.nh-state.is-draft {
	color: #e0a84a;
}

.nh-state.is-signed {
	color: var(--nh-ok);
}

.nh-doclist .fa-angle-right {
	color: var(--nh-muted);
}

.nh-address {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-style: normal;
	font-size: 14px;
	color: var(--nh-muted);
}

.nh-address strong {
	margin-bottom: 4px;
	font-family: var(--nh-head);
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nh-text);
}

.nh-address a {
	color: var(--nh-text);
}

/* ---------- Form bar + pager ---------- */
.nh-form-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
}

.nh-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
}

.nh-pager-link {
	display: inline-flex;
	flex-direction: column;
	min-width: 0;
	color: var(--nh-text);
	text-decoration: none;
}

.nh-pager-link small {
	font-family: var(--nh-head);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nh-muted);
}

.nh-pager-link strong {
	font-family: var(--nh-head);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.nh-pager-link:hover strong {
	color: var(--nh-cyan);
}

.nh-pager-link.is-next {
	text-align: right;
}

.nh-pager-status {
	flex: 1 1 100%;
	order: -1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid var(--nh-line);
	border-radius: 2px;
	background: #111317;
	font-size: 13px;
	color: var(--nh-muted);
}

.nh-pager-status i {
	font-size: 16px;
}

.nh-pager-status.is-signed {
	border-color: rgba(63, 191, 127, 0.4);
	color: var(--nh-ok);
}

.nh-pager-status .nh-link {
	margin-left: auto;
	border: 0;
	background: none;
	padding: 0;
	color: var(--nh-cyan);
	font-family: var(--nh-head);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
}

/* ---------- Paper ---------- */
.nh-paper {
	padding: 30px 30px 24px;
	border-radius: 18px;
	background: var(--nh-paper);
	color: var(--nh-ink);
	font-size: 14.5px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.nh-paper p {
	margin: 0 0 14px;
}

.nh-paper-head {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) auto;
	gap: 4px 16px;
	align-items: start;
	margin-bottom: 22px;
	padding-bottom: 16px;
	border-bottom: 1.5px solid var(--nh-ink);
}

.nh-paper-head img {
	grid-row: span 2;
	width: 58px;
	height: 58px;
	padding: 4px;
	background: #8b8f96;
	object-fit: contain;
}

.nh-paper-brand strong,
.nh-paper-brand small {
	display: block;
	font-family: var(--nh-head);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.nh-paper-brand strong {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
}

.nh-paper-brand small {
	font-size: 11px;
	color: var(--nh-ink-soft);
}

.nh-paper-head h2 {
	grid-column: 2 / -1;
	margin: 6px 0 0;
	font-family: var(--nh-head);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.nh-stamp {
	padding: 3px 8px;
	border: 1.5px solid #9b2c25;
	color: #9b2c25;
	font-family: var(--nh-head);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.nh-sec-title {
	margin: 22px 0 6px;
	font-family: var(--nh-head);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.nh-office {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
	padding-bottom: 16px;
	margin-bottom: 8px;
	border-bottom: 1px solid #d8d1c3;
}

.nh-office-label {
	width: 100%;
	font-family: var(--nh-head);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nh-ink-soft);
}

/* Grid fields */
.nh-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 4px 14px;
}

.nh-f {
	display: block;
	min-width: 0;
	padding-top: 12px;
	font-family: var(--nh-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nh-ink-soft);
}

.nh-f em,
.nh-q em,
.nh-label em {
	font-style: normal;
	color: #9b2c25;
}

.c-3 { grid-column: span 3; }
.c-4 { grid-column: span 4; }
.c-5 { grid-column: span 5; }
.c-6 { grid-column: span 6; }
.c-12 { grid-column: span 12; }

.nh-input,
.nh-inline {
	width: 100%;
	min-width: 0;
	padding: 8px 2px 7px;
	border: 0;
	border-bottom: 1px solid var(--nh-rule);
	border-radius: 0;
	background: transparent;
	color: var(--nh-ink);
	font-family: var(--nh-body);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	outline: none;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.nh-f > .nh-input {
	display: block;
	margin-top: 2px;
}

.nh-input:focus,
.nh-inline:focus {
	border-bottom-color: var(--nh-ink);
	background: rgba(255, 255, 255, 0.45);
}

select.nh-input {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

textarea.nh-input {
	resize: vertical;
	min-height: 70px;
}

.nh-lined {
	min-height: 130px !important;
	background-image: repeating-linear-gradient(transparent, transparent 29px, #d8d1c3 29px, #d8d1c3 30px);
	line-height: 30px;
}

.nh-inline {
	display: inline-block;
	width: 210px;
	max-width: 100%;
	padding: 0 4px;
	vertical-align: baseline;
}

.nh-invalid {
	border-bottom-color: #b3322b !important;
	background: rgba(179, 50, 43, 0.06) !important;
}

/* Checkboxes / radios */
.nh-box {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--nh-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nh-ink);
	cursor: pointer;
}

.nh-choices .nh-box,
.nh-areas .nh-box {
	font-family: var(--nh-body);
	font-size: 14.5px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.nh-box input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nh-box > span {
	position: relative;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	border: 1.5px solid var(--nh-ink);
	background: transparent;
}

.nh-box input:checked + span::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid var(--nh-ink);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.nh-box input:focus-visible + span {
	outline: 2px solid var(--nh-cyan);
	outline-offset: 2px;
}

.nh-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 26px;
	margin: 4px 0 10px;
}

.nh-choices.is-stack {
	flex-direction: column;
	gap: 14px;
	margin-top: 18px;
}

.nh-choices.nh-invalid-group .nh-box > span {
	border-color: #b3322b;
}

.nh-q {
	margin-top: 18px !important;
}

/* Shift rank */
.nh-rank {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	padding: 12px 14px;
	border: 1px solid var(--nh-rule);
	font-family: var(--nh-head);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nh-rank strong {
	font-size: 14px;
	font-weight: 700;
}

.nh-rank strong small {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	font-weight: 500;
	opacity: 0.75;
}

.nh-rank-opts {
	display: flex;
	gap: 8px;
}

.nh-rank-opts input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nh-rank-opts span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1.5px solid var(--nh-ink);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.nh-rank-opts input:checked + span {
	background: var(--nh-ink);
	color: var(--nh-paper);
}

.nh-rank-opts input:focus-visible + span {
	outline: 2px solid var(--nh-cyan);
	outline-offset: 2px;
}

.nh-hint {
	font-size: 12.5px;
	color: #9b2c25;
}

.nh-hint.is-ok {
	color: #2c7a4f;
}

.nh-small {
	font-size: 13px;
	color: var(--nh-ink-soft);
}

/* Lists */
.nh-list {
	margin: 18px 0;
	padding-left: 22px;
}

.nh-list li {
	margin-bottom: 10px;
	padding-left: 4px;
}

.nh-oath {
	list-style: none;
	margin: 16px 0;
	padding: 0;
}

.nh-oath li {
	margin-bottom: 12px;
}

.nh-rule {
	margin: 22px 0 18px;
	border: 0;
	border-top: 1px solid var(--nh-rule);
}

.nh-affirm {
	margin: 20px 0 0 !important;
	font-style: italic;
	color: var(--nh-ink-soft);
}

/* Signature */
.nh-sign-row {
	margin-top: 18px;
	align-items: end;
}

.nh-sig {
	position: relative;
	height: 86px;
	margin-top: 4px;
	border-bottom: 1px solid var(--nh-ink);
	background: rgba(255, 255, 255, 0.35);
	touch-action: none;
}

.nh-sig canvas {
	display: block;
	width: 100%;
	height: 100%;
	cursor: crosshair;
}

.nh-sig-img {
	display: none;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left bottom;
}

.nh-rank.nh-invalid {
	border-color: #b3322b !important;
	background: rgba(179, 50, 43, 0.06) !important;
}

.nh-sig-hint {
	position: absolute;
	left: 8px;
	bottom: 8px;
	font-family: var(--nh-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: #a39c8f;
	pointer-events: none;
}

.nh-sig.has-ink .nh-sig-hint {
	display: none;
}

.nh-sig-clear {
	position: absolute;
	top: 4px;
	right: 4px;
	padding: 2px 8px;
	border: 1px solid var(--nh-rule);
	border-radius: 2px;
	background: var(--nh-paper);
	color: var(--nh-ink-soft);
	font-family: var(--nh-head);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.nh-sig:not(.has-ink) .nh-sig-clear {
	display: none;
}

.nh-sig.nh-invalid {
	border-bottom-color: #b3322b;
}

/* Tattoo disclosure */
.nh-disclose {
	display: grid;
	grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	gap: 20px;
	margin-top: 10px;
}

.nh-body-map {
	position: relative;
	align-self: start;
	padding: 8px;
	background: #fff;
	border: 1px solid #d8d1c3;
}

.nh-body-map img {
	display: block;
	width: 100%;
	height: auto;
}

.nh-spot {
	position: absolute;
	width: 26px;
	height: 26px;
	margin: 0;
	padding: 0;
	border: 1.5px dashed rgba(29, 29, 27, 0.35);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	color: transparent;
	font-size: 22px;
	font-weight: 700;
	line-height: 22px;
	transform: translate(-50%, -50%);
	cursor: pointer;
}

.nh-spot:hover {
	border-color: #9b2c25;
}

.nh-spot.is-on {
	border: 0;
	background: transparent;
	color: #b3322b;
}

.nh-areas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 14px;
	margin-bottom: 16px;
}

.nh-dark {
	color: var(--nh-ink-soft);
}

.nh-meanings {
	margin: 0;
	padding-left: 20px;
}

.nh-meanings li {
	padding-left: 4px;
	font-weight: 600;
}

.nh-meanings .nh-input {
	padding-top: 6px;
}

/* Paper footer */
.nh-paper-foot {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 14px;
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid var(--nh-rule);
	font-size: 12.5px;
	color: var(--nh-ink-soft);
}

.nh-paper-foot strong {
	display: block;
	font-family: var(--nh-head);
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nh-ink);
}

.nh-paper-foot div:last-child {
	text-align: right;
}

.nh-paper-foot a {
	color: var(--nh-ink);
}

/* ---------- Page footer + toast ---------- */
.nh-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 18px 22px;
	border-top: 1px solid var(--nh-line);
	font-size: 13px;
	color: var(--nh-muted);
}

.nh-foot p {
	margin: 0;
}

.nh-foot a {
	font-family: var(--nh-head);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--nh-text);
}

.nh-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 50;
	max-width: calc(100% - 32px);
	padding: 10px 16px;
	border: 1px solid #3a3e46;
	border-radius: 2px;
	background: #16181c;
	color: var(--nh-text);
	font-size: 14px;
	transform: translateX(-50%);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
	.nh-top {
		padding: 10px 14px;
	}

	.nh-tabs {
		top: 61px;
	}

	.nh-hide-sm {
		display: none;
	}

	.nh-main {
		padding: 28px 14px 44px;
	}

	.nh-paper {
		padding: 20px 16px 18px;
		border-radius: 12px;
	}

	.nh-paper-head {
		grid-template-columns: 46px minmax(0, 1fr);
	}

	.nh-paper-head img {
		width: 46px;
		height: 46px;
	}

	.nh-stamp {
		grid-column: 2;
		justify-self: start;
	}

	.nh-paper-head h2 {
		font-size: 19px;
	}

	.c-3,
	.c-4,
	.c-5 {
		grid-column: span 6;
	}

	.c-6 {
		grid-column: span 12;
	}

	.nh-disclose {
		grid-template-columns: 1fr;
	}

	.nh-body-map {
		max-width: 280px;
	}

	.nh-paper-foot {
		grid-template-columns: 1fr;
	}

	.nh-paper-foot div:last-child {
		text-align: left;
	}
}

@media (max-width: 479px) {
	.nh-top-right .nh-btn span,
	.nh-count small {
		display: none;
	}

	.nh-brand small {
		display: none;
	}

	.c-3,
	.c-4,
	.c-5 {
		grid-column: span 12;
	}

	.nh-doclist a {
		gap: 12px;
	}

	.nh-state {
		display: none;
	}
}

/* ---------- Print ---------- */
@media print {
	@page {
		size: letter;
		margin: 12mm;
	}

	body.nh-body {
		display: block;
		background: #fff;
		color: #000;
		font-size: 12px;
	}

	.nh-top,
	.nh-tabs,
	.nh-form-bar,
	.nh-pager,
	.nh-foot,
	.nh-toast,
	.nh-index,
	.nh-sig-clear,
	.nh-sig-hint,
	.nh-hint {
		display: none !important;
	}

	.nh-main {
		max-width: none;
		padding: 0;
	}

	.nh-view,
	.nh-view.is-current {
		animation: none;
	}

	body.nh-print-all .nh-view[data-form] {
		display: block !important;
	}

	body.nh-print-all .nh-view[data-form] + .nh-view[data-form] {
		break-before: page;
	}

	.nh-paper {
		padding: 0;
		border-radius: 0;
		background: #fff;
		box-shadow: none;
		font-size: 12px;
	}

	.nh-paper-head img {
		background: #fff;
	}

	.nh-input,
	.nh-inline,
	.nh-sig {
		background: transparent !important;
		border-bottom-color: #000 !important;
	}

	.nh-invalid,
	.nh-invalid-group .nh-box > span {
		border-color: #000 !important;
	}

	.nh-spot {
		border: 0 !important;
		background: transparent !important;
	}

	.nh-sig canvas {
		display: none;
	}

	.nh-sig-img[src^="data:"] {
		display: block;
	}

	.nh-list li,
	.nh-oath li {
		break-inside: avoid;
	}

	.nh-sign-row,
	.nh-paper-foot,
	.nh-disclose {
		break-inside: avoid;
	}
}
