/* Application layout only. Components and visual tokens come from static /v3/. */
.npm-options {
	align-items: end;
	display: grid;
	grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
	gap: 40px;
}

.npm-option-group legend {
	color: var(--dpu-ink);
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 8px;
}

.package-heading {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-bottom: 18px;
}

.package-heading .dpu-task-heading {
	margin: 0;
}

.package-meta {
	color: var(--dpu-muted);
	margin: 0;
	font-size: 13px;
	overflow-wrap: anywhere;
}

.version-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-bottom: 20px;
}

.version-title {
	margin: 0;
	padding: 0;
}

.version-number {
	color: var(--dpu-ink);
	font-size: 15px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.version-number-line {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Badges share a heading row but keep the guide's body line height. */
.version-badge {
	line-height: 1.55;
	font-weight: 400;
}

.npm-page .release-notes-link {
	color: var(--dpu-blue);
	font-size: 13px;
	margin: 0;
	text-decoration: underline;
}

.npm-page .release-notes-link:hover {
	color: var(--dpu-blue-hover);
}

.command-label {
	color: var(--dpu-text);
	display: block;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 6px;
}

.command-row {
	min-width: 0;
}

/* Application JS fits rows to the complete command; shared CSS owns the field. */
.command-row .command {
	resize: none;
	overflow: hidden;
}

.copy-button {
	min-width: 94px;
	flex-shrink: 0;
}

.copy-button.is-copied {
	color: #fff;
}

.copy-label {
	min-width: 8ch;
	text-align: center;
}

/* Symbol geometry and icon dimensions remain owned by dpu-icon. */
.copy-icon {
	pointer-events: none;
}

.npm-page .trial-note {
	color: var(--dpu-muted);
	font-size: 13px;
	margin: 16px 0 0;
}

.npm-page .copy-status:not(.dpu-sr-only) {
	color: var(--dpu-danger);
	font-size: 13px;
	margin-top: 12px;
}

@media (max-width: 720px) {
	.npm-options {
		align-items: stretch;
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}
}

@media (max-width: 440px) {
	.npm-choice-list span { padding-inline: 7px; }
	.version-heading .release-notes-link { width: 100%; }
}

[v-cloak] {
	display: none;
}
