.news-week-pilot {
	color: #202124;
	padding: 2px 0 12px;
}

.news-week-pilot[hidden] { display: none; }

.news-week-pilot__header {
	align-items: flex-start;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.news-week-pilot__eyebrow { color: #687079; font-size: 12px; margin: 0; }
.news-week-pilot h3 { font-size: 17px; line-height: 1.3; margin: 2px 0 0; }

.news-week-pilot__card {
	background: #fff;
	border: 1px solid #dfe3e6;
	border-radius: 10px;
	margin: 0 0 10px;
	padding: 12px;
}

.news-week-pilot__question { font-weight: 600; line-height: 1.4; margin: 0 0 10px; }

.news-week-pilot__answer {
	background: #f5f7f8;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.45;
	margin: 10px 0;
	padding: 10px;
}

.news-week-pilot__answer p { margin: 0 0 6px; }
.news-week-pilot__answer ul { margin: 4px 0 0; padding-left: 18px; }
.news-week-pilot__sources-summary { color: #4f5962; font-weight: 600; }
.news-week-pilot__sources { margin-top: 10px; }
.news-week-pilot__sources summary { cursor: pointer; color: #0c7258; }
.news-week-pilot__sources p { margin: 8px 0; font-size: 14px; }
.news-week-pilot__sources a { color: #0c7258; text-decoration: underline; }
.news-week-pilot__row { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; }
.news-week-pilot button, .news-week-pilot select, .news-week-pilot textarea { font: inherit; }

.news-week-pilot__vote,
.news-week-pilot__secondary,
.news-week-pilot__submit {
	background: #fff;
	border: 1px solid #cbd1d5;
	border-radius: 7px;
	cursor: pointer;
	padding: 7px 9px;
}

.news-week-pilot__vote[aria-pressed="true"] { background: #e9f6f1; border-color: #126b50; color: #084d39; }
.news-week-pilot__secondary { color: #335b70; margin-top: 8px; }
.news-week-pilot__submit { background: #126b50; border-color: #126b50; color: #fff; }
.news-week-pilot__submit:disabled { cursor: default; opacity: .55; }
.news-week-pilot__form { display: grid; gap: 8px; margin-top: 9px; }
.news-week-pilot__form label { color: #4f5961; font-size: 12px; }

.news-week-pilot__form select,
.news-week-pilot__form textarea {
	background: #fff;
	border: 1px solid #cbd1d5;
	border-radius: 7px;
	box-sizing: border-box;
	display: block;
	margin-top: 3px;
	padding: 8px;
	width: 100%;
}

.news-week-pilot__evidence {
	background: #f7faf8;
	border-left: 3px solid #9ab8aa;
	font-size: 12px;
	margin-top: 8px;
	padding: 7px 9px;
}

.news-week-pilot__evidence p { margin: 4px 0; }
.news-week-pilot__status { color: #286044; font-size: 12px; margin: 6px 0; }
.news-week-pilot__error { color: #a12727; }
.news-week-pilot__section-title { font-size: 14px; margin: 16px 0 8px; }
.news-week-pilot__current { color: #54616a; font-size: 12px; margin: 6px 0 0; }
.news-week-pilot__free-text textarea { min-height: 74px; resize: vertical; }

.news-week-pilot__resolved {
	color: #4f5961;
	font-size: 13px;
	margin: -3px 0 10px;
}

.news-week-pilot__action-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.news-week-pilot__action-chip {
	background: #126b50;
	border: 1px solid #126b50;
	border-radius: 999px;
	color: #fff;
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 12px;
	text-decoration: none;
}
.news-week-pilot__action-chip:hover { background: #0d5b43; color: #fff; }
.news-week-pilot__action-feedback { border-top: 1px solid #e5e8ea; padding-top: 10px; }

/* Eligible-reviewer-only layout. The normal News AI rail is unchanged. */
@media (min-width: 900px) {
	.content-wrap.news-week-pilot-layout {
		align-items: flex-start;
		display: flex;
		gap: 16px;
	}

	.content-wrap.news-week-pilot-layout > .content {
		flex: 1 1 65%;
		min-width: 0;
		width: auto;
	}

	.content-wrap.news-week-pilot-layout > aside.rightbar {
		align-self: stretch;
		flex: 0 0 clamp(340px, 35%, 400px);
		margin-left: 0;
		min-width: 0;
		position: relative;
		width: clamp(340px, 35%, 400px);
	}

	.sitewide-ai-news.is-week-pilot-review {
		align-self: flex-start;
		margin-top: 16px;
		position: sticky;
		top: 76px;
		width: 100%;
		z-index: 18;
	}

	.sitewide-ai-news.is-week-pilot-review .sitewide-ai-news__card {
		max-height: calc(100vh - 100px);
		max-height: calc(100dvh - 100px);
		min-height: 0;
	}

	.sitewide-ai-news.is-week-pilot-review .sitewide-ai-news__scroll {
		overscroll-behavior: contain;
	}
}

@media (min-width: 900px) and (max-width: 1199px) {
	.content-wrap.news-week-pilot-layout > .content {
		margin-left: 3%;
	}

	.content-wrap.news-week-pilot-layout > aside.rightbar {
		flex-basis: 340px;
		width: 340px;
	}
}

@media (max-width: 899px) {
	.sitewide-ai-news.is-week-pilot-review.is-week-pilot-inline {
		margin: 18px 0 24px;
		position: static;
		width: 100%;
	}

	.sitewide-ai-news.is-week-pilot-review .sitewide-ai-news__card {
		max-height: min(72vh, 680px);
		max-height: min(72dvh, 680px);
		min-height: 0;
	}

	.sitewide-ai-news.is-week-pilot-review .sitewide-ai-news__scroll {
		flex: 1 1 auto;
		overscroll-behavior: contain;
	}
}

@media (max-width: 680px) {
	.news-week-pilot__card { padding: 10px; }
	.news-week-pilot__vote { min-height: 40px; min-width: 44px; }
	.news-week-pilot__row { align-items: stretch; }
	.news-week-pilot__row > button { flex: 1; }
}
