/*
 * Purpose: Partner apply T&C scroll-sign modal + apply-hero lede width.
 * Loaded on partner apply layout only (see HtmlView).
 * [host:grok-cli:0.2.106][brain:xai:grok-4.5][via:direct:xai][hurc:v0.12.1326]
 * [host:grok-cli:0.2.114][brain:xai:grok-4.5][via:direct:xai][hurc:v0.12.1794]
 * Revised: remove facts block styles; scroll area fills modal (no 14rem cap).
 */

.nllm-partner-tc {
	border: 0;
	padding: 0;
	max-width: min(40rem, 96vw);
	width: 100%;
	background: transparent;
	color: inherit;
}

.nllm-partner-tc::backdrop {
	background: rgba(2, 6, 23, 0.72);
}

.nllm-partner-tc__panel {
	background: #0f172a;
	border: 1px solid #334155;
	border-radius: 14px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
	/* Mobile: use almost full viewport; leave room for accept controls */
	max-height: min(92vh, 48rem);
	height: min(92vh, 48rem);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.nllm-partner-tc__header {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.1rem 0.75rem;
	border-bottom: 1px solid #1e293b;
	flex: 0 0 auto;
}

.nllm-partner-tc__kicker {
	margin: 0;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6ee7b7;
	font-weight: 800;
}

.nllm-partner-tc__title {
	margin: 0.2rem 0 0;
	font-size: 1.15rem;
	color: #f8fafc;
}

.nllm-partner-tc__close {
	border: 0;
	background: transparent;
	color: #94a3b8;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

/* Facts summary removed — terms scroll is the only content body */

.nllm-partner-tc__scroll-wrap {
	padding: 0.75rem 1.1rem 0.35rem;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.nllm-partner-tc__scroll {
	flex: 1 1 auto;
	/* No fixed max-height — fill remaining panel so mobile can actually read terms */
	min-height: 12rem;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0.75rem 0.85rem;
	border: 1px solid #334155;
	border-radius: 10px;
	background: #020617;
	color: #cbd5e1;
	font-size: 0.88rem;
	line-height: 1.5;
}

.nllm-partner-tc__scroll h3 {
	margin: 0.85rem 0 0.35rem;
	font-size: 0.95rem;
	color: #e2e8f0;
}

.nllm-partner-tc__scroll-hint {
	margin: 0.4rem 0 0;
	font-size: 0.8rem;
	color: #94a3b8;
	flex: 0 0 auto;
}

.nllm-partner-tc__accept {
	padding: 0.85rem 1.1rem 1.1rem;
	border-top: 1px solid #1e293b;
	display: grid;
	gap: 0.55rem;
	flex: 0 0 auto;
}

.nllm-partner-tc__check,
.nllm-partner-tc__age {
	display: flex;
	gap: 0.55rem;
	align-items: flex-start;
	font-size: 0.92rem;
	color: #e2e8f0;
	margin: 0;
}

.nllm-partner-tc__initials {
	min-height: 2.5rem;
	padding: 0.45rem 0.65rem;
	border-radius: 8px;
	border: 1px solid #475569;
	background: #020617;
	color: #f8fafc;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	max-width: 10rem;
}

.nllm-partner-tc__ts-hint {
	margin: 0;
	font-size: 0.8rem;
	color: #94a3b8;
}

.nllm-partner-hero--apply .nllm-partner-hero__lede {
	max-width: 40rem;
}

.nllm-partner-tc__notice {
	margin: 0 0 0.75rem;
	padding: 0.65rem 0.85rem;
	border-radius: 0.5rem;
	border: 1px solid color-mix(in srgb, #f59e0b 55%, transparent);
	background: color-mix(in srgb, #f59e0b 14%, #0f172a);
	color: #fef3c7;
	font-size: max(0.875rem, 14px);
	line-height: 1.45;
}

@media (max-width: 640px) {
	.nllm-partner-tc {
		max-width: 100vw;
	}

	.nllm-partner-tc__panel {
		max-height: 100dvh;
		height: 100dvh;
		border-radius: 0;
	}

	.nllm-partner-tc__scroll {
		min-height: 10rem;
		font-size: 0.9rem;
	}
}
