/*
 bbPress — navy community styling to match BuddyPress and the rest of the site.
 Loaded only on bbPress pages.
*/

#bbpress-forums {
	--zap-brand: #002448;
	--zap-brand-hover: #003a6e;
	--zap-line: #e1e6ec;
	--zap-muted: #5b6b7a;
	--zap-text: #1f2933;
	--zap-card: #f4f6f8;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--zap-text);
}

#bbpress-forums * {
	box-sizing: border-box;
}

#bbpress-forums a {
	color: var(--zap-brand);
	text-decoration: none !important;
}
#bbpress-forums a:hover {
	color: var(--zap-brand-hover);
	text-decoration: none !important;
}

/* Breadcrumb */
div.bbp-breadcrumb {
	margin-bottom: 16px;
	font-size: 13px;
	color: var(--zap-muted);
}
.bbp-breadcrumb a {
	color: var(--zap-muted);
}

/* Search */
#bbpress-forums #bbp-search-form {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
}
#bbpress-forums #bbp-search-form input[type="text"] {
	flex: 1;
	padding: 10px 14px;
	border: 1.5px solid var(--zap-line);
	border-radius: 10px;
	font-size: 15px;
}
#bbpress-forums #bbp-search-form button,
#bbpress-forums #bbp-search-form input[type="submit"] {
	background: var(--zap-brand);
	color: #ffffff;
	border: 0;
	border-radius: 60px;
	padding: 10px 22px;
	font-weight: 700;
	cursor: pointer;
}

/* Forum / topic / reply lists as cards */
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-topics-front {
	border: 1px solid var(--zap-line);
	border-radius: 14px;
	overflow: hidden;
	background: #ffffff;
	margin-bottom: 28px;
}

/* Column header rows */
#bbpress-forums li.bbp-header {
	background: var(--zap-brand);
	color: #ffffff;
	border: 0;
	padding: 12px 18px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .3px;
	text-transform: uppercase;
}
#bbpress-forums li.bbp-header a,
#bbpress-forums li.bbp-header div,
#bbpress-forums li.bbp-header span {
	color: #ffffff !important;
}

/* Footer legend row */
#bbpress-forums li.bbp-footer {
	background: #ffffff;
	color: var(--zap-muted);
	padding: 10px 18px;
	font-size: 12px;
	border-top: 1px solid var(--zap-line);
}

/* Body rows */
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
	padding: 16px 18px;
	border-bottom: 1px solid var(--zap-line);
	transition: background .12s ease;
}
#bbpress-forums li.bbp-body ul.forum:hover,
#bbpress-forums li.bbp-body ul.topic:hover {
	background: #ffffff;
}
#bbpress-forums li.bbp-body > li:last-child ul.forum,
#bbpress-forums li.bbp-body > li:last-child ul.topic {
	border-bottom: 0;
}

/* Titles + excerpts */
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink {
	font-size: 16px;
	font-weight: 700;
	color: var(--zap-brand);
}
#bbpress-forums .bbp-forum-content,
#bbpress-forums .bbp-topic-excerpt {
	color: var(--zap-muted);
	font-size: 14px;
	margin-top: 4px;
}

/* Counts + freshness */
#bbpress-forums .bbp-forum-topic-count,
#bbpress-forums .bbp-forum-reply-count,
#bbpress-forums .bbp-topic-voice-count,
#bbpress-forums .bbp-topic-reply-count {
	color: var(--zap-text);
	font-weight: 600;
}
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-freshness,
#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-reply-post-date {
	color: var(--zap-muted);
	font-size: 13px;
}

/* Reply / topic header strips */
#bbpress-forums div.bbp-reply-header,
#bbpress-forums div.bbp-topic-header {
	background: #ffffff;
	border-bottom: 1px solid var(--zap-line);
	padding: 10px 18px;
	font-size: 13px;
}

/* Author column */
#bbpress-forums .bbp-reply-author,
#bbpress-forums .bbp-topic-author {
	padding: 14px;
}
#bbpress-forums .bbp-reply-author img.avatar,
#bbpress-forums .bbp-topic-author img.avatar {
	border-radius: 50%;
	border: 2px solid #ffffff;
	box-shadow: 0 2px 8px rgba(0, 36, 72, .12);
}
#bbpress-forums .bbp-author-name {
	color: var(--zap-brand);
	font-weight: 700;
}
#bbpress-forums .bbp-author-role {
	color: var(--zap-muted);
	font-size: 12px;
}

/* Content */
#bbpress-forums .bbp-reply-content,
#bbpress-forums .bbp-topic-content {
	padding: 16px 18px;
	line-height: 1.6;
}

/* Admin links */
#bbpress-forums span.bbp-admin-links a {
	color: var(--zap-muted);
	font-size: 12px;
}

/* Pagination */
#bbpress-forums .bbp-pagination-links a.page-numbers,
#bbpress-forums .bbp-pagination-links span.current {
	display: inline-block;
	min-width: 38px;
	text-align: center;
	padding: 8px 12px;
	margin: 0 3px;
	border-radius: 10px;
	border: 1px solid var(--zap-line);
	font-weight: 700;
	color: var(--zap-brand);
}
#bbpress-forums .bbp-pagination-links span.current {
	background: var(--zap-brand);
	border-color: var(--zap-brand);
	color: #ffffff;
}

/* Forms (logged-in members) */
#bbpress-forums fieldset.bbp-form {
	border: 1px solid var(--zap-line);
	border-radius: 14px;
	padding: 20px;
	background: #ffffff;
}
#bbpress-forums fieldset.bbp-form legend {
	font-weight: 700;
	color: var(--zap-brand);
	padding: 0 8px;
}
#bbpress-forums fieldset.bbp-form label {
	font-weight: 600;
	color: var(--zap-text);
}
#bbpress-forums input[type="text"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="password"],
#bbpress-forums input[type="url"],
#bbpress-forums select,
#bbpress-forums textarea {
	border: 1.5px solid var(--zap-line) !important;
	border-radius: 10px !important;
	padding: 10px 14px !important;
	font-size: 15px;
	background: #ffffff;
	color: var(--zap-text);
}
#bbpress-forums input:focus,
#bbpress-forums textarea:focus,
#bbpress-forums select:focus {
	outline: none !important;
	border-color: var(--zap-brand) !important;
	box-shadow: 0 0 0 3px rgba(0, 36, 72, .08) !important;
}
#bbpress-forums button,
#bbpress-forums button,
#bbpress-forums input[type="submit"],
#bbpress-forums .bbp-submit-wrapper button {
	background: #ffffff !important;
	color: #002448 !important;
	border: 0 !important;
	padding: 0 !important;
	text-decoration: none !important;
	cursor: pointer;
}
#bbpress-forums button:hover,
#bbpress-forums input[type="submit"]:hover,
#bbpress-forums .bbp-submit-wrapper button:hover {
	background: #ffffff !important;
}

/* Subscribe / favourite links */
#bbpress-forums .bbp-topic-subscribe a,
#bbpress-forums .bbp-topic-favorite a {
	color: var(--zap-brand);
	font-weight: 600;
}

/* Notices */
#bbpress-forums div.bbp-template-notice {
	border: 1px solid var(--zap-line);
	border-left: 4px solid var(--zap-brand);
	border-radius: 10px;
	background: #ffffff;
	color: var(--zap-text);
	padding: 12px 16px;
}

/* Guest "log in to post" prompt */
.zap-bbp-login-cta {
	border: 1px solid var(--zap-line);
	border-radius: 14px;
	background: #ffffff;
	padding: 28px 24px;
	text-align: center;
	margin: 24px 0;
}
.zap-bbp-login-text {
	font-size: 18px;
	font-weight: 700;
	color: var(--zap-brand);
	margin: 0 0 6px;
}
.zap-bbp-login-sub {
	color: var(--zap-muted);
	margin: 0 0 16px;
	font-size: 14px;
}
.zap-bbp-login-btn {
	display: inline-block;
	background: var(--zap-brand);
	color: #ffffff !important;
	font-weight: 700;
	padding: 12px 30px;
	border-radius: 60px;
	text-decoration: none !important;
}
.zap-bbp-login-btn:hover {
	background: var(--zap-brand-hover);
	color: #ffffff !important;
}

/* Friendly empty state for empty forum / topic / reply / search lists */
.zap-bbp-empty {
	text-align: center;
	padding: 48px 24px;
	border: 1px dashed var(--zap-line);
	border-radius: 14px;
	background: #ffffff;
	margin: 8px 0 28px;
}
.zap-bbp-empty svg {
	width: 54px;
	height: 54px;
	color: var(--zap-brand);
	opacity: .55;
	margin-bottom: 12px;
}
.zap-bbp-empty-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--zap-brand);
	margin: 0 0 6px;
}
.zap-bbp-empty-sub {
	font-size: 14px;
	color: var(--zap-muted);
	margin: 0;
}

/* ============================================================
   Topics feed styled like the BuddyPress activity stream
   ============================================================ */
.zap-forum-feed {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 28px;
}
.zap-forum-card {
	background: #ffffff;
	border: 1px solid var(--zap-line);
	border-radius: 16px;
	padding: 20px 22px;
	box-shadow: 0 1px 3px rgba(0, 36, 72, .05);
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
}
.zap-activity-avatar {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
}
.zap-activity-avatar img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
.zap-activity-body {
	flex: 1 1 auto;
	min-width: 0;
}
.zap-activity-header {
	line-height: 1.35;
	margin-bottom: 6px;
}
.zap-activity-name {
	display: block;
	font-weight: 700;
	color: var(--zap-brand);
	font-size: 16px;
}
.zap-activity-sub {
	color: var(--zap-muted);
	font-size: 13px;
}
.zap-activity-title {
	display: inline-block;
	font-size: 22px;
	font-weight: 800;
	color: var(--zap-brand);
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin: 2px 0 8px;
	transition: color .15s ease;
}
.zap-activity-title:hover {
	color: var(--zap-brand-hover);
}
.zap-forum-content {
	position: relative;
	color: var(--zap-text);
	line-height: 1.6;
}
.zap-forum-content.is-clamped {
	max-height: 104px;
	overflow: hidden;
}
.zap-forum-content.is-clamped::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 46px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
	pointer-events: none;
}
.zap-forum-content p:first-child {
	margin-top: 0;
}
.zap-forum-content p:last-child {
	margin-bottom: 0;
}
/* Restore bullets and numbers the theme strips from ul/ol globally */
#bbpress-forums .zap-forum-content ul,
#bbpress-forums .zap-forum-content ol,
#bbpress-forums .bbp-topic-content ul,
#bbpress-forums .bbp-topic-content ol,
#bbpress-forums .bbp-reply-content ul,
#bbpress-forums .bbp-reply-content ol {
	margin: 0 0 1em !important;
	padding-left: 1.5em !important;
}
#bbpress-forums .zap-forum-content ul,
#bbpress-forums .bbp-topic-content ul,
#bbpress-forums .bbp-reply-content ul {
	list-style: disc outside !important;
}
#bbpress-forums .zap-forum-content ol,
#bbpress-forums .bbp-topic-content ol,
#bbpress-forums .bbp-reply-content ol {
	list-style: decimal outside !important;
}
#bbpress-forums .zap-forum-content li,
#bbpress-forums .bbp-topic-content li,
#bbpress-forums .bbp-reply-content li {
	display: list-item !important;
	list-style: inherit !important;
	margin: 0 0 .35em !important;
	padding: 0 !important;
	width: auto !important;
	float: none !important;
}
#bbpress-forums .zap-forum-content ul ul,
#bbpress-forums .bbp-topic-content ul ul,
#bbpress-forums .bbp-reply-content ul ul {
	list-style: circle outside !important;
	margin-bottom: 0 !important;
}
#bbpress-forums .zap-forum-content li:last-child,
#bbpress-forums .bbp-topic-content li:last-child,
#bbpress-forums .bbp-reply-content li:last-child {
	margin-bottom: 0 !important;
}
.zap-forum-more {
	display: inline-block;
	margin-top: 8px;
	padding: 0;
	background: #ffffff !important;
	border: 0;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
	font: inherit;
	color: var(--zap-brand);
	text-decoration: none !important;
	cursor: pointer;
}
.zap-forum-more:hover,
.zap-forum-more:focus,
.zap-forum-more:active {
	background: #ffffff !important;
	box-shadow: none !important;
	text-decoration: none !important;
	color: var(--zap-brand-hover);
}
.zap-activity-meta {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--zap-line);
}
.zap-activity-stat {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--zap-muted);
	font-size: 14px;
	font-weight: 600;
}
.zap-activity-stat svg {
	width: 18px;
	height: 18px;
}
.zap-activity-meta a {
	color: inherit;
	text-decoration: none;
}
.zap-activity-meta a:hover {
	color: var(--zap-brand);
}
.zap-activity-share {
	margin-left: auto;
}

/* Forum-list cards use an icon tile instead of a person's avatar */
.zap-forum-icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--zap-card);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--zap-brand);
}
.zap-forum-icon svg {
	width: 24px;
	height: 24px;
}
.zap-forumlist-card .zap-activity-title {
	margin-top: 0;
}

/* Single forum header card, matching the feed card */
.zap-forum-head {
	border: 1px solid var(--zap-line);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 36, 72, .05);
	padding: 22px 24px;
	margin-bottom: 18px;
}
.zap-forum-head-title {
	margin: 0;
	font-size: 26px;
	font-weight: 800;
	color: var(--zap-brand);
	line-height: 1.2;
	letter-spacing: -0.01em;
}
.zap-forum-head-desc {
	margin-top: 10px;
	color: var(--zap-muted);
	line-height: 1.6;
}
.zap-forum-head-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--zap-line);
}

/* Single topic lead post: title matches the feed topic title */
.zap-topic-lead-title {
	display: block;
	font-size: 22px;
	margin: 6px 0 10px;
}

/* Replies feed under the lead */
.zap-reply-head {
	font-weight: 700;
	color: var(--zap-text);
	margin: 26px 0 12px;
}
.zap-reply-feed {
	gap: 0;
}
.zap-topic-lead {
	margin-bottom: 0;
}
.zap-reply-card {
	background: #ffffff;
}
.zap-reply-card .zap-activity-avatar {
	width: 40px;
	height: 40px;
}
.zap-reply-card .zap-activity-avatar img {
	width: 40px;
	height: 40px;
}

/* Simple reply form */
.zap-reply-form {
	background: #ffffff;
	border: 1px solid var(--zap-line);
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(0, 36, 72, .05);
	padding: 20px 22px;
	margin-top: 22px;
}
.zap-form-title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 800;
	color: var(--zap-brand);
}
.zap-reply-form .zap-reply-textarea {
	width: 100%;
	min-height: 130px;
	border: 1px solid var(--zap-line);
	border-radius: 12px;
	padding: 12px 14px;
	font: inherit;
	color: var(--zap-text);
	background: #ffffff;
	resize: vertical;
	box-sizing: border-box;
}
.zap-reply-form .zap-reply-textarea:focus {
	outline: none;
	border-color: var(--zap-brand);
	box-shadow: 0 0 0 3px rgba(0, 36, 72, .12);
}
.zap-reply-actions {
	margin-top: 14px;
}
#bbpress-forums .zap-reply-form .zap-reply-submit {
	background: var(--zap-brand) !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 60px !important;
	padding: 12px 30px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	cursor: pointer;
}
#bbpress-forums .zap-reply-form .zap-reply-submit:hover {
	background: var(--zap-brand-hover) !important;
}

/* ---- Full-width forum: hide the theme sidebar on bbPress pages ---- */
.bbpress .primary-sidebar,
.bbpress #secondary,
.single-topic .primary-sidebar,
.single-forum .primary-sidebar,
.bbp-forum-archive .primary-sidebar {
	display: none !important;
}
.bbpress .content-container,
.single-topic .content-container,
.single-forum .content-container {
	grid-template-columns: 1fr !important;
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
}

/* Force white surfaces across the forums (leaves navy headers, pagination and buttons alone) */
#bbpress-forums,
#bbpress-forums .bbpress-wrapper,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-topics-front,
#bbpress-forums li.bbp-body,
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic,
#bbpress-forums li.bbp-footer,
#bbpress-forums div.bbp-forum-header,
#bbpress-forums div.bbp-topic-header,
#bbpress-forums div.bbp-reply-header,
#bbpress-forums div.bbp-template-notice,
.zap-forum-feed,
.zap-forum-card,
.zap-reply-card,
.zap-forum-head,
.zap-reply-form,
.zap-reply-form .zap-reply-textarea,
.zap-bbp-login-cta,
.zap-bbp-empty {
	background: #ffffff !important;
}

/* Single forum / topic page surfaces */
.single-forum h1,
.single-topic h1 {
	line-height: 1.2 !important;
	color: #002448 !important;
}
.bbpress .content-container,
.single-topic .content-container,
.single-forum .content-container {
	background-color: #ffffff !important;
}
.entry-content-wrap {
	background-color: #ffffff !important;
}

/* Breadcrumb removed in favour of the back button */
div.bbp-breadcrumb,
.bbp-breadcrumb {
	display: none !important;
}

/* Back to ESG BI Forums button */
.zap-forum-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	padding: 8px 16px 8px 12px;
	border: 1px solid var(--zap-line);
	border-radius: 60px;
	background: #ffffff;
	color: var(--zap-brand) !important;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none !important;
	transition: background .15s ease, border-color .15s ease;
}
.zap-forum-back:hover {
	background: var(--zap-card);
	border-color: var(--zap-brand);
}
.zap-forum-back svg {
	width: 18px;
	height: 18px;
}

/* New-topic form title field + forum selector */
.zap-topic-form .zap-topic-title-input {
	width: 100%;
	border: 1px solid var(--zap-line);
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 12px;
	font: inherit;
	font-weight: 600;
	color: var(--zap-text);
	background: #ffffff;
	box-sizing: border-box;
}
.zap-topic-form .zap-topic-title-input:focus {
	outline: none;
	border-color: var(--zap-brand);
	box-shadow: 0 0 0 3px rgba(0, 36, 72, .12);
}
.zap-form-forum {
	margin-top: 12px;
}
.zap-form-forum label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	color: var(--zap-text);
}
.zap-form-forum select {
	width: 100%;
	border: 1px solid var(--zap-line);
	border-radius: 12px;
	padding: 10px 14px;
	font: inherit;
	background: #ffffff;
	box-sizing: border-box;
}

/* Single topic: the theme's entry-meta duplicates our back button and card
   reactions (Subscribe now lives in the lead card), so hide it. */
.single-topic .bbpress-topic-meta {
	display: none !important;
}

/* Subscribe control inside the lead card reactions */
.zap-forum-subscribe a {
	color: inherit !important;
	text-decoration: none !important;
}

/* Parent / child hierarchy: nest replies beneath the opening post */
.zap-reply-feed {
	margin-left: 22px;
	padding-left: 18px;
	border-left: 2px solid var(--zap-line);
}
@media (max-width: 600px) {
	.zap-reply-feed {
		margin-left: 8px;
		padding-left: 12px;
	}
}

/* Topic page content padding */
.topic.type-topic > .entry-content-wrap {
	padding: 2rem !important;
}

/* Card entrance fade + hover lift */
@keyframes zapFadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}
.zap-forum-card {
	animation: zapFadeIn .5s ease both;
	transition: box-shadow .18s ease, transform .18s ease;
}
.zap-forum-card:hover {
	box-shadow: 0 4px 14px rgba(0, 36, 72, .10);
	transform: translateY(-2px);
}
.zap-forum-feed .zap-forum-card:nth-child(2) { animation-delay: .06s; }
.zap-forum-feed .zap-forum-card:nth-child(3) { animation-delay: .12s; }
.zap-forum-feed .zap-forum-card:nth-child(4) { animation-delay: .18s; }
.zap-forum-feed .zap-forum-card:nth-child(5) { animation-delay: .24s; }
.zap-forum-feed .zap-forum-card:nth-child(6) { animation-delay: .30s; }
.zap-forum-feed .zap-forum-card:nth-child(7) { animation-delay: .36s; }
.zap-forum-feed .zap-forum-card:nth-child(8) { animation-delay: .42s; }
@media (prefers-reduced-motion: reduce) {
	.zap-forum-card {
		animation: none;
		transition: none;
	}
	.zap-forum-card:hover {
		transform: none;
	}
}


/* Discussions directory [zap_discussions] busy state.
   Filter, dropdowns, search and pager reuse the .zap-users-* styles from
   users.css so the look matches the members directory exactly. */
.zap-disc {
	position: relative;
}
.zap-disc.is-loading .zap-users-filter,
.zap-disc.is-loading .zap-users-pagination {
	visibility: hidden;
}
.zap-disc.is-busy .zap-disc-feed {
	opacity: .4;
	pointer-events: none;
	transition: opacity .15s ease;
}
.zap-disc.is-busy::after {
	content: "";
	position: absolute;
	top: 120px;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-left: -20px;
	border: 4px solid var(--zap-line);
	border-top-color: var(--zap-brand);
	border-radius: 50%;
	animation: zap-disc-spin .8s linear infinite;
	z-index: 5;
}
@keyframes zap-disc-spin {
	to { transform: rotate(360deg); }
}
.zap-disc-empty {
	text-align: center;
	color: var(--zap-muted);
	padding: 32px 0;
}

/* @mentions */
.zap-mention {
	color: var(--zap-brand);
	font-weight: 700;
	text-decoration: none;
}
.zap-mention:hover {
	text-decoration: underline;
}

/* Report button (rendered as a <button> inside the meta row) */
.zap-report {
	background: none !important;
	border: 0;
	padding: 0;
	font: inherit;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.zap-report:hover {
	color: #c0392b;
}
.zap-report.is-reported {
	color: #c0392b;
	cursor: default;
}
.zap-report[disabled] {
	opacity: .6;
	cursor: wait;
}
/* Reply meta row (report under a reply) sits tight and subtle */
.zap-reply-meta {
	margin-top: 10px;
	border-top: 1px solid var(--zap-line);
	padding-top: 8px;
}

/* @mention autocomplete dropdown */
.zap-mention-menu {
	position: absolute;
	z-index: 99999;
	max-height: 320px;
	overflow-y: auto;
	background: #ffffff;
	border: 1px solid var(--zap-line);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0, 36, 72, .16);
	padding: 6px;
}
.zap-mention-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	cursor: pointer;
}
.zap-mention-item.is-active,
.zap-mention-item:hover {
	background: var(--zap-card);
}
.zap-mention-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	background: var(--zap-line);
	display: block;
}
.zap-mention-name {
	font-weight: 700;
	color: var(--zap-text);
	font-size: 14px;
}
.zap-mention-nick {
	color: var(--zap-muted);
	font-size: 13px;
	margin-left: auto;
}

/* Report confirmation modal */
.zap-modal-overlay {
	--zap-brand: #002448;
	--zap-brand-hover: #003a6e;
	--zap-line: #e1e6ec;
	--zap-card: #f4f6f8;
	--zap-text: #1f2933;
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 21, 44, .55);
	padding: 20px;
}
.zap-modal-overlay.is-open {
	display: flex;
}
.zap-modal {
	width: 100%;
	max-width: 440px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 21, 44, .35);
	padding: 24px 24px 20px;
	animation: zapModalIn .18s ease;
}
@keyframes zapModalIn {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}
.zap-modal-title {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 800;
	color: var(--zap-brand);
}
.zap-modal-text {
	margin: 0 0 12px;
	color: var(--zap-text);
	line-height: 1.5;
}
.zap-modal-reason {
	width: 100%;
	min-height: 84px;
	border: 1px solid var(--zap-line);
	border-radius: 12px;
	padding: 10px 12px;
	font: inherit;
	color: var(--zap-text);
	box-sizing: border-box;
	resize: vertical;
}
.zap-modal-reason:focus {
	outline: none;
	border-color: var(--zap-brand);
	box-shadow: 0 0 0 3px rgba(0, 36, 72, .12);
}
.zap-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
}
.zap-modal-btn {
	border: 1px solid var(--zap-line);
	border-radius: 60px;
	padding: 10px 20px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	background: #ffffff;
	color: var(--zap-brand);
}
.zap-modal-cancel:hover {
	background: var(--zap-card);
}
.zap-modal-submit {
	background: var(--zap-brand);
	border-color: var(--zap-brand);
	color: #ffffff;
}
.zap-modal-submit:hover {
	background: var(--zap-brand-hover);
	border-color: var(--zap-brand-hover);
}
.zap-modal-btn[disabled] {
	opacity: .6;
	cursor: wait;
}

/* Report modal: the reason is required, so flag it when empty. */
.zap-modal-reason.is-invalid {
	border-color: #d63638;
	box-shadow: 0 0 0 3px rgba(214, 54, 56, .12);
}
.zap-modal-reason-err {
	margin: 6px 0 0;
	color: #d63638;
	font-size: 13px;
	font-weight: 600;
}
