/* Nieto Client Connect */
.npcc {
	--npcc-ink: #1d1d1b;
	--npcc-muted: #5b5b57;
	--npcc-line: #e3ded4;
	--npcc-soft: #f7f5f1;
	--npcc-accent: #8a7350;
	--npcc-error: #b42318;
	--npcc-ok-bg: #f1f6ef;
	--npcc-ok-line: #b9d3ae;
	color: var(--npcc-ink);
	max-width: 760px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.55;
}
.npcc *, .npcc *::before, .npcc *::after { box-sizing: border-box; }

.npcc-progress { height: 4px; background: var(--npcc-line); border-radius: 2px; overflow: hidden; display: none; }
.npcc-progress-bar { display: block; height: 100%; width: 0; background: var(--npcc-accent); transition: width .3s ease; }
.npcc-step-count { display: none; margin: 10px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--npcc-muted); }
.npcc-js .npcc-progress, .npcc-js .npcc-step-count { display: block; }

.npcc-step { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.npcc-step > legend { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(24px, 4vw, 30px); line-height: 1.2; padding: 0; margin: 0 0 6px; }
.npcc-intro { color: var(--npcc-muted); margin: 0 0 20px; }

.npcc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.npcc-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.npcc-field.npcc-half { grid-column: span 1; }
.npcc-field > label, .npcc-field > legend { font-weight: 600; font-size: 15px; padding: 0; }
.npcc-req { color: var(--npcc-accent); }

.npcc input[type=text], .npcc input[type=email], .npcc input[type=tel], .npcc input[type=number],
.npcc input[type=date], .npcc input[type=password], .npcc select, .npcc textarea {
	width: 100%; padding: 12px 14px; font: inherit; color: inherit; background: #fff;
	border: 1px solid #cfc9bd; border-radius: 6px; min-height: 48px;
}
.npcc textarea { min-height: 96px; resize: vertical; }
.npcc input:focus, .npcc select:focus, .npcc textarea:focus { outline: 2px solid var(--npcc-accent); outline-offset: 1px; border-color: var(--npcc-accent); }

.npcc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.npcc-chip { position: relative; cursor: pointer; }
.npcc-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.npcc-chip span { display: inline-block; padding: 10px 14px; min-height: 44px; border: 1px solid #cfc9bd; border-radius: 999px; background: #fff; font-size: 15px; line-height: 1.5; transition: background .15s, border-color .15s; }
.npcc-chip input:checked + span { background: var(--npcc-ink); border-color: var(--npcc-ink); color: #fff; }
.npcc-chip input:focus-visible + span { outline: 2px solid var(--npcc-accent); outline-offset: 2px; }
.npcc-group-label { margin: 8px 0 2px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--npcc-muted); }

.npcc-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; color: var(--npcc-muted); }
.npcc-consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }

.npcc-has-error input, .npcc-has-error select, .npcc-has-error textarea { border-color: var(--npcc-error); }
.npcc-error { color: var(--npcc-error); font-size: 14px; }
.npcc-alert { background: #fdf6e7; border: 1px solid #ecd6a4; border-radius: 6px; padding: 12px 16px; margin: 0 0 16px; }

.npcc-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 32px; }
.npcc-btn { font: inherit; font-size: 16px; min-height: 48px; padding: 12px 24px; border-radius: 6px; border: 1px solid var(--npcc-ink); background: #fff; color: var(--npcc-ink); cursor: pointer; }
.npcc-btn-primary { background: var(--npcc-ink); color: #fff; margin-left: auto; }
.npcc-btn:disabled { opacity: .6; cursor: wait; }
.npcc-hp { position: absolute !important; left: -9999px !important; }

/* Without JavaScript every step shows and the submit button is always available. */
.npcc:not(.npcc-js) .npcc-back, .npcc:not(.npcc-js) .npcc-next { display: none; }
.npcc [hidden] { display: none !important; }

/* Portal */
.npcc-portal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.npcc-portal-head h2 { font-family: Georgia, 'Times New Roman', serif; margin: 0; }
.npcc-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--npcc-line); margin: 18px 0 20px; overflow-x: auto; }
.npcc-tabs a { padding: 12px 16px; text-decoration: none; color: var(--npcc-muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.npcc-tabs a.is-active { color: var(--npcc-ink); border-color: var(--npcc-accent); font-weight: 600; }
.npcc-card { background: var(--npcc-soft); border: 1px solid var(--npcc-line); border-radius: 8px; padding: 20px 22px; margin: 0 0 16px; }
.npcc-card h3 { font-family: Georgia, 'Times New Roman', serif; margin: 0 0 12px; }
.npcc-dl { display: grid; grid-template-columns: minmax(140px, 38%) 1fr; gap: 8px 16px; margin: 0; }
.npcc-dl dt { color: var(--npcc-muted); }
.npcc-dl dd { margin: 0; }
.npcc-success { background: var(--npcc-ok-bg); border: 1px solid var(--npcc-ok-line); border-radius: 8px; padding: 18px 22px; margin: 0 0 20px; }
.npcc-success h3 { margin: 0 0 6px; font-family: Georgia, 'Times New Roman', serif; }
.npcc-small { font-size: 14px; color: var(--npcc-muted); }
.npcc-portal #loginform p { margin: 0 0 14px; }
.npcc-portal #loginform label { display: block; font-weight: 600; margin-bottom: 6px; }
.npcc-portal #loginform input[type=submit] { font: inherit; min-height: 48px; padding: 12px 24px; border-radius: 6px; border: 0; background: var(--npcc-ink); color: #fff; cursor: pointer; }

@media (max-width: 600px) {
	.npcc-grid { grid-template-columns: 1fr; }
	.npcc-field.npcc-half { grid-column: 1 / -1; }
	.npcc-dl { grid-template-columns: 1fr; gap: 2px; }
	.npcc-dl dd { margin-bottom: 10px; }
}
