.wpr-v2-page {
	--wpr-v2-ink: #101828;
	--wpr-v2-muted: #667085;
	--wpr-v2-line: #e4e7ec;
	--wpr-v2-soft: #f8f9fc;
	--wpr-v2-primary: #5b39f2;
	--wpr-v2-success: #12b76a;
	color: var(--wpr-v2-ink);
}

.wpr-v2-page-shell {
	background:
		radial-gradient(circle at top left, rgba(91, 57, 242, 0.08), transparent 34rem),
		linear-gradient(180deg, #fff 0%, #f7f8fc 100%);
	padding: 0 0 3rem;
}

.wpr-v2-top-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(440px, 0.88fr);
	gap: clamp(1.5rem, 3vw, 2.6rem);
	align-items: start;
	/* Spacing to the confidence strip is now owned by the strip's own symmetric
	   margin (see .wpr-v2-data-strip), so both sides are even. */
	margin-bottom: 0;
}

.wpr-v2-hero {
	padding: 0.3rem 0 0;
}

.wpr-v2-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
	margin: 0 0 2rem;
	color: #667085;
	font-size: 0.78rem;
	font-weight: 700;
}

.wpr-v2-breadcrumb a {
	color: #475467;
	text-decoration: none;
}

.wpr-v2-breadcrumb a:hover {
	color: var(--wpr-v2-primary);
}

.wpr-v2-plugin-identity {
	display: grid;
	grid-template-columns: clamp(118px, 10vw, 144px) minmax(0, 1fr);
	gap: clamp(1rem, 2vw, 1.35rem);
	align-items: start;
}

.wpr-v2-plugin-icon-wrap {
	display: grid;
	place-items: center;
	width: clamp(118px, 10vw, 144px);
	height: clamp(118px, 10vw, 144px);
	border: 1px solid var(--wpr-v2-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 22px 46px rgba(16, 24, 40, 0.1);
	overflow: hidden;
	transform: translateY(-0.8rem);
}

.wpr-v2-plugin-icon {
	width: clamp(88px, 7.5vw, 108px);
	height: clamp(88px, 7.5vw, 108px);
	object-fit: contain;
	border-radius: 20px;
}

.wpr-v2-title-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: baseline;
	margin-bottom: 0.3rem;
	max-width: 46rem;
}

.wpr-v2-plugin-title {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 42rem;
	margin: 0;
	font-size: clamp(1.9rem, 2.35vw, 2rem);
	line-height: 1.03;
	font-weight: 800;
	letter-spacing: 0;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.wpr-v2-version-pill {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	min-height: 1.7rem;
	padding: 0.25rem 0.62rem;
	border: 1px solid rgba(91, 57, 242, 0.18);
	border-radius: 999px;
	background: rgba(91, 57, 242, 0.08);
	color: var(--wpr-v2-primary);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1;
	transform: translateY(-0.16rem);
}

.wpr-v2-plugin-subtitle {
	max-width: 44rem;
	margin: 0 0 0.6rem;
	color: #475467;
	font-size: clamp(0.98rem, 1.08vw, 1rem);
	line-height: 1.35;
	font-weight: 600;
}

.wpr-v2-plugin-description {
	max-width: 42rem;
	margin: 0 0 0.8rem;
	color: var(--wpr-v2-muted);
	font-size: 0.9rem;
	line-height: 1.45;
}

.wpr-v2-tag-row,
.wpr-v2-action-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.btn-sm,
.btn-group-sm > .btn,
.input-group-sm .btn {
	--bs-btn-padding-y: .7rem;
	--bs-btn-padding-x: 1rem;
	--bs-btn-font-size: .7rem;
	--bs-btn-border-radius: .375rem;
}

.wpr-v2-action-row {
	margin-top: 0.7rem;
}

.wpr-v2-action-row br {
	display: none;
}

.wpr-v2-action-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	min-height: 2.15rem;
	padding: 0.7rem 1rem;
	border-radius: 0.375rem;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
	transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.wpr-v2-action-row .btn.wpr-v2-action-button,
.wpr-v2-action-row .btn-sm.wpr-v2-action-button,
.wpr-v2-action-row .wpr-v2-action-button-primary,
.wpr-v2-action-row .wpr-v2-action-button-secondary,
.wpr-v2-action-row .wpr-v2-action-button-compare {
	padding: 0.7rem 1rem;
	border-radius: 0.375rem;
	font-size: 0.7rem;
	line-height: 1;
}

.wpr-v2-action-button .dashicons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	font-size: 1em;
	line-height: 1;
	margin: 0;
}

.wpr-v2-action-button-primary {
	border-color: var(--wpr-v2-primary);
	background: var(--wpr-v2-primary);
}

.wpr-v2-action-button-secondary {
	border-color: rgba(91, 57, 242, 0.3);
	background: rgba(255, 255, 255, 0.82);
	color: var(--wpr-v2-primary);
}

.wpr-v2-action-button-compare {
	border-color: rgba(102, 112, 133, 0.26);
	background: #fff;
	color: #475467;
	box-shadow: 0 7px 16px rgba(16, 24, 40, 0.05);
}

.wpr-v2-action-button-compare.is-muted {
	opacity: 0.82;
	cursor: default;
}

/* Native Claim Listings CTA placed in the action row: the widget wraps its button in a
   div, so let that wrapper participate directly in the flex row to align the Claim button
   with WordPress.org / Author site. Color comes from .wpr-v2-action-button-primary above. */
.wpr-v2-action-row .gd-post-claim-wrap {
	display: contents;
}

.wpr-v2-action-row .wpr-v2-action-button-claim {
	cursor: pointer;
}

/* Native GD "Author Actions" Edit button (owner of a claimed listing). The widget
   wraps its buttons in a div, so let it participate directly in the flex row, and
   restyle its anchor to match .wpr-v2-action-button-primary (not raw GD/AUI). */
.wpr-v2-action-row .gd-author-actions {
	display: contents;
}
.wpr-v2-action-row .gd-author-actions .gd_user_action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	min-height: 2.15rem;
	padding: 0.7rem 1rem;
	border-radius: 0.375rem;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	border: 1px solid var(--wpr-v2-primary);
	background: var(--wpr-v2-primary);
	color: #fff;
	box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
	transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.wpr-v2-action-row .gd-author-actions .gd_user_action:hover,
.wpr-v2-action-row .gd-author-actions .gd_user_action:focus {
	transform: translateY(-1px);
	box-shadow: 0 11px 24px rgba(16, 24, 40, 0.12);
	color: #fff;
}

a.wpr-v2-action-button:hover,
a.wpr-v2-action-button:focus {
	transform: translateY(-1px);
	box-shadow: 0 11px 24px rgba(16, 24, 40, 0.12);
}

.wpr-v2-tag {
	display: inline-flex;
	align-items: center;
	min-height: 1.55rem;
	padding: 0.22rem 0.52rem;
	border: 1px solid #e5e7f5;
	border-radius: 999px;
	background: #f8f9ff;
	color: #4b5565;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.wpr-v2-tag:hover,
.wpr-v2-tag:focus {
	border-color: rgba(91, 57, 242, 0.28);
	background: #fff;
	color: var(--wpr-v2-primary);
	text-decoration: none;
}

.wpr-v2-stats-card,
.wpr-v2-panel,
.wpr-v2-data-strip,
.wpr-v2-premium {
	border: 1px solid rgba(16, 24, 40, 0.08);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 22px 55px rgba(16, 24, 40, 0.08);
}

.wpr-v2-stats-card {
	width: min(100%, 620px);
	justify-self: end;
	overflow: hidden;
	box-shadow: 0 18px 44px rgba(16, 24, 40, 0.07);
}

.wpr-v2-stats-row {
	display: grid;
}

.wpr-v2-stats-row.is-top {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wpr-v2-stats-row.is-bottom {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid rgba(16, 24, 40, 0.07);
}

.wpr-v2-stat-cell {
	min-height: 130px;
	padding: 0.82rem 0.9rem;
	border-right: 1px solid rgba(16, 24, 40, 0.07);
}

.wpr-v2-stats-row .wpr-v2-stat-cell:last-child {
	border-right: 0;
}

.wpr-v2-stat-label {
	margin-bottom: 0.5rem;
	color: #475467;
	font-size: 0.72rem;
	font-weight: 700;
}

.wpr-v2-stat-value {
	font-size: clamp(1.12rem, 1.55vw, 1.5rem);
	line-height: 2;
	font-weight: 800;
	color: var(--wpr-v2-ink);
}

.wpr-v2-stat-detail {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	align-items: center;
	margin-top: 0.28rem;
	color: var(--wpr-v2-muted);
	font-size: 0.76rem;
	font-weight: 400;
}

.wpr-v2-stat-cell.is-highlight .wpr-v2-stat-detail {
	color: var(--wpr-v2-success);
}

.wpr-v2-stat-cell.is-highlight .wpr-v2-stat-value {
	font-size: clamp(0.98rem, 1.25vw, 1.22rem);
}

.wpr-v2-movement,
.wpr-v2-quality {
	display: inline-flex;
	gap: 0.22rem;
	align-items: center;
	font-weight: 400;
	white-space: nowrap;
}

.wpr-v2-movement.is-up {
	color: #027a48;
}

.wpr-v2-movement.is-down {
	color: #b42318;
}

.wpr-v2-movement.is-flat {
	color: #667085;
	font-weight: 400;
}

.wpr-v2-inline-stars {
	display: inline-flex;
	gap: 0.05rem;
	color: #d0d5dd;
	font-size: 0.82rem;
	line-height: 1;
}

.wpr-v2-inline-stars .is-filled {
	color: #f59e0b;
}

.wpr-v2-quality.is-excellent {
	color: #027a48;
}

.wpr-v2-quality.is-good {
	color: #7a5af8;
}

.wpr-v2-quality.is-bad {
	color: #b42318;
}

.wpr-v2-data-strip {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	width: fit-content;
	max-width: 100%;
	/* Even breathing room above AND below the strip (top-grid margin-bottom is 0,
	   so this controls both sides) — ~17-18px each. */
	margin: 1.1rem auto;
	padding: 0.65rem 1rem;
	color: var(--wpr-v2-muted);
	font-size: 0.86rem;
}

.wpr-v2-strip-pill {
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	background: rgba(18, 183, 106, 0.1);
	color: #027a48;
	font-weight: 800;
}

.wpr-v2-panel {
	padding: 1.3rem;
}

.wpr-v2-chart-panel {
	margin-bottom: 1.35rem;
	padding: 1.35rem 1.35rem 0.85rem;
}

.wpr-v2-panel-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1.25rem;
	margin-bottom: 1rem;
}

.wpr-v2-panel-header h2 {
	margin: 0;
	font-size: 1.45rem;
	letter-spacing: 0;
}

.wpr-v2-panel-header p {
	margin: 0.25rem 0 0;
	color: var(--wpr-v2-muted);
}

.wpr-v2-panel-header.is-compact {
	align-items: center;
	justify-content: flex-start;
	gap: 0.55rem;
	margin-bottom: 1rem;
}

.wpr-v2-panel-header.is-compact h2 {
	font-size: 1.04rem;
	font-weight: 800;
	line-height: 1.15;
}

.wpr-v2-chart-toolbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.55rem;
	flex: 1;
}

.wpr-v2-chart-controls {
	display: inline-flex;
	border: 1px solid var(--wpr-v2-line);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.wpr-v2-chart-controls button {
	padding: 0.52rem 0.78rem;
	border-right: 1px solid var(--wpr-v2-line);
	border-top: 0;
	border-bottom: 0;
	border-left: 0;
	background: transparent;
	color: #475467;
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
}

/* Chart metric dropdown — compact select inline with the range tabs (replaces
   the old segmented buttons). Height/typography match the range tab buttons. */
.wpr-v2-chart-metric-select {
	height: 100%;
	padding: 0.52rem 1.9rem 0.52rem 0.78rem;
	border: 1px solid var(--wpr-v2-line);
	border-radius: 4px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475467' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.6rem center;
	color: #475467;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}
.wpr-v2-chart-metric-select:hover,
.wpr-v2-chart-metric-select:focus {
	border-color: var(--wpr-v2-primary);
	color: var(--wpr-v2-primary);
	outline: none;
}

.wpr-v2-chart-controls button:last-child {
	border-right: 0;
}

.wpr-v2-chart-controls button:hover,
.wpr-v2-chart-controls button:focus {
	background: #f8f9ff;
	color: var(--wpr-v2-primary);
	outline: none;
}

.wpr-v2-chart-controls .is-active {
	background: var(--wpr-v2-primary);
	color: #fff;
}

.wpr-v2-chart-shell {
	min-height: 470px;
	padding: 0.25rem 0.25rem 0.4rem;
	border: 1px solid #d7d7d7;
	border-radius: 0;
	background: #fff;
	transition: opacity 0.16s ease;
}

.wpr-v2-chart-shell.is-loading {
	opacity: 0.58;
}

.wpr-v2-chart-shell .wpr-v2-growth-chart-canvas-wrap {
	height: 450px !important;
	min-height: 450px;
	background: #fff;
}

/* Top-tier Growth % placeholder — replaces the near-flat (misleading) Growth %
   line for 100k+ plugins. Fills the chart area, centered. Injected by the chart JS
   in place of the canvas; the other metric views still render the canvas. */
.wpr-v2-growth-locked {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 320px;
	padding: 1.5rem;
	box-sizing: border-box;
	text-align: center;
}

.wpr-v2-growth-locked-text {
	margin: 0;
	max-width: 34rem;
	color: var(--wpr-v2-muted, #667085);
	font-size: 1rem;
	line-height: 1.6;
}

.wpr-v2-chart-placeholder {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 460px;
	border: 1px dashed #d0d5dd;
	border-radius: 12px;
	background: #f8f9fc;
	color: var(--wpr-v2-muted);
	text-align: center;
}

.wpr-v2-chart-placeholder div {
	color: var(--wpr-v2-ink);
	font-size: 1.15rem;
	font-weight: 800;
}

.wpr-v2-chart-placeholder span {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.9rem;
}

.wpr-v2-chart-footer {
	padding-top: 0.65rem;
	text-align: right;
	color: var(--wpr-v2-muted);
	font-size: 0.8rem;
}

.wpr-v2-secondary-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.82fr 0.95fr;
	gap: 1.25rem;
	margin-bottom: 1.35rem;
}

.wpr-v2-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	box-sizing: border-box;
	padding: 0;
	border: 1px solid rgba(91, 57, 242, 0.14);
	border-radius: 8px;
	background: rgba(91, 57, 242, 0.08);
	color: var(--wpr-v2-primary);
	line-height: 0;
	vertical-align: middle;
}

.wpr-v2-icon svg {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	overflow: hidden;
}

.wpr-v2-review-summary {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem;
	padding: 0.15rem 0 1rem;
	border-bottom: 1px solid var(--wpr-v2-line);
}

.wpr-v2-review-metric {
	min-width: 0;
}

.wpr-v2-review-label {
	display: block;
	margin-bottom: 0.45rem;
	color: var(--wpr-v2-muted);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.wpr-v2-review-score {
	font-size: clamp(1.65rem, 2vw, 2rem);
	line-height: 1;
	font-weight: 800;
}

.wpr-v2-stars {
	color: #f59e0b;
	letter-spacing: 0;
	font-size: 0.95rem;
	line-height: 1.25;
}

.wpr-v2-review-note {
	margin-top: 0.25rem;
	color: var(--wpr-v2-muted);
	font-size: 0.84rem;
	font-weight: 600;
}

.wpr-v2-card-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.8rem;
	margin-top: 0.5rem;
	font-size: 0.8rem;
	font-weight: 800;
}

.wpr-v2-card-actions a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--wpr-v2-primary);
	text-decoration: none;
}

.wpr-v2-card-actions a:hover,
.wpr-v2-mini-list a:hover {
	text-decoration: underline;
}

.wpr-v2-mini-list > div {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.62rem;
	padding: 0.62rem 0;
	border-bottom: 1px solid var(--wpr-v2-line);
	color: var(--wpr-v2-muted);
	font-size: 0.83rem;
}

.wpr-v2-mini-list > div:last-child {
	border-bottom: 0;
}

.wpr-v2-mini-list strong {
	color: var(--wpr-v2-ink);
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: right;
}

.wpr-v2-mini-list small {
	display: block;
	margin-top: 0.18rem;
	color: var(--wpr-v2-muted);
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
}

.wpr-v2-mini-list a {
	color: var(--wpr-v2-primary);
	text-decoration: none;
}

.wpr-v2-mini-list .wpr-v2-icon {
	width: 1.45rem;
	height: 1.45rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--wpr-v2-primary);
}

.wpr-v2-mini-list .wpr-v2-icon svg {
	width: 0.9rem;
	height: 0.9rem;
	stroke-width: 2;
}

.wpr-v2-movement-row strong {
	min-width: 7.5rem;
}

.wpr-v2-movement-row .wpr-v2-movement {
	justify-content: flex-end;
	white-space: nowrap;
}

.wpr-v2-premium {
	display: grid;
	grid-template-columns: 1fr 1.8fr;
	gap: 1.5rem;
	padding: 1.5rem;
	border: 1px solid rgba(91, 57, 242, 0.16);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(91, 57, 242, 0.08), rgba(18, 183, 106, 0.05)),
		#fff;
	box-shadow: 0 18px 46px rgba(16, 24, 40, 0.05);
}

.wpr-v2-eyebrow {
	margin-bottom: 0.5rem;
	color: var(--wpr-v2-primary);
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
}

.wpr-v2-premium-copy h2 {
	margin: 0 0 0.55rem;
	font-size: clamp(1.4rem, 2.2vw, 1.75rem);
	line-height: 1.08;
	font-weight: 800;
}

.wpr-v2-premium-copy p {
	margin: 0;
	color: var(--wpr-v2-muted);
}

.wpr-v2-premium-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.wpr-v2-premium-grid > div {
	min-height: 150px;
	padding: 1.1rem;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
}

.wpr-v2-premium-grid strong,
.wpr-v2-premium-grid span:not(.wpr-v2-icon),
.wpr-v2-premium-grid p {
	display: block;
}

.wpr-v2-premium-grid strong {
	margin-top: 0.82rem;
	color: var(--wpr-v2-ink);
	font-size: 0.95rem;
	line-height: 1.2;
}

.wpr-v2-premium-grid p {
	margin: 0.55rem 0 0;
	color: var(--wpr-v2-muted);
	font-size: 0.82rem;
	line-height: 1.35;
}

.wpr-v2-premium-grid .wpr-v2-preview-link {
	display: block;
	margin-top: 0.85rem;
	color: var(--wpr-v2-primary);
	font-size: 0.76rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.wpr-v2-premium-grid .wpr-v2-preview-link:hover { text-decoration: underline; }

.wpr-v2-premium-grid span {
	margin-top: 0.85rem;
	color: var(--wpr-v2-primary);
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
}

.wpr-v2-premium-grid .wpr-v2-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	background: rgba(91, 57, 242, 0.09);
	line-height: 0;
}

.wpr-v2-premium-grid .wpr-v2-icon svg {
	width: 20px;
	height: 20px;
	stroke-width: 2;
}

.wpr-v2-trust-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-top: 1rem;
	padding: 1rem 1.2rem;
	border: 1px solid var(--wpr-v2-line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 12px 30px rgba(16, 24, 40, 0.04);
}

.wpr-v2-trust-strip > div {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 0.65rem;
	align-items: center;
	padding: 0 1rem;
	border-right: 1px solid var(--wpr-v2-line);
}

.wpr-v2-trust-strip > div:first-child {
	padding-left: 0;
}

.wpr-v2-trust-strip > div:last-child {
	padding-right: 0;
	border-right: 0;
}

.wpr-v2-trust-strip span:not(.wpr-v2-icon),
.wpr-v2-trust-strip strong {
	display: block;
}

.wpr-v2-trust-strip span:not(.wpr-v2-icon) {
	margin-bottom: 0.35rem;
	color: var(--wpr-v2-muted);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.wpr-v2-trust-strip strong {
	color: var(--wpr-v2-ink);
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.25;
}

.wpr-v2-trust-strip .wpr-v2-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	grid-row: span 2;
	width: 1.9rem;
	height: 1.9rem;
	padding: 0;
	background: rgba(91, 57, 242, 0.08);
	line-height: 0;
}

.wpr-v2-trust-strip .wpr-v2-icon-shield {
	border-color: rgba(18, 183, 106, 0.2);
	background: rgba(18, 183, 106, 0.08);
	color: #027a48;
}

@media (max-width: 991.98px) {
	.wpr-v2-top-grid,
	.wpr-v2-secondary-grid,
	.wpr-v2-premium,
	.wpr-v2-trust-strip {
		grid-template-columns: 1fr;
	}

	.wpr-v2-trust-strip > div {
		padding: 0.75rem 0;
		border-right: 0;
		border-bottom: 1px solid var(--wpr-v2-line);
	}

	.wpr-v2-trust-strip > div:first-child {
		padding-top: 0;
	}

	.wpr-v2-trust-strip > div:last-child {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.wpr-v2-stats-card {
		width: 100%;
		justify-self: stretch;
	}

	.wpr-v2-plugin-icon-wrap {
		transform: none;
	}

	.wpr-v2-stats-row.is-top,
	.wpr-v2-stats-row.is-bottom {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wpr-v2-stats-row .wpr-v2-stat-cell:nth-child(n) {
		border-right: 1px solid var(--wpr-v2-line);
		border-bottom: 1px solid var(--wpr-v2-line);
	}

	.wpr-v2-stats-row .wpr-v2-stat-cell:nth-child(2n) {
		border-right: 0;
	}
}

@media (max-width: 575.98px) {
	.wpr-v2-plugin-identity,
	.wpr-v2-stats-row.is-top,
	.wpr-v2-stats-row.is-bottom,
	.wpr-v2-premium-grid {
		grid-template-columns: 1fr;
	}

	.wpr-v2-title-row {
		display: block;
	}

	.wpr-v2-version-pill {
		margin-top: 0.45rem;
	}

	.wpr-v2-plugin-icon-wrap {
		width: 104px;
		height: 104px;
	}

	.wpr-v2-plugin-icon {
		width: 78px;
		height: 78px;
	}

	.wpr-v2-data-strip,
	.wpr-v2-panel-header {
		align-items: stretch;
		flex-direction: column;
	}

	.wpr-v2-chart-shell {
		min-height: 380px;
	}

	.wpr-v2-chart-shell .wpr-v2-growth-chart-canvas-wrap {
		height: 360px !important;
	}
}

/* =====================================================================
   Single-page REFLOW (2026-06-15) — Blockstrap row/col layout + the two
   new placeholder components (SEO Rankings, Compare) and the Data Source
   card. Layout only; collapses to one column < lg via Bootstrap col-12.
   ===================================================================== */

/* Row rhythm — one shared gutter for all three content rows. The Blockstrap
   row divs carry Bootstrap's `mb-0` (margin-bottom:0 !important), so the spacing
   must win with higher specificity + !important; otherwise Row 2 touches its
   neighbours. */
.wpr-v2-single-row {
	--bs-gutter-x: 1.25rem;
	--bs-gutter-y: 1.25rem;
}
.wpr-v2-page .wpr-v2-single-row { margin-bottom: 1.5rem !important; }
.wpr-v2-single-row .wpr-v2-chart-panel { margin-bottom: 0; }

/* Desktop (2-col row): make the chart panel fill its column so it's as tall as
   the Review Stats + Development Activity stack beside it. The canvas grows to
   fill via a flex chain (Chart.js maintainAspectRatio:false fills its wrap). */
@media ( min-width: 992px ) {
	.wpr-v2-single-row .wpr-v2-chart-panel {
		height: 100%;
		display: flex;
		flex-direction: column;
	}
	.wpr-v2-single-row .wpr-v2-chart-panel .wpr-v2-chart-shell {
		flex: 1 1 auto;
		min-height: 450px; /* floor; grows to match the right stack */
		display: flex;
		flex-direction: column;
	}
	.wpr-v2-single-row .wpr-v2-chart-panel .wpr-v2-growth-chart {
		flex: 1 1 auto;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}
	.wpr-v2-single-row .wpr-v2-chart-panel .wpr-v2-growth-chart-canvas-wrap {
		flex: 1 1 auto;
		height: auto !important;
		min-height: 0;
	}
}

/* Row 1 right column: Reviews & Support stacked over Recent Movement.
   The cards carry Bootstrap's `.h-100` (height:100% !important); in this flex
   column that stretched them to the row height and left a gap above the Reviews
   links. Override with !important + higher specificity so the cards size to
   their content, top-aligned, and any leftover space falls to the bottom of the
   column (default flex-start). */
.wpr-v2-col-stack {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.wpr-v2-col-stack > .wpr-v2-panel { height: auto !important; }

/* Recent Movement (the last card in the stack) was bottom-heavy because of two
   trailing contributors below its last row: (1) a stray empty <p> that a global
   wpautop leaves at the end of the mini-list, carrying the theme paragraph margin
   (~20px), and (2) the panel's 1.3rem bottom padding. Drop the artifact and trim
   the bottom padding so the card hugs its last row. Row content and between-row
   rhythm are untouched, and the rule is scoped to this card so no other shifts. */
.wpr-v2-col-stack > .wpr-v2-panel:last-child .wpr-v2-mini-list > p { display: none; }
.wpr-v2-col-stack > .wpr-v2-panel:last-child { padding-bottom: 0.6rem; }

/* Row 3 wide column: Premium Insights stays horizontal (copy + 3 sub-cards in a
   row), matching the mockup; just fill the column height. */
.wpr-v2-col-premium .wpr-v2-premium {
	height: 100%;
}

/* ---- Shared scaffold chrome (SEO Rankings + Compare) ---- */
.wpr-v2-panel-tools {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.35rem;
	flex: 0 0 auto;
}
.wpr-v2-mini-btn {
	display: inline-block;
	padding: 0.4rem 0.78rem;
	border: 1px solid var(--wpr-v2-line);
	border-radius: 8px;
	background: #fff;
	color: var(--wpr-v2-muted);
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
/* Only the genuinely-disabled state gets the not-allowed cursor; working links
   (sign in / edit form) keep the pointer. */
.wpr-v2-mini-btn:disabled,
.wpr-v2-mini-btn[disabled],
.wpr-v2-mini-btn[aria-disabled="true"] {
	cursor: not-allowed;
}
.wpr-v2-field-note { color: var(--wpr-v2-muted); font-size: 0.72rem; }

.wpr-v2-table-wrap { overflow-x: auto; }
.wpr-v2-data-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.82rem;
}
.wpr-v2-data-table th,
.wpr-v2-data-table td {
	padding: 0.55rem 0.6rem;
	text-align: left;
	white-space: nowrap;
	border-bottom: 1px solid var(--wpr-v2-line);
}
.wpr-v2-data-table thead th {
	color: var(--wpr-v2-muted);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.wpr-v2-data-table .is-num { text-align: right; }
.wpr-v2-data-table tbody tr:last-child th,
.wpr-v2-data-table tbody tr:last-child td { border-bottom: 0; }
.wpr-v2-compare-table th[scope="row"] { color: var(--wpr-v2-ink); font-weight: 600; }
.wpr-v2-compare-table .is-current { background: rgba(91, 57, 242, 0.04); }
.wpr-v2-add-slot {
	display: inline-block;
	padding: 0.12rem 0.5rem;
	border: 1px dashed var(--wpr-v2-line);
	border-radius: 6px;
	color: var(--wpr-v2-muted);
	font-size: 0.72rem;
	font-weight: 600;
}
.wpr-v2-table-note {
	margin: 0.7rem 0 0;
	color: var(--wpr-v2-muted);
	font-size: 0.76rem;
	line-height: 1.4;
}

/* Compare card: compact so 4 columns fit with no horizontal scroll. Icon-only
   plugin headers (name in a native title tooltip) + smaller value/label font. */
.wpr-v2-compare-table { font-size: 0.72rem; }
.wpr-v2-compare-table th,
.wpr-v2-compare-table td { padding: 0.4rem 0.45rem; }
.wpr-v2-compare-table thead th.wpr-v2-cmp-col { text-align: right; vertical-align: bottom; text-transform: none; }
.wpr-v2-cmp-head {
	display: flex; /* block-level flex: avoids the inline-image baseline quirk so
	                  every column's icon bottom-aligns on the same row. */
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 0.15rem;
	color: var(--wpr-v2-ink);
	letter-spacing: 0;
	text-transform: none;
}
a.wpr-v2-cmp-head { text-decoration: none; }
a.wpr-v2-cmp-head:hover .wpr-v2-cmp-ico { box-shadow: 0 0 0 2px rgba(91, 57, 242, 0.4); }
.wpr-v2-cmp-ico {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	flex: 0 0 auto;
	object-fit: cover;
	background: #f1f2f6;
}
.wpr-v2-cmp-ico.is-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	font-weight: 800;
	color: var(--wpr-v2-muted);
}
.wpr-v2-cmp-tag {
	font-size: 0.56rem;
	font-weight: 700;
	color: var(--wpr-v2-muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.wpr-v2-compare-empty {
	margin: 0.7rem 0 0;
	color: var(--wpr-v2-muted);
	font-size: 0.78rem;
	line-height: 1.4;
}

/* SEO Rankings: static "coming soon" empty state (no skeleton shimmer). */
.wpr-v2-seo-empty {
	text-align: center;
	color: var(--wpr-v2-muted);
	font-size: 0.82rem;
	padding: 1.6rem 0.6rem;
}
.wpr-v2-seo-change { font-weight: 700; font-size: 0.78rem; white-space: nowrap; }
.wpr-v2-seo-change.is-up { color: #027a48; }
.wpr-v2-seo-change.is-down { color: #b42318; }
.wpr-v2-seo-change.is-flat { color: var(--wpr-v2-muted); font-weight: 600; }

/* Owner "Check rankings" button: primary (purple) variant + working state. */
.wpr-v2-mini-btn.is-primary {
	background: #5b39f2;
	border-color: #5b39f2;
	color: #fff;
}
.wpr-v2-mini-btn.is-primary:hover { background: #4f2db7; border-color: #4f2db7; }
.wpr-v2-mini-btn.is-loading { opacity: 0.75; cursor: progress; }

/* ---- Non-owner / public SEO placeholder: static, blurred, claim note overlay ---- */
.wpr-v2-seo-locked-wrap {
	position: relative;
	min-height: 220px;
}
/* The fake rows are visually obfuscated and non-interactive (also aria-hidden in markup). */
.wpr-v2-seo-blur {
	filter: blur(5px);
	-webkit-filter: blur(5px);
	pointer-events: none;
	user-select: none;
	opacity: 0.85;
}
/* Readable claim note centered over the blurred table. */
.wpr-v2-seo-lock-note {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	text-align: center;
	padding: 1.25rem;
}
.wpr-v2-seo-lock-note p {
	margin: 0;
	max-width: 26rem;
	font-size: 0.92rem;
	line-height: 1.5;
	font-weight: 600;
	color: #1d2939;
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid var(--wpr-v2-line);
	border-radius: 10px;
	padding: 0.7rem 0.95rem;
	box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}
.wpr-v2-seo-lock-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 999px;
	background: rgba(91, 57, 242, 0.1);
	color: #5b39f2;
}

/* New-card headers match the Reviews & Support / Recent Movement compact style:
   icon chip + 1.04rem/800 title, with the subtitle beneath. */
.wpr-v2-scaffold-header { align-items: flex-start; gap: 1rem; }
.wpr-v2-scaffold-head { min-width: 0; flex: 2; }
.wpr-v2-scaffold-title { display: flex; align-items: center; gap: 0.55rem; }
.wpr-v2-scaffold-title h2 {
	margin: 0;
	font-size: 1.04rem;
	font-weight: 800;
	line-height: 1.15;
}
.wpr-v2-scaffold-head p {
	margin: 0.4rem 0 0;
	color: var(--wpr-v2-muted);
	font-size: 0.79rem;
}

/* Skeleton placeholders (no data wired yet). */
.wpr-v2-skel {
	display: inline-block;
	height: 0.7rem;
	border-radius: 5px;
	vertical-align: middle;
	background: linear-gradient(90deg, #eef0f5 25%, #e2e6ee 37%, #eef0f5 63%);
	background-size: 400% 100%;
	animation: wpr-v2-skel 1.4s ease infinite;
}
.wpr-v2-skel-text { width: 72%; }
.wpr-v2-skel-pill { width: 3rem; }
.wpr-v2-skel-num { width: 2.4rem; }
.wpr-v2-skel.is-empty { opacity: 0.45; }
@keyframes wpr-v2-skel {
	0% { background-position: 100% 0; }
	100% { background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.wpr-v2-skel { animation: none; }
}

/* =====================================================================
   Review Stats card (replaces Reviews & Support). Lives in the ~40% right
   column: per-star bars stacked, doughnut below them. 100% local data.
   ===================================================================== */
.wpr-v2-rs-empty { margin: 0; color: var(--wpr-v2-muted); font-size: 0.85rem; }

.wpr-v2-rs-overall-line {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem;
	font-size: 0.84rem;
	color: var(--wpr-v2-muted);
}
.wpr-v2-rs-overall-line strong { color: var(--wpr-v2-ink); font-weight: 800; white-space: nowrap; }

.wpr-v2-rs-bar {
	height: 8px;
	margin: 0.28rem 0 0.6rem;
	border-radius: 999px;
	background: #eef0f5;
	overflow: hidden;
}
.wpr-v2-rs-overall .wpr-v2-rs-bar { height: 12px; margin-bottom: 0.45rem; }
.wpr-v2-rs-bar-fill { height: 100%; border-radius: 999px; }
.wpr-v2-rs-bar-fill.is-success { background: #12b76a; }
.wpr-v2-rs-bar-fill.is-star5 { background: #44c553; }
.wpr-v2-rs-bar-fill.is-star4 { background: #a2e90a; }
.wpr-v2-rs-bar-fill.is-star3 { background: #ffc107; }
.wpr-v2-rs-bar-fill.is-star2 { background: #ff8903; }
.wpr-v2-rs-bar-fill.is-star1 { background: #dc3545; }

.wpr-v2-rs-next {
	margin: 0 0 0.25rem;
	color: var(--wpr-v2-muted);
	font-size: 0.72rem;
	line-height: 1.35;
	text-align: center;
}

/* Bars (left) + donut (right), donut vertically centered against the bar block,
   so the card is shorter than when the donut was stacked underneath. */
.wpr-v2-rs-split {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 0.85rem;
}
.wpr-v2-rs-bars { flex: 1 1 auto; min-width: 0; }
.wpr-v2-rs-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem;
	font-size: 0.74rem;
}
.wpr-v2-rs-row-label { color: var(--wpr-v2-muted); font-weight: 600; }
.wpr-v2-rs-row-pct { color: var(--wpr-v2-muted); font-weight: 700; }

.wpr-v2-rs-donut {
	flex: 0 0 auto;
	width: 140px;
	margin: 0;
}
.wpr-v2-rs-donut canvas { display: block; width: 100% !important; height: auto !important; }

/* Stack again on very narrow viewports if side-by-side gets cramped. */
@media (max-width: 575.98px) {
	.wpr-v2-rs-split { flex-direction: column; align-items: stretch; }
	.wpr-v2-rs-donut { width: 100%; max-width: 150px; margin: 0.85rem auto 0; }
}

/* =====================================================================
   Development Activity card (replaces Recent Movement). Headline = a local
   release-activity rating; facts below; lower area reserved for the
   Downloads chart (next task).
   ===================================================================== */
/* Badge sits at the right end of the heading row (Edit-button position). */
/* Header row must span the full card width so the badge's margin-left:auto pushes
   it to the card's true right edge (flush right), not just past the heading text. */
.wpr-v2-dev-header { width: 100%; flex-wrap: nowrap; }
/* h2 grows to fill the row so the badge is pushed to the card's true right edge.
   (Auto-margin alone resolved to 0 here, so we grow the title box instead.) */
.wpr-v2-dev-header h2 { flex: 1 1 auto; margin-right: 0.55rem; }
.wpr-v2-dev-header .wpr-v2-dev-badge {
	margin-left: auto;
	flex: 0 0 auto;
	font-size: 0.8rem;
	padding: 0.32rem 0.7rem;
	white-space: nowrap;
}
.wpr-v2-dev-header .wpr-v2-dev-badge::before { width: 0.45rem; height: 0.45rem; }
.wpr-v2-dev-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.95rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1;
}
.wpr-v2-dev-badge::before {
	content: "";
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	background: currentColor;
}
.wpr-v2-dev-badge.is-very-active { background: rgba(18, 183, 106, 0.12); color: #027a48; border-color: rgba(18, 183, 106, 0.26); }
.wpr-v2-dev-badge.is-active      { background: rgba(68, 197, 83, 0.13);  color: #2a9d3f; border-color: rgba(68, 197, 83, 0.28); }
.wpr-v2-dev-badge.is-regular     { background: rgba(245, 158, 11, 0.14); color: #b45309; border-color: rgba(245, 158, 11, 0.30); }
.wpr-v2-dev-badge.is-dormant     { background: rgba(255, 137, 3, 0.12);  color: #c2410c; border-color: rgba(255, 137, 3, 0.26); }
.wpr-v2-dev-badge.is-inactive    { background: rgba(102, 112, 133, 0.12); color: #667085; border-color: rgba(102, 112, 133, 0.22); }
