.npm-page {
	color: #333;
	padding-bottom: 40px;
}

.npm-intro {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
	font-size: 18px;
	line-height: 1.6;
	margin: 24px 0 20px;
	padding: 24px;
}

.npm-intro p {
	margin: 0;
}

.npm-intro-note {
	color: #666;
	font-size: 14px;
	margin-top: 4px !important;
}

.npm-options {
	align-items: end;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	display: flex;
	gap: 32px;
	padding: 18px 20px;
}

.npm-option-group {
	border: 0;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.npm-option-group legend {
	color: #666;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin-bottom: 8px;
	padding: 0;
	text-transform: uppercase;
}

.npm-choice-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.npm-choice {
	cursor: pointer;
	position: relative;
}

.npm-choice input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.npm-choice span {
	align-items: center;
	background: #fff;
	border: 1px solid #dbe3ea;
	border-radius: 999px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
	color: #334155;
	display: inline-flex;
	font-weight: 600;
	line-height: 1.2;
	padding: 7px 13px;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.npm-choice:hover span {
	background: #f3f7fb;
	border-color: #cbd6e2;
	color: #111;
}

.npm-choice input:checked + span {
	background: #00639e;
	border-color: #00639e;
	color: #fff;
}

.npm-choice input:focus-visible + span {
	outline: 2px solid #00639e;
	outline-offset: 2px;
}

.package-panel {
	margin-top: 34px;
}

.package-heading {
	align-items: end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
}

.package-heading h2 {
	font-size: 28px;
	font-weight: 400;
	line-height: 1.25;
	margin: 0 0 4px;
	padding: 0;
}

.package-heading p {
	color: #666;
	margin: 0;
}

.package-heading code {
	background: rgba(0, 0, 0, 0.07);
	border-radius: 5px;
	color: rgba(0, 0, 0, 0.8);
	font-family: monospace;
	font-size: 0.85em;
	font-weight: 700;
	padding: 0.2rem 0.4rem;
}

.version-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.version-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
	min-width: 0;
	padding: 20px;
}

.version-card--release {
	border-top: 3px solid #00639e;
	padding-top: 18px;
}

.version-card-heading {
	align-items: start;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.version-label {
	color: #666;
	font-size: 13px;
	font-weight: 600;
}

.version-number {
	color: #111827;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.version-badge {
	background: #e8f2f8;
	border: 1px solid #c9deea;
	border-radius: 999px;
	color: #005686;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	padding: 5px 9px;
	text-transform: uppercase;
}

.version-badge--sandbox {
	background: #f3f4f6;
	border-color: #e1e4e8;
	color: #59616b;
}

.version-card > p {
	color: #666;
	margin: 10px 0 18px;
}

.command-label {
	color: #4b5563;
	display: block;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 6px;
}

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

.command {
	background: #f8fafc;
	border: 1px solid #dbe3ea;
	border-radius: 6px 0 0 6px;
	box-sizing: border-box;
	color: #1f2937;
	cursor: text;
	flex: 1 1 auto;
	font-family: monospace;
	font-size: 12px;
	min-width: 0;
	padding: 11px 12px;
}

.command:focus {
	border-color: #00639e;
	box-shadow: inset 0 0 0 1px #00639e;
	outline: none;
	position: relative;
	z-index: 1;
}

.copy-button {
	align-items: center;
	background: #00639e;
	border: 1px solid #00639e;
	border-radius: 0 6px 6px 0;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font-weight: 600;
	gap: 7px;
	justify-content: center;
	min-width: 88px;
	padding: 0 14px;
}

.copy-button:hover {
	background: #004f7e;
	border-color: #004f7e;
}

.copy-button.is-copied {
	background: #277a3e;
	border-color: #277a3e;
}

.copy-button:active {
	transform: translateY(1px);
}

.copy-button:focus-visible {
	outline: 2px solid #00639e;
	outline-offset: 2px;
}

.copy-icon {
	fill: none;
	height: 17px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 17px;
}

.trial-note {
	background: #f9fafb;
	border-left: 3px solid #00639e;
	color: #555;
	margin: 24px 0 0;
	padding: 10px 14px;
}

.visually-hidden {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

@media (max-width: 760px) {
	.npm-options {
		align-items: stretch;
		flex-direction: column;
		gap: 18px;
	}

	.version-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.npm-intro,
	.npm-options,
	.version-card {
		padding-left: 15px;
		padding-right: 15px;
	}

	.npm-choice-list {
		gap: 6px;
	}

	.npm-choice span {
		padding-left: 10px;
		padding-right: 10px;
	}

	.command {
		font-size: 11px;
	}

	.copy-button {
		min-width: 48px;
		padding: 0 12px;
	}

	.copy-label {
		display: none;
	}
}

[v-cloak] {
	display: none;
}
