/* Public roadmap (roadmap.chatmaxima.com, chatmaxima.com/roadmap/): read-only board and request pages.
   Marketing-site theme (Bootstrap 4 "slice" layout); status pills reuse the dashboard vocabulary. */

.cm-rm-container
{
	max-width: 960px;
}

/* ---- View tabs ---- */
.cm-rm-tabs
{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.cm-rm-tab
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid #e6eaf2;
	background: #ffffff;
	color: #475569;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cm-rm-tab:hover
{
	background: #f1f5f9;
	color: #0f172a;
	text-decoration: none;
}

.cm-rm-tab-active,
.cm-rm-tab-active:hover
{
	background: #eef4ff;
	border-color: #dbe7fa;
	color: #2f6fcc;
}

.cm-rm-count
{
	display: inline-block;
	min-width: 22px;
	padding: 0 7px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #e6eaf2;
	color: #475569;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	line-height: 20px;
}

/* ---- Cards ---- */
.cm-rm-list
{
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cm-rm-card
{
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr);
	gap: 16px;
	padding: 18px 20px;
	background: #ffffff;
	border: 1px solid #e6eaf2;
	border-radius: 14px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cm-rm-card:hover
{
	border-color: #d6dbe5;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.cm-rm-votes
{
	width: 68px;
	min-height: 62px;
	padding: 8px 4px;
	border-radius: 12px;
	border: 1px solid #e6eaf2;
	background: #f8fafc;
	color: #475569;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	align-self: start;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.cm-rm-votes i,
.cm-rm-votes svg
{
	font-size: 12px;
}

.cm-rm-votes:hover
{
	border-color: #3b7ddd;
	color: #3b7ddd;
	background: #ffffff;
	text-decoration: none;
}

.cm-rm-votes-lg
{
	width: 80px;
	min-height: 78px;
	font-size: 20px;
}

.cm-rm-votes-label
{
	font-size: 10.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	opacity: 0.85;
}

.cm-rm-card-main
{
	min-width: 0;
}

.cm-rm-card-title
{
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.2px;
	line-height: 1.3;
	margin: 0 0 6px;
}

.cm-rm-card-title a
{
	color: #0f172a;
}

.cm-rm-card-title a:hover
{
	color: #2f6fcc;
	text-decoration: none;
}

.cm-rm-card-excerpt
{
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.55;
	color: #475569;
}

.cm-rm-meta
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	font-size: 13px;
}

.cm-rm-muted
{
	color: #94a3b8;
	font-size: 13px;
}

a.cm-rm-muted:hover
{
	color: #2f6fcc;
	text-decoration: none;
}

.cm-rm-chip
{
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 9px;
	border-radius: 6px;
	background: #f8fafc;
	border: 1px solid #e6eaf2;
	color: #475569;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

/* ---- Status pills (same names as the dashboard board) ---- */
.cm-fr-pill
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
	border: 1px solid #d6dbe5;
	color: #475569;
	background: #f8fafc;
}

.cm-fr-pill::before
{
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.cm-fr-pill-open
{
	color: #2f6fcc;
	background: #eef4ff;
	border-color: #dbe7fa;
}

.cm-fr-pill-planned
{
	color: #6d3fd6;
	background: #f1ecfd;
	border-color: transparent;
}

.cm-fr-pill-in_progress
{
	color: #b45309;
	background: #fdf1e0;
	border-color: transparent;
}

.cm-fr-pill-shipped
{
	color: #15803d;
	background: #e7f6ec;
	border-color: transparent;
}

/* ---- Official response ---- */
.cm-rm-official
{
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 10px;
	background: #eef4ff;
	border: 1px solid #dbe7fa;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	font-size: 13.5px;
	color: #0f172a;
}

.cm-rm-official-label
{
	font-weight: 700;
	color: #2f6fcc;
	white-space: nowrap;
}

.cm-rm-official-block
{
	display: block;
	padding: 14px 18px;
	font-size: 15px;
	line-height: 1.55;
	margin: 0 0 18px;
}

.cm-rm-official-block .cm-rm-official-label
{
	display: block;
	margin-bottom: 6px;
}

/* ---- Empty, pagination, CTA ---- */
.cm-rm-empty
{
	padding: 48px 20px;
	text-align: center;
	border: 1px dashed #d6dbe5;
	border-radius: 14px;
	color: #475569;
}

.cm-rm-empty i,
.cm-rm-empty svg
{
	font-size: 30px;
	color: #94a3b8;
	margin-bottom: 12px;
}

.cm-rm-pagination
{
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 20px;
}

.cm-rm-page
{
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 8px;
	border: 1px solid #e6eaf2;
	background: #ffffff;
	color: #475569;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.cm-rm-page:hover
{
	background: #f1f5f9;
	text-decoration: none;
}

.cm-rm-page-active,
.cm-rm-page-active:hover
{
	background: #3b7ddd;
	border-color: #3b7ddd;
	color: #ffffff;
}

.cm-rm-cta
{
	margin-top: 32px;
	padding: 22px 24px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #e6eaf2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
}

.cm-rm-cta-title
{
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 4px;
	color: #0f172a;
}

.cm-rm-cta-inline
{
	margin: 22px 0;
}

/* ---- Detail page ---- */
.cm-rm-back
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #475569;
	font-weight: 600;
	margin-bottom: 18px;
}

.cm-rm-back:hover
{
	color: #2f6fcc;
	text-decoration: none;
}

.cm-rm-detail
{
	background: #ffffff;
	border: 1px solid #e6eaf2;
	border-radius: 16px;
	padding: 26px 28px;
}

.cm-rm-detail-head
{
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	margin-bottom: 20px;
}

.cm-rm-detail-title
{
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.4px;
	line-height: 1.2;
	margin: 0 0 10px;
	color: #0f172a;
}

.cm-rm-changelog
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 8px;
	background: #e7f6ec;
	color: #15803d;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 18px;
}

.cm-rm-changelog:hover
{
	color: #15803d;
	text-decoration: none;
	background: #d7f0df;
}

.cm-rm-description
{
	font-size: 16px;
	line-height: 1.65;
	color: #0f172a;
	padding-bottom: 18px;
	border-bottom: 1px solid #eef1f6;
	max-width: 72ch;
}

.cm-rm-section-title
{
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 12px;
	color: #0f172a;
}

.cm-rm-timeline
{
	border-left: 2px solid #e6eaf2;
	margin-left: 6px;
	padding-left: 20px;
}

.cm-rm-timeline-item
{
	position: relative;
	padding-bottom: 18px;
}

.cm-rm-timeline-dot
{
	position: absolute;
	left: -27px;
	top: 5px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #3b7ddd;
	border: 2px solid #ffffff;
}

.cm-rm-timeline-status .cm-rm-timeline-dot
{
	background: #94a3b8;
}

.cm-rm-timeline-customer .cm-rm-timeline-dot
{
	background: #d6dbe5;
}

.cm-rm-timeline-head
{
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	align-items: center;
	margin-bottom: 4px;
}

.cm-rm-timeline-author
{
	font-weight: 700;
	font-size: 14px;
	color: #0f172a;
}

.cm-rm-timeline-text
{
	font-size: 15px;
	line-height: 1.55;
	color: #0f172a;
}

.cm-rm-timeline-status .cm-rm-timeline-text
{
	color: #475569;
	font-size: 14px;
}

@media (max-width: 767px)
{
	.cm-rm-card
	{
		grid-template-columns: 58px minmax(0, 1fr);
		gap: 12px;
		padding: 14px;
	}

	.cm-rm-votes
	{
		width: 58px;
	}

	.cm-rm-detail
	{
		padding: 18px;
	}

	.cm-rm-detail-head
	{
		grid-template-columns: 66px minmax(0, 1fr);
	}

	.cm-rm-detail-title
	{
		font-size: 22px;
	}
}
