.aivah-posting-gate{background:#fff8e6;border:1px solid #f0d58a;padding:12px 14px;margin:0 0 1rem;border-radius:6px}
.aivah-solved-icon{color:#1e8e3e;font-weight:700;margin-right:.25rem}
.aivah-topic-status{margin:0 0 1rem;padding:12px;background:#f6f7f8;border-radius:6px}
.aivah-el-hero{padding:2rem 0 1.5rem;text-align:left}
.aivah-el-hero__inner{display:flex;flex-direction:column;align-items:flex-start;width:100%;margin:0}
.aivah-hero-align-left .aivah-el-hero,
.aivah-hero-align-left .aivah-el-hero__inner{text-align:left;align-items:flex-start}
.aivah-hero-align-center .aivah-el-hero,
.aivah-hero-align-center .aivah-el-hero__inner{text-align:center;align-items:center}
.aivah-hero-align-right .aivah-el-hero,
.aivah-hero-align-right .aivah-el-hero__inner{text-align:right;align-items:flex-end}
@media(max-width:1024px){
.aivah-hero-align-tablet-left .aivah-el-hero,
.aivah-hero-align-tablet-left .aivah-el-hero__inner{text-align:left;align-items:flex-start}
.aivah-hero-align-tablet-center .aivah-el-hero,
.aivah-hero-align-tablet-center .aivah-el-hero__inner{text-align:center;align-items:center}
.aivah-hero-align-tablet-right .aivah-el-hero,
.aivah-hero-align-tablet-right .aivah-el-hero__inner{text-align:right;align-items:flex-end}
}
@media(max-width:767px){
.aivah-hero-align-mobile-left .aivah-el-hero,
.aivah-hero-align-mobile-left .aivah-el-hero__inner{text-align:left;align-items:flex-start}
.aivah-hero-align-mobile-center .aivah-el-hero,
.aivah-hero-align-mobile-center .aivah-el-hero__inner{text-align:center;align-items:center}
.aivah-hero-align-mobile-right .aivah-el-hero,
.aivah-hero-align-mobile-right .aivah-el-hero__inner{text-align:right;align-items:flex-end}
}
.aivah-el-hero__subtitle{margin:0 0 .35rem;font-size:1rem;line-height:1.4;color:#6b7280}
.aivah-el-hero__title{margin:0 0 .75rem;font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.2;color:#0f172a;font-weight:700}
.aivah-el-hero__title b{font-weight:inherit}
.aivah-el-hero__description{margin:0 0 1.25rem;max-width:36rem;font-size:1rem;line-height:1.55;color:#6b7280}
.aivah-el-hero__search{display:block;max-width:40rem;width:100%}
.aivah-el-hero__search-field{display:flex;align-items:center;gap:.5rem;width:100%;box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:6px 8px 6px 18px;box-shadow:0 4px 14px rgba(15,23,42,.06)}
.aivah-el-hero__search-icon{display:inline-flex;flex-shrink:0;color:#9ca3af}
.aivah-el-hero__search-input{flex:1;min-width:0;border:0;border-radius:0;background:transparent;padding:.55rem .25rem;font-size:15px;line-height:1.3;color:#0f172a;outline:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}
input[type=search].aivah-el-hero__search-input,
input[type=search].aivah-el-hero__search-input:hover,
input[type=search].aivah-el-hero__search-input:focus,
input[type=search].aivah-el-hero__search-input:focus-visible,
input[type=search].aivah-el-hero__search-input:active{border:0;border-color:transparent;border-radius:0;outline:none;box-shadow:none;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}
.aivah-el-hero__search-input::-webkit-search-decoration,
.aivah-el-hero__search-input::-webkit-search-cancel-button,
.aivah-el-hero__search-input::-webkit-search-results-button,
.aivah-el-hero__search-input::-webkit-search-results-decoration{-webkit-appearance:none}
.aivah-el-hero__search-btn{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0 22px;min-height:40px;border:0;border-radius:999px;background:#2f7ec8;color:#fff;font-size:14px;font-weight:600;line-height:1;cursor:pointer;transition:background-color .2s ease}

/* ==========================================
   AIVAH USER PROFILE STYLES (STRICT RESETS)
   ========================================== */

/* Override Hello Elementor theme.css default 1140px limit on non-Elementor pages */
body:not([class*=elementor-page-]) .site-main.bbp-site-main,
body .site-main.bbp-site-main {
	max-width: var(--container-max-width, 1340px) !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.aivah-cc-dashboard .site-main.bbp-site-main {
	margin-top: 30px !important;
	margin-bottom: 30px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	box-sizing: border-box !important;
}

.aivah-cc-theme-shell {
	width: 100%;
	box-sizing: border-box;
}

.aivah-cc-account-note {
	margin-top: 1rem;
}

.bbp-page-content {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	box-sizing: border-box !important;
}

.bbp-page-content .elementor-container {
	max-width: var(--container-max-width, 1340px) !important;
	width: 100% !important;
	margin: 30px auto !important;
	padding: 0 20px !important;
	box-sizing: border-box !important;
}

/* Suppress any WP wpautop <p> tags inside CSS grid / flex bbPress layouts */
.aivah-profile-two-col-grid > p,
.aivah-profile-stats-grid > p,
.aivah-purchase-license__rows > p,
.aivah-purchase-license__row > p,
#bbpress-forums #bbp-user-wrapper > p:empty,
#bbpress-forums .aivah-profile-container > p:empty,
#bbpress-forums .aivah-profile-main-body > p:empty,
#bbpress-forums .aivah-profile-user-list > p:empty,
#bbpress-forums .aivah-profile-list-panel > p:empty:not(.aivah-topic-table__summary),
#bbpress-forums .aivah-topic-table > p:empty,
#bbpress-forums .aivah-topic-table__body > p:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	width: 0 !important;
	border: 0 !important;
}

#bbpress-forums #bbp-user-wrapper,
.aivah-profile-container {
	display: flex !important;
	align-items: flex-start !important;
	gap: 24px !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	clear: both !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Force override default bbPress sidebar float & width (150px default) */
#bbpress-forums #bbp-single-user-details,
#bbpress-forums #bbp-single-user-details.aivah-profile-sidebar,
.aivah-profile-sidebar {
	flex: 0 0 260px !important;
	width: 260px !important;
	max-width: 260px !important;
	float: none !important;
	margin: 0 !important;
	padding: 24px 16px !important;
	background: #ffffff !important;
	border: 1px solid #e8ebef !important;
	border-radius: 14px !important;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03) !important;
	box-sizing: border-box !important;
	overflow: visible !important;
}

.aivah-sidebar-nav-card,
.aivah-sidebar-card {
	background: #ffffff !important;
	border: 1px solid #e8ebef !important;
	border-radius: 14px !important;
	padding: 24px 18px !important;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03) !important;
	box-sizing: border-box !important;
}

.aivah-sidebar-card__header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.aivah-sidebar-card__title {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	color: #1a2b4b;
}

.aivah-announcements-card__inner {
	background: #f8fafc;
	border-radius: 10px;
	padding: 14px;
}

.aivah-announcements-card__sub-title {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	color: #1a2b4b;
}

.aivah-announcements-card__desc {
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.45;
	color: #6b7280;
}

.aivah-teams-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	color: #1a2b4b;
	text-decoration: none;
	transition: all 0.2s ease;
}

.aivah-teams-btn:hover {
	border-color: #5b5fc7;
	color: #5b5fc7;
	background: #f5f5fe;
	text-decoration: none;
}

.aivah-sidebar-stats-list {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.aivah-sidebar-stat-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 13px;
}

.aivah-sidebar-stat-row:last-child {
	border-bottom: 0;
}

.aivah-sidebar-stat-label {
	color: #6b7280;
	font-weight: 500;
}

.aivah-sidebar-stat-val {
	color: #1a2b4b;
	font-weight: 800;
}

.aivah-profile-sidebar__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f1f5f9;
}

.aivah-profile-sidebar__avatar {
	margin-bottom: 10px;
}

.aivah-profile-sidebar__avatar img.avatar {
	width: 85px;
	height: 85px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	margin: 0 auto;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.aivah-profile-sidebar__handle {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	color: #1a2b4b;
	line-height: 1.3;
	word-break: break-all;
}

.aivah-profile-sidebar__role {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: #2f7ec8;
}

/* Left Navigation Links */
.aivah-profile-sidebar__nav {
	width: 100%;
}

.aivah-profile-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.aivah-profile-nav-item {
	margin: 0;
	padding: 0;
}

.aivah-profile-nav-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	text-decoration: none;
	transition: all 0.2s ease;
	line-height: 1.3;
}

.aivah-profile-nav-link:hover {
	color: #1a2b4b;
	background: #f8fafc;
	text-decoration: none;
}

.aivah-profile-nav-item.is-active .aivah-profile-nav-link {
	background: #e8f4fd;
	color: #2f7ec8;
	font-weight: 700;
}

.aivah-profile-nav-icon {
	flex-shrink: 0;
	color: inherit;
}

/* Force override default bbPress user body margins (margin-left/right: 180px default) */
#bbpress-forums #bbp-user-body,
#bbpress-forums #bbp-user-body.aivah-profile-main-body,
.aivah-profile-main-body {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* User profile list pages (topics, replies, favorites, etc.) */
.aivah-profile-user-list {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.aivah-profile-user-list__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.aivah-profile-user-list__title {
	margin: 0;
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	font-weight: 800;
	color: #1a2b4b;
	line-height: 1.25;
}

.aivah-profile-user-list .bbp-search-form {
	margin: 0;
	flex-shrink: 0;
}

.aivah-profile-user-list .bbp-search-form form > div {
	display: flex;
	align-items: center;
	gap: 8px;
}

.aivah-profile-user-list .bbp-search-form input[type="text"],
.aivah-profile-user-list .bbp-search-form input[type="search"] {
	min-width: 180px;
	padding: 8px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.3;
	color: #1a2b4b;
	background: #fff;
	box-sizing: border-box;
}

.aivah-profile-user-list .bbp-search-form input.button,
.aivah-profile-user-list .bbp-search-form input[type="submit"] {
	padding: 8px 14px;
	border: 1px solid #2f7ec8;
	border-radius: 6px;
	background: #fff;
	color: #2f7ec8;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.aivah-profile-user-list .bbp-search-form input.button:hover,
.aivah-profile-user-list .bbp-search-form input[type="submit"]:hover {
	background: #2f7ec8;
	color: #fff;
}

.aivah-profile-list-panel {
	display: block;
	background: #fff;
	border: 1px solid #e8ebef;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	padding: 20px 20px 16px;
	box-sizing: border-box;
}

.aivah-profile-list-panel .aivah-topic-table__footer:first-child {
	margin-top: 0;
	margin-bottom: 16px;
	padding-top: 0;
	padding-bottom: 14px;
	border-bottom: 1px solid #eef1f5;
}

.aivah-profile-list-panel .bbp-template-notice,
.aivah-profile-list-panel .bbp-template-feedback {
	margin: 0;
}

.aivah-profile-list-panel .aivah-profile-activity {
	margin: 0;
}

.aivah-profile-list-panel .aivah-profile-activity__body .aivah-profile-activity__row:last-child {
	border-bottom: 0;
}

/* Top Profile Header Card */
.aivah-profile-header-card {
	background: #ffffff;
	border: 1px solid #e8ebef;
	border-radius: 14px;
	padding: 20px 24px;
	margin-bottom: 20px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
	box-sizing: border-box;
}

.aivah-profile-header-card__handle {
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
}

.aivah-profile-header-card__title {
	margin: 2px 0 4px;
	font-size: 24px;
	font-weight: 800;
	color: #1a2b4b;
	line-height: 1.25;
}

.aivah-profile-header-card__sub {
	margin: 0 0 16px;
	font-size: 12px;
	color: #6b7280;
}

/* 4 Stat Metric Cards Grid */
.aivah-profile-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	box-sizing: border-box;
}

.aivah-stat-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #e8ebef;
	border-radius: 10px;
	background: #ffffff;
	min-width: 0;
	box-sizing: border-box;
}

.aivah-stat-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	flex-shrink: 0;
}

.aivah-stat-card__icon svg {
	width: 18px;
	height: 18px;
}

.aivah-stat-card--blue .aivah-stat-card__icon {
	background: #e8f4fd;
	color: #2f7ec8;
}

.aivah-stat-card--green .aivah-stat-card__icon {
	background: #ecfdf5;
	color: #10b981;
}

.aivah-stat-card--purple .aivah-stat-card__icon {
	background: #f3e8ff;
	color: #a855f7;
}

.aivah-stat-card--orange .aivah-stat-card__icon {
	background: #ffedd5;
	color: #f97316;
}

.aivah-stat-card__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}

.aivah-stat-card__label {
	font-size: 11px;
	font-weight: 500;
	color: #6b7280;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.aivah-stat-card__value {
	font-size: 13px;
	font-weight: 800;
	color: #1a2b4b;
	line-height: 1.3;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Purchase Details Card */
.aivah-purchase-details-card {
	background: #ffffff;
	border: 1px solid #e8ebef;
	border-radius: 14px;
	padding: 20px 24px;
	margin-bottom: 20px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
	box-sizing: border-box;
}

.aivah-purchase-details-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
}

.aivah-purchase-details-card__title-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.aivah-purchase-card__title-icon {
	color: #2f7ec8;
}

.aivah-purchase-details-card__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #1a2b4b;
}

.aivah-support-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
}

.aivah-support-status-pill.is-active {
	background: #dcfce7;
	color: #166534;
}

.aivah-support-status-pill.is-expired {
	background: #fee2e2;
	color: #991b1b;
}

.aivah-support-status-pill.is-none {
	background: #f3f4f6;
	color: #4b5563;
}

.aivah-purchase-license-count {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	background: #e8f4fd;
	color: #2f7ec8;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
}

.aivah-purchase-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.aivah-purchase-license {
	padding: 12px 14px;
	border: 1px solid #e8ebef;
	border-radius: 10px;
	background: #fafbfc;
}

.aivah-purchase-license__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eef2f6;
}

.aivah-purchase-license__item {
	font-size: 14px;
	font-weight: 700;
	color: #1a2b4b;
	line-height: 1.3;
	min-width: 0;
}

.aivah-purchase-license__rows {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.aivah-purchase-license__row {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 8px;
	align-items: baseline;
	margin: 0;
}

.aivah-purchase-license__row dt,
.aivah-purchase-license__label {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
}

.aivah-purchase-license__row dd,
.aivah-purchase-license__value {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	color: #1a2b4b;
	line-height: 1.35;
	word-break: break-word;
}

.aivah-purchase-license__row dd.is-active-date,
.aivah-purchase-license__value.is-active-date {
	color: #16a34a;
}

.aivah-purchase-card__time-rel {
	font-size: 11px;
	font-weight: 600;
	color: #16a34a;
}

.aivah-purchase-code-val {
	font-family: monospace;
	font-size: 12px;
	word-break: break-all;
}

/* 2-Column Section Grids */
.aivah-profile-two-col-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

/* Stacked full-width profile sections (e.g. Recent Topics + Recent Replies) */
.aivah-profile-stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 20px;
}

.aivah-profile-stack .aivah-profile-card {
	width: 100%;
}

.aivah-profile-card--activity {
	padding-bottom: 0;
	overflow: hidden;
}

.aivah-profile-card--activity .aivah-profile-card__header {
	margin-bottom: 0;
	padding-bottom: 18px;
}

.aivah-profile-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	border-radius: 8px;
}

.aivah-profile-card__icon--topics {
	background: #e8f4fd;
	color: #2f7ec8;
}

.aivah-profile-card__icon--replies {
	border-radius: 999px;
	background: #fff;
	border: 2px solid #2f7ec8;
	color: #2f7ec8;
}

.aivah-profile-card__body--flush {
	padding: 0;
}

.aivah-profile-activity {
	width: 100%;
}

.aivah-profile-activity__row {
	display: grid;
	align-items: center;
	column-gap: 16px;
	padding: 0 22px;
}

.aivah-profile-activity--topics .aivah-profile-activity__row {
	grid-template-columns: minmax(0, 1fr) 150px 72px 110px;
}

.aivah-profile-activity--replies .aivah-profile-activity__row {
	grid-template-columns: minmax(0, 1fr) 110px;
}

.aivah-profile-activity__head {
	padding-top: 12px;
	padding-bottom: 12px;
	background: #f8fafc;
	border-top: 1px solid #e8ebef;
	border-bottom: 1px solid #e8ebef;
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
}

.aivah-profile-activity__body .aivah-profile-activity__row {
	padding-top: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
	font-size: 13px;
	color: #1a2b4b;
}

.aivah-profile-activity__body .aivah-profile-activity__row:last-child {
	border-bottom: 0;
}

.aivah-profile-activity__cell {
	min-width: 0;
}

.aivah-profile-activity__cell--replies {
	text-align: center;
	font-weight: 600;
}

.aivah-profile-activity--topics .aivah-profile-activity__head .aivah-profile-activity__cell--replies {
	text-align: center;
}

.aivah-profile-activity--topics .aivah-profile-activity__head .aivah-profile-activity__cell--date,
.aivah-profile-activity--replies .aivah-profile-activity__head .aivah-profile-activity__cell--date {
	text-align: right;
}

.aivah-profile-activity .aivah-forum-badge {
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
}

.aivah-profile-activity__cell--date {
	text-align: right;
	color: #64748b;
	font-size: 12px;
	white-space: nowrap;
}

.aivah-profile-activity__topic-link {
	display: block;
	color: #2f7ec8;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.aivah-profile-activity__topic-link:hover {
	color: #1d5f9e;
	text-decoration: underline;
}

.aivah-profile-activity__reply {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

.aivah-profile-activity__reply-icon {
	flex-shrink: 0;
	margin-top: 2px;
	color: #2f7ec8;
}

.aivah-profile-activity__reply-main {
	min-width: 0;
}

.aivah-profile-activity__excerpt {
	display: block;
	margin-top: 4px;
	color: #64748b;
	font-size: 12px;
	line-height: 1.45;
	font-weight: 400;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 767px) {
	.aivah-profile-activity--topics .aivah-profile-activity__row {
		grid-template-columns: minmax(0, 1fr) 110px;
	}

	.aivah-profile-activity--topics .aivah-profile-activity__cell--forum,
	.aivah-profile-activity--topics .aivah-profile-activity__cell--replies {
		display: none;
	}

	.aivah-profile-activity--replies .aivah-profile-activity__row {
		grid-template-columns: minmax(0, 1fr) 88px;
	}
}

.aivah-profile-card {
	background: #ffffff;
	border: 1px solid #e8ebef;
	border-radius: 14px;
	padding: 20px 22px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
	min-width: 0;
	box-sizing: border-box;
}

.aivah-profile-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

.aivah-profile-card__title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #2f7ec8;
}

.aivah-profile-card__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #1a2b4b;
}

.aivah-profile-card__link {
	font-size: 12px;
	font-weight: 600;
	color: #2f7ec8;
	text-decoration: none;
	transition: color 0.2s ease;
}

.aivah-profile-card__link:hover {
	color: #1d5f9e;
	text-decoration: underline;
}

.aivah-profile-card__empty {
	margin: 0;
	font-size: 12px;
	color: #6b7280;
}

/* Mini Tables in Profile Cards */
.aivah-profile-mini-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}

.aivah-profile-mini-table th {
	text-align: left;
	padding: 6px 8px;
	font-size: 11px;
	font-weight: 600;
	color: #6b7280;
	border-bottom: 1px solid #e8ebef;
}

.aivah-profile-mini-table td {
	padding: 8px;
	border-bottom: 1px solid #f1f5f9;
	color: #1a2b4b;
	vertical-align: middle;
}

.aivah-profile-mini-table tr:last-child td {
	border-bottom: 0;
}

.aivah-mini-table__title-cell {
	max-width: 150px;
}

.aivah-mini-table__title-link {
	color: #2f7ec8;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.35;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.aivah-mini-table__title-link:hover {
	color: #1d5f9e;
	text-decoration: underline;
}

.aivah-forum-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	background: #e8f4fd;
	color: #2f7ec8;
	white-space: nowrap;
}

.aivah-forum-badge--codecanyon,
.aivah-forum-badge--code-canyon {
	background: #dcfce7;
	color: #166534;
}

.aivah-forum-badge--themes,
.aivah-forum-badge--theme-support {
	background: #dbeafe;
	color: #1d4ed8;
}

.aivah-forum-badge--general-support,
.aivah-forum-badge--general {
	background: #ede9fe;
	color: #6d28d9;
}

.aivah-forum-badge--installation,
.aivah-forum-badge--install {
	background: #ffedd5;
	color: #c2410c;
}

.aivah-forum-badge--medical {
	background: #e0f2fe;
	color: #0369a1;
}

.aivah-forum-badge--palette-0 {
	background: #dcfce7;
	color: #166534;
}

.aivah-forum-badge--palette-1 {
	background: #dbeafe;
	color: #1d4ed8;
}

.aivah-forum-badge--palette-2 {
	background: #ede9fe;
	color: #6d28d9;
}

.aivah-forum-badge--palette-3 {
	background: #ffedd5;
	color: #c2410c;
}

.aivah-forum-badge--palette-4 {
	background: #e0f2fe;
	color: #0369a1;
}

.aivah-mini-table__center {
	text-align: center;
}

.aivah-mini-table__muted {
	color: #6b7280;
	font-size: 11px;
	white-space: nowrap;
}

.aivah-mini-reply-row {
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.aivah-reply-arrow-icon {
	flex-shrink: 0;
	color: #2f7ec8;
	margin-top: 3px;
}

.aivah-mini-reply-main {
	min-width: 0;
}

.aivah-mini-reply-excerpt {
	display: block;
	font-size: 11px;
	color: #6b7280;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Engagement Overview */
.aivah-engagement-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.aivah-engagement-row {
	display: grid;
	grid-template-columns: 100px 30px 1fr 40px;
	align-items: center;
	gap: 10px;
}

.aivah-engagement-row__label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #1a2b4b;
}

.aivah-engagement-row__val {
	font-size: 13px;
	font-weight: 800;
	color: #1a2b4b;
}

.aivah-engagement-row__bar-wrap {
	width: 100%;
	height: 7px;
	background: #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
}

.aivah-engagement-row__bar {
	height: 100%;
	border-radius: 999px;
}

.aivah-engagement-row__bar--blue {
	background: #2f7ec8;
}

.aivah-engagement-row__bar--teal {
	background: #10b981;
}

.aivah-engagement-row__pct {
	font-size: 11px;
	font-weight: 600;
	color: #6b7280;
	text-align: right;
}

/* Quick Info List */
.aivah-quick-info-list {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.aivah-quick-info-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
}

.aivah-quick-info-row dt {
	color: #6b7280;
	font-weight: 500;
}

.aivah-quick-info-row dd {
	margin: 0;
	color: #1a2b4b;
	font-weight: 600;
}

/* Profile edit form */
.aivah-profile-edit {
	margin: 0;
	padding: 0;
	border: 0;
}

.aivah-profile-edit__sections {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.aivah-profile-edit__section {
	margin: 0;
}

.aivah-profile-edit__section-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
}

.aivah-profile-edit__section-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #e8f4fd;
	color: #2f7ec8;
	flex-shrink: 0;
}

.aivah-profile-edit__section-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #1a2b4b;
	line-height: 1.3;
}

.aivah-profile-edit__section-body {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.aivah-profile-edit__grid {
	display: grid;
	gap: 16px;
}

.aivah-profile-edit__grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aivah-profile-edit__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.aivah-profile-edit__field label {
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	line-height: 1.35;
}

.aivah-profile-edit__input,
.aivah-profile-edit__textarea,
.aivah-profile-edit select,
.aivah-profile-edit .aivah-profile-edit__field select {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #e8ebef;
	border-radius: 8px;
	background: #fff;
	color: #1a2b4b;
	font-size: 14px;
	line-height: 1.45;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aivah-profile-edit__input:focus,
.aivah-profile-edit__textarea:focus,
.aivah-profile-edit select:focus {
	outline: none;
	border-color: #2f7ec8;
	box-shadow: 0 0 0 3px rgba(47, 126, 200, 0.12);
}

.aivah-profile-edit__input:disabled {
	background: #f8fafc;
	color: #6b7280;
	cursor: not-allowed;
}

.aivah-profile-edit__textarea {
	min-height: 120px;
	resize: vertical;
}

.aivah-profile-edit__field--password .aivah-profile-edit__password-panel {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.aivah-profile-edit .user-pass1-wrap .wp-pwd {
	display: none;
	margin: 0;
	padding: 14px;
	border: 1px solid #e8ebef;
	border-radius: 8px;
	background: #f8fafc;
}

.aivah-profile-edit .user-pass1-wrap .wp-pwd.is-open {
	display: block;
}

.aivah-profile-edit .password-input-wrapper {
	display: block;
	width: 100%;
	margin-bottom: 10px;
}

.aivah-profile-edit .user-pass1-wrap .wp-pwd.is-open #pass1,
.aivah-profile-edit .user-pass1-wrap .wp-pwd.is-open #pass1-text {
	display: block !important;
	width: 100%;
	max-width: 100%;
	visibility: visible;
	opacity: 1;
}

.aivah-profile-edit .password-button-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.aivah-profile-edit .password-button-wrapper .button {
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
	padding: 8px 12px !important;
	border: 1px solid #e8ebef !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: #374151 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	box-shadow: none !important;
	height: auto !important;
}

.aivah-profile-edit .password-button-wrapper .button:hover,
.aivah-profile-edit .password-button-wrapper .button:focus {
	border-color: #2f7ec8 !important;
	color: #2f7ec8 !important;
	background: #f8fbff !important;
}

.aivah-profile-edit .password-button-wrapper .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 1;
}

.aivah-profile-edit__pass-strength,
.aivah-profile-edit #pass-strength-result {
	display: block;
	margin-top: 10px;
	padding: 8px 10px;
	border: 1px solid #e8ebef;
	border-radius: 6px;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	box-sizing: border-box;
	width: 100%;
	opacity: 0;
}

.aivah-profile-edit #pass-strength-result.short,
.aivah-profile-edit #pass-strength-result.bad,
.aivah-profile-edit #pass-strength-result.good,
.aivah-profile-edit #pass-strength-result.strong {
	opacity: 1;
}

.aivah-profile-edit #pass-strength-result.short {
	background: #fee2e2;
	border-color: #fca5a5;
	color: #991b1b;
}

.aivah-profile-edit #pass-strength-result.bad {
	background: #fecaca;
	border-color: #f87171;
	color: #991b1b;
}

.aivah-profile-edit #pass-strength-result.good {
	background: #fef3c7;
	border-color: #fcd34d;
	color: #92400e;
}

.aivah-profile-edit #pass-strength-result.strong {
	background: #dcfce7;
	border-color: #86efac;
	color: #166534;
}

.aivah-profile-edit__help {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: #6b7280;
}

.aivah-profile-edit__generate-pw {
	align-self: flex-start;
	padding: 8px 14px !important;
	border: 1px solid #b8d4f0 !important;
	border-radius: 8px !important;
	background: #f3f8fd !important;
	color: #2f7ec8 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	box-shadow: none !important;
}

.aivah-profile-edit__generate-pw:hover,
.aivah-profile-edit__generate-pw:focus {
	background: #e8f4fd !important;
	border-color: #2f7ec8 !important;
	color: #1a5f9e !important;
}

.aivah-profile-edit__field--checkbox .aivah-profile-edit__checkbox {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 500;
	color: #374151;
}

.aivah-profile-edit__field .description {
	margin: 0;
	font-size: 12px;
	color: #6b7280;
	line-height: 1.45;
}

.aivah-profile-edit fieldset.bbp-form,
.aivah-profile-edit fieldset.password {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.aivah-profile-edit fieldset legend {
	display: none;
}

.aivah-profile-edit__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 20px;
	padding-top: 4px;
	clear: both;
}

.aivah-profile-edit__submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px;
	min-height: 44px;
	height: auto !important;
	padding: 11px 20px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: #2f7ec8 !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	box-shadow: 0 8px 20px rgba(47, 126, 200, 0.22) !important;
	cursor: pointer;
	box-sizing: border-box;
	vertical-align: middle;
}

.aivah-profile-edit__submit svg {
	display: block;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.aivah-profile-edit__submit span {
	display: block;
	line-height: 1.2;
}

.aivah-profile-edit__submit:hover,
.aivah-profile-edit__submit:focus {
	background: #2468a8 !important;
	color: #fff !important;
}

.aivah-profile-edit__extensions {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.aivah-profile-edit__extensions > h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 20px 24px 14px;
	border: 1px solid #e8ebef;
	border-bottom: 0;
	border-radius: 14px 14px 0 0;
	background: #fff;
	font-size: 16px;
	font-weight: 700;
	color: #1a2b4b;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.aivah-profile-edit__extensions > .form-table,
.aivah-profile-edit__extensions > table.form-table {
	width: 100%;
	margin: 0 0 20px;
	padding: 0 24px 20px;
	border: 1px solid #e8ebef;
	border-top: 0;
	border-radius: 0 0 14px 14px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
	border-collapse: separate;
	border-spacing: 0 12px;
}

.aivah-profile-edit__extensions .form-table th {
	width: 180px;
	padding: 0 16px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	vertical-align: top;
}

.aivah-profile-edit__extensions .form-table td {
	padding: 0;
	vertical-align: top;
}

.aivah-profile-edit__extensions .form-table input[type="text"],
.aivah-profile-edit__extensions .form-table textarea,
.aivah-profile-edit__extensions .form-table select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #e8ebef;
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
}

.aivah-profile-edit__extensions .button {
	margin-right: 8px;
}

#bbpress-forums #bbp-your-profile h2.entry-title {
	display: none;
}

#bbpress-forums #bbp-your-profile fieldset.submit {
	display: none;
}

/* Responsive adjustments for User Profile & Customer Center */
@media (max-width: 991px) {
	#bbpress-forums.aivah-user-profile-wrapper,
	.aivah-user-profile-wrapper {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	#bbpress-forums #bbp-user-wrapper,
	.aivah-profile-container {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		width: 100% !important;
		max-width: 100% !important;
		gap: 20px !important;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	/* Force sidebar card to stretch 100% full-width on mobile & tablet */
	#bbpress-forums #bbp-single-user-details,
	#bbpress-forums #bbp-single-user-details.aivah-profile-sidebar,
	.aivah-profile-sidebar {
		display: block !important;
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		float: none !important;
		margin: 0 0 16px 0 !important;
		padding: 24px 20px !important;
		box-sizing: border-box !important;
		border-radius: 12px !important;
	}

	/* Main body full-width */
	#bbpress-forums #bbp-user-body,
	#bbpress-forums #bbp-user-body.aivah-profile-main-body,
	.aivah-profile-main-body {
		display: block !important;
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		float: none !important;
		box-sizing: border-box !important;
	}

	.aivah-profile-user-list,
	.aivah-profile-list-panel,
	.aivah-profile-header-card,
	.aivah-stat-card,
	.aivah-purchase-license {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.aivah-profile-user-list__toolbar {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 12px !important;
	}

	.aivah-profile-user-list .bbp-search-form,
	.aivah-profile-user-list .bbp-search-form form,
	.aivah-profile-user-list .bbp-search-form form > div {
		width: 100% !important;
	}

	.aivah-profile-user-list .bbp-search-form input[type="text"],
	.aivah-profile-user-list .bbp-search-form input[type="search"] {
		width: 100% !important;
		flex: 1 1 auto !important;
	}

	.aivah-profile-stats-grid {
		grid-template-columns: 1fr !important;
		width: 100% !important;
		gap: 12px !important;
	}

	.aivah-purchase-license__row {
		grid-template-columns: 1fr !important;
		gap: 4px !important;
		width: 100% !important;
	}

	.aivah-profile-two-col-grid,
	.aivah-profile-edit__grid--2 {
		grid-template-columns: 1fr !important;
		width: 100% !important;
	}
}
.aivah-el-hero__search-btn:hover,.aivah-el-hero__search-btn:focus{background:#2468a8;color:#fff}
.aivah-btn{display:inline-block;padding:.7rem 1.1rem;background:#1e5a8a;color:#fff;border:0;border-radius:4px;text-decoration:none;cursor:pointer}
.aivah-el-search-results__title{margin:0 0 1rem;font-size:clamp(1.35rem,2.5vw,1.85rem);line-height:1.25}
.aivah-el-search-results__panel{display:block;background:#fff;border:1px solid #e8ebef;border-radius:10px;box-shadow:0 8px 24px rgba(15,23,42,.06);padding:20px 20px 16px;box-sizing:border-box}
.aivah-el-search-results__empty{margin:0;opacity:.85}
.aivah-el-search-results__forum{display:inline;margin-left:.35rem;font-size:.9em;opacity:.65}
.aivah-el-search-results__forum:before{content:"in: "}
.aivah-el-search-results__pagination{margin:1.25rem 0 0;display:flex;flex-wrap:wrap;gap:.35rem}
.aivah-el-search-results__pagination .page-numbers{display:inline-flex;padding:.35rem .65rem;border:1px solid #e5e7eb;border-radius:4px;text-decoration:none}
.aivah-el-search-results__pagination .page-numbers.current{background:#2f7ec8;border-color:#2f7ec8;color:#fff}
.aivah-btn--primary{background:#1e5a8a;color:#fff}
.aivah-el-quick-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.aivah-el-quick-links__prefix{font-weight:700;color:#0f172a;white-space:nowrap}
.aivah-el-quick-links__list{display:flex;flex-wrap:wrap;align-items:center;gap:16px;list-style:none;margin:0;padding:0}
.aivah-el-quick-links__link{display:inline-flex;align-items:center;gap:6px;color:#2f7ec8;text-decoration:none;font-size:14px;font-weight:600;line-height:1.3;transition:color .2s ease,background-color .2s ease,border-color .2s ease}
.aivah-el-quick-links__link:hover{color:#2468a8;text-decoration:none}
.aivah-el-quick-links__icon{display:inline-flex;align-items:center;justify-content:center;line-height:1;color:inherit}
.aivah-el-quick-links__icon svg{width:14px;height:14px;fill:currentColor}
html, body{overflow-x:hidden}
.aivah-el-topic-tabs{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.aivah-el-topic-tabs__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;margin-bottom:18px;flex-wrap:wrap;width:100%;max-width:100%;min-width:0}
.aivah-el-topic-tabs__nav{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;border-bottom:none !important;flex:1 1 auto;min-width:0}
.aivah-el-topic-tabs__nav-item{margin:0}
.aivah-el-topic-tabs__nav-link{display:inline-flex;align-items:center;justify-content:center;padding:9px 16px;text-decoration:none;color:#475569;background:#f1f5f9;border:1px solid transparent !important;border-radius:6px !important;border-bottom:0 !important;margin-bottom:0 !important;font-size:13.5px;font-weight:600;line-height:1.25;transition:all .2s ease;white-space:nowrap}
.aivah-el-topic-tabs__nav-link:hover{color:#1a2b4b;background:#e2e8f0;text-decoration:none}
.aivah-el-topic-tabs__nav-item.is-active .aivah-el-topic-tabs__nav-link{background-color:#2f7ec8 !important;color:#ffffff !important;border-color:#2f7ec8 !important;border-bottom-width:0 !important;box-shadow:0 2px 6px rgba(47,126,200,.25)}
.aivah-el-topic-tabs__cta{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;background:#2f7ec8;color:#fff;border-radius:6px;font-size:14px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background-color .2s ease,color .2s ease;flex-shrink:0}
.aivah-el-topic-tabs__cta:hover{background:#2468a8;color:#fff;text-decoration:none}
.aivah-el-topic-tabs__cta-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;font-size:18px;font-weight:700;line-height:1}
.aivah-el-topic-tabs__panel{display:block;background:#fff;border:1px solid #e8ebef;border-radius:10px;box-shadow:0 8px 24px rgba(15,23,42,.06);padding:20px 20px 16px;box-sizing:border-box}
.aivah-topic-table{display:block;width:100%}
.aivah-topic-table__row{display:grid;grid-template-columns:minmax(0,1fr) 72px 160px 120px;align-items:center;-moz-column-gap:12px;column-gap:12px}
.aivah-topic-table.has-bookmark .aivah-topic-table__row{grid-template-columns:minmax(0,1fr) 72px 160px 120px 40px}
.aivah-topic-table__head{margin-bottom:14px}
.aivah-topic-table__head .aivah-topic-table__cell{padding:0 12px 14px;color:#1a2b4b;font-size:13px;font-weight:700;line-height:1.3}
.aivah-topic-table__head .aivah-topic-table__cell--replies,.aivah-topic-table__head .aivah-topic-table__cell--freshness{text-align:center}
.aivah-topic-table__body{display:flex;flex-direction:column;gap:10px}
.aivah-topic-table__row:not(.aivah-topic-table__head){padding:14px;border:1px solid #e8ebef;border-radius:8px;background:#fff;box-sizing:border-box}
.aivah-topic-table__row.is-resolved{background:#edf9f1;border-color:#d7f0df}
.aivah-topic-table__row--empty .aivah-topic-table__cell{color:#6b7280}
.aivah-topic-table__cell{min-width:0;font-size:14px;line-height:1.4;color:#6b7280}
.aivah-topic-table__cell--replies,.aivah-topic-table__cell--freshness{text-align:center}
.aivah-topic-table__cell--bookmark{display:flex;align-items:center;justify-content:center}
.aivah-topic-table__topic-wrap{display:flex;align-items:center;gap:12px;min-width:0}
.aivah-topic-table__status{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;margin-top:1px}
.aivah-topic-table__status--open{color:#9ca3af}
.aivah-topic-table__status--solved{background:#22c55e;border-radius:50%;color:#fff}
.aivah-topic-table__topic-main{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.aivah-topic-table__link{display:inline-block;color:#1a2b4b;font-size:14px;font-weight:700;line-height:1.35;text-decoration:none;transition:color .2s ease;vertical-align:middle}
.aivah-topic-table__link:hover{color:#2f7ec8;text-decoration:none}
.aivah-topic-table__forum{display:inline-block;padding:5px 10px;background:#e8f4fd;color:#2f7ec8;border-radius:4px;font-size:12px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;vertical-align:middle}
.aivah-topic-table__forum:hover{color:#2468a8;text-decoration:none}
.aivah-topic-table__poster{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0}
.aivah-topic-table__avatar{width:30px;height:30px;border-radius:50%;flex-shrink:0}
.aivah-topic-table__poster-name{color:#1a2b4b;font-size:13px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aivah-topic-table__bookmark{display:inline-flex;align-items:center;justify-content:center;color:#9ca3af;text-decoration:none;transition:color .2s ease}
.aivah-topic-table__bookmark:hover,.aivah-topic-table__bookmark.is-active{color:#2f7ec8}
.aivah-topic-table__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding-top:4px;flex-wrap:wrap}
.aivah-topic-table__summary{margin:0;color:#6b7280;font-size:13px;line-height:1.4}
.aivah-topic-table__pagination{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#bbpress-forums .aivah-topic-table__pagination a.aivah-topic-table__page,
#bbpress-forums .aivah-topic-table__pagination span.aivah-topic-table__page,
.aivah-topic-table__pagination a.aivah-topic-table__page,
.aivah-topic-table__pagination span.aivah-topic-table__page,
.aivah-topic-table__page{display:inline-flex!important;align-items:center;justify-content:center;float:none!important;min-width:34px;height:34px;margin:0!important;padding:0 10px!important;border:1px solid #e5e7eb!important;border-radius:6px!important;background:#fff!important;color:#1a2b4b!important;font-size:13px!important;font-weight:600!important;line-height:1!important;text-decoration:none!important;box-shadow:none!important;box-sizing:border-box;transition:background-color .2s ease,border-color .2s ease,color .2s ease}
#bbpress-forums .aivah-topic-table__pagination a.aivah-topic-table__page:hover,
.aivah-topic-table__pagination a.aivah-topic-table__page:hover,
.aivah-topic-table__page:hover{text-decoration:none!important;border-color:#cbd5e1!important;background:#fff!important;color:#1a2b4b!important}
#bbpress-forums .aivah-topic-table__pagination .aivah-topic-table__page.is-current,
.aivah-topic-table__pagination .aivah-topic-table__page.is-current,
.aivah-topic-table__page.is-current{background:#1a2b4b!important;border-color:#1a2b4b!important;color:#fff!important}
#bbpress-forums .aivah-topic-table__pagination a.aivah-topic-table__page--next,
#bbpress-forums .aivah-topic-table__pagination a.aivah-topic-table__page--prev,
.aivah-topic-table__page--next,.aivah-topic-table__page--prev{min-width:auto;padding:0 14px!important}
#bbpress-forums .aivah-topic-table__pagination .aivah-topic-table__ellipsis,
.aivah-topic-table__pagination .aivah-topic-table__ellipsis,
.aivah-topic-table__ellipsis{display:inline-flex;align-items:center;justify-content:center;float:none;min-width:24px;margin:0;padding:0;border:0;background:transparent;color:#6b7280;font-size:13px;line-height:1}
@media(min-width:768px) and (max-width:991px){
.aivah-topic-table__row{grid-template-columns:minmax(0,1fr) 56px 130px}
.aivah-topic-table.has-bookmark .aivah-topic-table__row{grid-template-columns:minmax(0,1fr) 56px 130px 36px}
.aivah-topic-table__cell--freshness,.aivah-topic-table__head .aivah-topic-table__cell--freshness{display:none}
}
@media(max-width:767px){
.aivah-el-topic-tabs__toolbar{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:16px}
.aivah-el-topic-tabs__nav{display:flex !important;flex-wrap:wrap !important;gap:6px !important;width:100% !important;border-bottom:none !important}
.aivah-el-topic-tabs__nav-item{margin:0 !important}
.aivah-el-topic-tabs__nav-link{padding:7px 12px !important;font-size:12.5px !important;border-radius:5px !important}
.aivah-el-topic-tabs__cta{justify-content:center;width:100%;padding:12px 16px;box-sizing:border-box}
.aivah-el-topic-tabs .aivah-el-topic-tabs__panel,
.elementor-widget-aivah_support_topic_tabs .aivah-el-topic-tabs__panel{padding:12px 10px 14px !important}
.aivah-topic-table__head{display:none !important}
.aivah-topic-table__body{gap:8px}
.aivah-topic-table__row:not(.aivah-topic-table__head),
.aivah-topic-table.has-bookmark .aivah-topic-table__row:not(.aivah-topic-table__head){display:grid !important;grid-template-columns:1fr auto !important;grid-template-rows:auto auto !important;row-gap:10px !important;column-gap:8px !important;padding:12px 14px !important;align-items:center}
.aivah-topic-table.has-bookmark .aivah-topic-table__cell--topic{grid-column:1 / 2 !important;grid-row:1 / 2 !important;min-width:0}
.aivah-topic-table:not(.has-bookmark) .aivah-topic-table__cell--topic{grid-column:1 / -1 !important;grid-row:1 / 2 !important;min-width:0}
.aivah-topic-table__topic-wrap{display:flex;align-items:flex-start;gap:10px;min-width:0}
.aivah-topic-table__status{flex-shrink:0;width:22px;height:22px;margin-top:2px}
.aivah-topic-table__status svg{width:16px;height:16px}
.aivah-topic-table__topic-main{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.aivah-topic-table__link{font-size:14px;font-weight:600;line-height:1.35;word-break:break-word}
.aivah-topic-table__forum{font-size:11px;padding:3px 7px;line-height:1.1}
.aivah-topic-table__cell--bookmark{grid-column:2 / 3 !important;grid-row:1 / 2 !important;align-self:flex-start !important;justify-self:flex-end !important;display:flex;align-items:center;justify-content:center;padding-top:2px}
.aivah-topic-table__bookmark{display:inline-flex;padding:2px}
.aivah-topic-table__cell--poster{grid-column:1 / 2 !important;grid-row:2 / 2 !important;align-self:center !important;min-width:0;padding-left:32px;text-align:left}
.aivah-topic-table__poster{display:inline-flex;align-items:center;gap:6px;min-width:0}
.aivah-topic-table__avatar{width:22px;height:22px}
.aivah-topic-table__poster-name{font-size:12px;color:#64748b;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aivah-topic-table__cell--replies{grid-column:2 / 3 !important;grid-row:2 / 2 !important;align-self:center !important;justify-self:flex-end !important;display:inline-flex !important;align-items:center !important;gap:4px !important;font-size:12px !important;font-weight:600 !important;color:#64748b !important;background:#f1f5f9;padding:3px 8px !important;border-radius:12px;text-align:right !important;line-height:1.2 !important}
.aivah-topic-table__cell--replies::before{content:'';display:inline-block;width:12px;height:12px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath d='M18 10c0 3.866-3.582 7-8 7-1.113 0-2.169-.196-3.119-.548L2.5 17.5l1.238-3.715C2.637 12.633 2 11.378 2 10c0-3.866 3.582-7 8-7s8 3.134 8 7z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain}
.aivah-topic-table__cell--freshness{display:none !important}
.aivah-topic-table__footer{flex-direction:column !important;align-items:center !important;gap:12px !important;margin-top:16px !important;padding-top:4px}
.aivah-topic-table__summary{text-align:center;font-size:12px}
.aivah-topic-table__pagination{justify-content:center;gap:4px}
.aivah-topic-table__page{min-width:30px !important;height:30px !important;padding:0 8px !important;font-size:12px !important}
}
.aivah-el-announcements{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px;box-sizing:border-box}
.aivah-el-announcements__header{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.aivah-el-announcements__icon{display:inline-flex;align-items:center;justify-content:center;color:#f7a422;line-height:1}
.aivah-el-announcements__icon svg{width:18px;height:18px;fill:currentColor}
.aivah-el-announcements__title{margin:0;font-size:1rem;font-weight:700;color:#1a2b4b;line-height:1.3}
.aivah-el-announcements__list{display:flex;flex-direction:column;gap:12px}
.aivah-el-announcements__card{background:#f8f9fb;border-radius:8px;padding:18px;box-sizing:border-box}
.aivah-el-announcements__item-title{margin:0 0 8px;font-size:15px;font-weight:700;color:#1a2b4b;line-height:1.35}
.aivah-el-announcements__body{margin:0 0 14px;font-size:14px;line-height:1.5;color:#5c677d}
.aivah-el-announcements__cta{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;background:#fff;border:1px solid #e0e0e0;border-radius:5px;color:#1a2b4b;font-size:14px;font-weight:500;line-height:1.3;text-decoration:none;transition:color .2s ease,background-color .2s ease,border-color .2s ease}
.aivah-el-announcements__cta:hover{color:#2f7ec8;text-decoration:none}
.aivah-el-announcements__cta-icon{display:inline-flex;align-items:center;justify-content:center;line-height:1;color:inherit}
.aivah-el-announcements__cta-icon svg{width:18px;height:18px;fill:currentColor}
.aivah-el-stats{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px;box-sizing:border-box}
.aivah-el-stats__title{margin:0 0 16px;font-size:1rem;font-weight:700;color:#0f172a;line-height:1.3}
.aivah-el-stats__list{list-style:none;margin:0;padding:0}
.aivah-el-stats__row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e2e8f0}
.aivah-el-stats__row:last-child{border-bottom-width:0}
.aivah-el-stats__label{color:#64748b;font-size:14px;line-height:1.4}
.aivah-el-stats__value{color:#0f172a;font-size:14px;font-weight:600;line-height:1.4;text-align:right}

/* Forum Categories Widget Styles */
.aivah-el-forum-cats-widget{display:block;background:#fff;border:1px solid #e8ebef;border-radius:14px;padding:24px;box-shadow:0 4px 20px rgba(15,23,42,.03);box-sizing:border-box}
.aivah-el-forum-cats__title{margin:0 0 20px;font-size:18px;font-weight:800;color:#1a2b4b;line-height:1.3}
.aivah-el-forum-cats__list{list-style:none;margin:0;padding:0}
.aivah-el-forum-cats__row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #f1f5f9}
.aivah-el-forum-cats__row:last-child{border-bottom:0!important}
.aivah-el-forum-cats__link{color:#475569;font-size:14px;font-weight:500;line-height:1.4;text-decoration:none;transition:color .2s ease}
.aivah-el-forum-cats__link:hover{color:#2f7ec8;text-decoration:underline}
.aivah-el-forum-cats__value{color:#1a2b4b;font-size:14px;font-weight:700;line-height:1.4;text-align:right}
.aivah-el-whos-online{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px;box-sizing:border-box}
.aivah-el-whos-online__header{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.aivah-el-whos-online__icon{display:inline-flex;align-items:center;justify-content:center;color:#22c55e;line-height:1}
.aivah-el-whos-online__icon svg{width:16px;height:16px;fill:currentColor}
.aivah-el-whos-online__title{margin:0;font-size:1rem;font-weight:700;color:#0f172a;line-height:1.3}
.aivah-el-whos-online__divider{display:block;width:100%;height:2px;background:#22c55e;margin-bottom:14px;border-radius:1px}
.aivah-el-whos-online__stats{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.aivah-el-whos-online__row{margin:0;font-size:14px;line-height:1.45}
.aivah-el-whos-online__label{color:#64748b;font-weight:400}
.aivah-el-whos-online__value{color:#0f172a;font-weight:600}
.aivah-el-whos-online__value a{color:inherit;text-decoration:none;transition:color .2s ease}
.aivah-el-whos-online__value a:hover{color:#2f7ec8}
.aivah-whos-online-list{list-style:none;margin:0;padding:0}
.aivah-el-popular{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px;box-sizing:border-box}
.aivah-el-popular__header{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.aivah-el-popular__icon{display:inline-flex;align-items:center;justify-content:center;color:#f97316;line-height:1}
.aivah-el-popular__icon svg{width:18px;height:18px;fill:currentColor}
.aivah-el-popular__title{margin:0;font-size:1rem;font-weight:700;color:#0f172a;line-height:1.3}
.aivah-el-popular__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.aivah-el-popular__item{display:flex;align-items:flex-start;gap:12px}
.aivah-el-popular__item + .aivah-el-popular__item{border-top:0}
.aivah-el-popular__rank{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#f1f5f9;color:#1e40af;font-size:13px;font-weight:700;line-height:1}
.aivah-el-popular__content{display:flex;flex-direction:column;gap:2px;min-width:0}
.aivah-el-popular__link{color:#0f172a;text-decoration:none;font-size:14px;font-weight:600;line-height:1.35;transition:color .2s ease}
.aivah-el-popular__link:hover{color:#2f7ec8;text-decoration:none}
.aivah-el-popular__meta{font-size:12px;line-height:1.4;color:#64748b}
.aivah-el-popular__footer{display:inline-flex;align-items:center;gap:4px;margin-top:16px;color:#2f7ec8;font-size:13px;font-weight:600;text-decoration:none;transition:color .2s ease}
.aivah-el-popular__footer:hover{color:#2468a8;text-decoration:none}
.aivah-canned-replies-wrapper{margin:0 0 1rem}
.aivah-canned-replies-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border:0;border-radius:6px;background:#2f7ec8;color:#fff!important;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .2s ease}
.aivah-canned-replies-btn:hover{background:#2468a8}
.aivah-user-counts ul{list-style:none;margin:.35rem 0 0;padding:0;font-size:.85em;opacity:.85}
.aivah-private-reply{margin:.75rem 0}
.aivah-captcha{margin:1rem 0}
.aivah-el-header-auth{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.aivah-el-header-auth__actions{display:flex;align-items:center;gap:8px}
.aivah-auth-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:4px;color:#fff;text-decoration:none;font-size:13px;font-weight:600;line-height:1.2;border:0;background-color:#2f7ec8;box-sizing:border-box;transition:all .2s ease}
.aivah-auth-btn:hover,.aivah-auth-btn:focus{color:#fff;text-decoration:none}
.aivah-auth-btn--edit,.aivah-auth-btn--login{background-color:#2f7ec8}
.aivah-auth-btn--logout{background-color:#e86a7a}
.aivah-auth-btn--register{background-color:#3d9a6a}
.aivah-el-header-auth__howdy{display:flex;align-items:center;gap:10px;color:#444;font-size:14px;text-decoration:none!important;transition:opacity .2s ease}
.aivah-el-header-auth__howdy:hover,.aivah-el-header-auth__howdy:focus{opacity:.85;text-decoration:none!important}
.aivah-el-header-auth__actions.has-divider{padding-left:14px;border-left:1px solid rgba(0,0,0,.12)}
.aivah-el-header-auth__avatar{width:32px;height:32px;border-radius:50%;background:#1e293b;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;flex-shrink:0}
.aivah-el-header-auth__greeting{white-space:nowrap}
.aivah-el-support-times{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.aivah-el-support-times__pill,.iva_visitor_time,.iva_support_time{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;font-size:13px;line-height:1.3;border-radius:3px;color:#fff;box-sizing:border-box;transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.aivah-el-support-times__pill--visitor,.iva_visitor_time{background-color:#14C3A2}
.aivah-el-support-times__pill--support,.iva_support_time{background-color:#24a3d8}
.aivah-el-support-times__clock,.iva_your_time,.iva_our_time{font-weight:700}
.aivah-el-support-times__icon{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.aivah-el-support-times__icon i,.iva-time i{font-style:normal;font-family:inherit}
.aivah-el-support-times__icon.is-day i::before,.iva-time.is-day i::before{content:"☀"}
.aivah-el-support-times__icon.is-night i::before,.iva-time.is-night i::before{content:"☾"}
@media(max-width:767px){
.aivah-el-hero__search-field{flex-wrap:wrap;border-radius:16px;padding:10px}
.aivah-el-hero__search-btn{width:100%}
.aivah-topic-table th:nth-child(3),.aivah-topic-table td:nth-child(3){display:none}
.aivah-el-header-auth{justify-content:center}
.aivah-el-header-auth__actions.has-divider{border-left:0;padding-left:14px}
}

/* —— Single Topic widget —— */
.aivah-el-single-topic{display:block;box-sizing:border-box}
.aivah-el-single-topic__back{display:inline-block;margin-bottom:12px;color:#2f7ec8;font-size:14px;font-weight:600;text-decoration:none;transition:color .2s ease}
.aivah-el-single-topic__back:hover{color:#2468a8;text-decoration:none}
.aivah-el-single-topic__title{margin:0 0 20px;font-size:clamp(1.5rem,2.5vw,2rem);line-height:1.25;color:#1a2b4b;font-weight:700}
.aivah-el-single-topic__cta-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;padding:16px 20px;background:#e8f4fd;border-radius:10px;flex-wrap:wrap}
.aivah-el-single-topic__cta-message{display:flex;align-items:flex-start;gap:10px;flex:1 1 auto;min-width:0;color:#1a4a6b;font-size:14px;line-height:1.45}
.aivah-el-single-topic__cta-icon{display:inline-flex;flex-shrink:0;color:#2f7ec8;line-height:1}
.aivah-el-single-topic__cta-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;background:#2f7ec8;color:#fff;border-radius:6px;font-size:14px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background-color .2s ease,color .2s ease;flex-shrink:0}
.aivah-el-single-topic__cta-btn:hover{background:#2468a8;color:#fff;text-decoration:none}
.aivah-el-single-topic__thread{display:block}
.aivah-el-single-topic__placeholder{padding:16px;background:#f8f9fb;border:1px dashed #d1d5db;border-radius:8px;color:#6b7280;font-size:14px}

.aivah-el-single-topic #bbpress-forums{background:transparent;margin-bottom:0}
.aivah-el-single-topic .bbps-forum-options-head{display:block;padding:0;margin:0 0 20px;background:transparent;border:0;box-shadow:none;box-sizing:border-box;clear:both}

/* Hide legacy crumbs inside Single Topic widget */
.aivah-el-single-topic .bbp-breadcrumb,
.aivah-el-single-topic .bbp-breadcrumb-root,
.aivah-el-single-topic #aivah-topic-status,
.aivah-el-single-topic .aivah-topic-status{display:none!important}

/* Favorite / Subscribe — below staff toolbar */
.aivah-el-single-topic .aivah-topic-user-actions,
.aivah-topic-user-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:-8px 0 16px;padding:0 4px;font-size:14px;line-height:1.3}
.aivah-el-single-topic .aivah-topic-user-actions a,
.aivah-topic-user-actions a{color:#9d174d;text-decoration:none;font-weight:600;transition:color .2s ease}
.aivah-el-single-topic .aivah-topic-user-actions a:hover,
.aivah-topic-user-actions a:hover{color:#831843;text-decoration:none}
.aivah-el-single-topic .aivah-topic-user-actions #favorite-toggle,
.aivah-el-single-topic .aivah-topic-user-actions #subscription-toggle{font-weight:600}

/* Topic stats bar (voices / last updated) */
.aivah-el-single-topic .aivah-topic-description,
.aivah-topic-description{margin-bottom:20px;padding:12px 16px;background:#fff8e6;border:1px solid #f0d58a;border-radius:8px;font-size:13px;line-height:1.45;color:#6b5300}
.aivah-el-single-topic .aivah-topic-description p,
.aivah-el-single-topic .aivah-topic-description .bbp-topic-description{margin:0}
.aivah-el-single-topic .aivah-topic-description .bbp-template-notice,
.aivah-el-single-topic .aivah-topic-description ul{margin:0;padding:0;border:0;background:transparent;list-style:none}
.aivah-el-single-topic .aivah-topic-description .bbp-template-notice li{margin:0;padding:0;list-style:none}

/* Topic staff toolbar — Assign / Status / Move */
.aivah-el-single-topic .aivah-topic-tools,
.aivah-topic-tools{display:grid;gap:24px;padding:24px 28px;background:#fff;border:1px solid #e8ebef;border-radius:10px;box-shadow:0 8px 24px rgba(15,23,42,.06);box-sizing:border-box}
.aivah-el-single-topic .aivah-topic-tools--three,
.aivah-topic-tools--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.aivah-el-single-topic .aivah-topic-tools--two,
.aivah-topic-tools--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.aivah-el-single-topic .aivah-topic-tools__column,
.aivah-topic-tools__column{display:flex;flex-direction:column;min-width:0}
.aivah-el-single-topic .aivah-topic-tools__notice,
.aivah-topic-tools__notice{margin:0 0 10px;font-size:13px;line-height:1.4;color:#6b7280}
.aivah-el-single-topic .aivah-topic-tools__label,
.aivah-topic-tools__label{display:block;margin:0 0 8px;font-size:14px;font-weight:600;line-height:1.35;color:#1a2b4b}
.aivah-el-single-topic .aivah-topic-tools__form,
.aivah-topic-tools__form{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:0}
.aivah-el-single-topic .aivah-topic-tools__select,
.aivah-topic-tools__select,
.aivah-el-single-topic .aivah-topic-tools__form select,
.aivah-topic-tools__form select,
.aivah-el-single-topic .aivah-topic-tools #bbp_forum_id{display:block;width:100%;max-width:100%;margin:0;padding:10px 36px 10px 12px;border:1px solid #e5e7eb;border-radius:6px;background-color:#fff;font-size:14px;line-height:1.3;color:#1a2b4b;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#9ca3af 50%),linear-gradient(135deg,#9ca3af 50%,transparent 50%);background-position:calc(100% - 16px) calc(50% + 2px),calc(100% - 11px) calc(50% + 2px);background-size:5px 5px,5px 5px;background-repeat:no-repeat;outline:none;transition:border-color .2s ease,box-shadow .2s ease}
.aivah-el-single-topic .aivah-topic-tools__select:focus,
.aivah-topic-tools__select:focus,
.aivah-el-single-topic .aivah-topic-tools__form select:focus,
.aivah-topic-tools__form select:focus,
.aivah-el-single-topic .aivah-topic-tools #bbp_forum_id:focus{outline:none;border-color:#2f7ec8;box-shadow:0 0 0 3px rgba(47,126,200,.18)}
.aivah-el-single-topic .aivah-topic-tools__button:focus,
.aivah-topic-tools__button:focus,
.aivah-el-single-topic .aivah-topic-tools__form input[type="submit"]:focus,
.aivah-topic-tools__form input[type="submit"]:focus{outline:none;box-shadow:0 0 0 3px rgba(47,126,200,.18)}
.aivah-el-single-topic .aivah-topic-tools__button,
.aivah-topic-tools__button,
.aivah-el-single-topic .aivah-topic-tools__form input[type="submit"],
.aivah-topic-tools__form input[type="submit"]{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;padding:10px 22px;border:1px solid #2f7ec8;border-radius:6px;background:#fff;color:#2f7ec8;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .2s ease,color .2s ease;box-sizing:border-box}
.aivah-el-single-topic .aivah-topic-tools__button:hover,
.aivah-topic-tools__button:hover,
.aivah-el-single-topic .aivah-topic-tools__form input[type="submit"]:hover,
.aivah-topic-tools__form input[type="submit"]:hover{background:#2f7ec8;color:#fff}

.aivah-el-single-topic #bbps_support_forum_options,
.aivah-el-single-topic #bbps-topic-status-option,
.aivah-el-single-topic #bbps_support_forum_move,
.aivah-el-single-topic #bbps_support_topic_assign{display:none}

.aivah-el-single-topic .bbp-single-topic-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin-bottom:16px;flex-wrap:wrap;font-size:14px;line-height:1.4;color:#6b7280}
.aivah-el-single-topic .bbp-single-topic-meta .posted-in{margin:0}
.aivah-el-single-topic .bbp-single-topic-meta .parent-forum{color:#2f7ec8;font-weight:600;text-decoration:none}
.aivah-el-single-topic .bbp-single-topic-meta .parent-forum:hover{color:#2468a8;text-decoration:none}
.aivah-el-single-topic .aq-topic-status span{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.3}
.aivah-el-single-topic .aq-topic-status .in-progress{background:#b9cadb;color:#5e6d7c}
.aivah-el-single-topic .aq-topic-status .not-resolved{background:#fde8e8;color:#b42318}
.aivah-el-single-topic .aq-topic-status .resolved{background:#d7f0df;color:#137333}
.aivah-el-single-topic .aq-topic-status .sticky{background:#f1f5f9;color:#475569}

.aivah-el-single-topic #bbpress-forums ul.bbp-replies,
.aivah-el-single-topic #bbpress-forums ul.bbp-lead-topic,
.aivah-el-single-topic #bbpress-forums .aivah-post-list{list-style:none;margin:0;padding:0}
.aivah-el-single-topic #bbpress-forums li.bbp-header,
.aivah-el-single-topic #bbpress-forums li.bbp-footer,
.aivah-el-single-topic #bbpress-forums li.bbp-body{list-style:none;margin:0;padding:0}

/* Post count line */
.aivah-el-single-topic .aivah-replies-pagination,
.aivah-replies-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:0;flex-wrap:wrap}
.aivah-el-single-topic .aivah-replies-pagination .bbp-pagination-count,
.aivah-replies-pagination .bbp-pagination-count{margin:0;font-size:13px;line-height:1.4;color:#6b7280;font-weight:500}
.aivah-el-single-topic .aivah-replies-pagination .bbp-pagination-links,
.aivah-replies-pagination .bbp-pagination-links{display:flex;gap:6px;flex-wrap:wrap}

#bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results, #bbpress-forums ul.bbp-topics
{
	border: 0;
}

/* Post cards */
.aivah-el-single-topic #bbpress-forums .aivah-post-card,
.aivah-el-single-topic #bbpress-forums div.reply.aivah-post-card,
.aivah-el-single-topic #bbpress-forums div.topic.aivah-post-card{display:block;margin-bottom:30px;border:1px solid #e8ebef;border-radius:10px;background:#fff;box-shadow:0 4px 18px rgba(15,23,42,.05);overflow:hidden;clear:both;
padding: 0;}
.aivah-el-single-topic #bbpress-forums .aivah-post-card div.bbp-reply-author,
.aivah-el-single-topic #bbpress-forums .aivah-post-card div.bbp-topic-author{float:none;width:auto}
.aivah-el-single-topic #bbpress-forums .aivah-post-card div.bbp-reply-content,
.aivah-el-single-topic #bbpress-forums .aivah-post-card div.bbp-topic-content{margin-left:0;float:none;padding-left:0}
.aivah-el-single-topic #bbpress-forums div.reply.aivah-post-card.aivah-role-keymaster,
.aivah-el-single-topic #bbpress-forums div.reply.aivah-post-card.aivah-role-moderator,
.aivah-el-single-topic #bbpress-forums div.topic.aivah-post-card.aivah-role-keymaster{border-color:#86efac}
.aivah-el-single-topic #bbpress-forums .bbp-body .hentry.bbp-private-reply{background:#fefaed}

/* Meta bar */
.aivah-el-single-topic #bbpress-forums .aivah-post-card__meta,
.aivah-el-single-topic #bbpress-forums .bbp-meta.aivah-post-card__meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:#f8fafc;border-bottom:1px solid #e8ebef;font-size:13px;color:#64748b}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__meta-left{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__meta-right{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;margin-left:auto}
.aivah-el-single-topic #bbpress-forums .bbp-meta-date{font-weight:500;color:#1a2b4b;white-space:nowrap}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-supported,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-unsupported,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-blocked,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-unknown,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-unknowen{display:inline-flex;align-items:center;padding:3px 10px;border-radius:4px;font-size:11px;font-weight:700;line-height:1.3;border:1px solid transparent;background:transparent;color:inherit}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-supported{background:#ecfdf3;color:#15803d;border-color:#86efac}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-unsupported{background:#f8fafc;color:#64748b;border-color:#cbd5e1}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-blocked{background:#fef2f2;color:#b91c1c;border-color:#fca5a5}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-unknown,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-unknowen{background:#fff7ed;color:#ea580c;border-color:#fdba74}
.aivah-el-single-topic #bbpress-forums .bbp-reply-permalink,
.aivah-el-single-topic #bbpress-forums .bbp-topic-permalink{color:#94a3b8;font-size:12px;font-weight:600;text-decoration:none}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__permalink-icon{display:inline-flex;align-items:center;justify-content:center;color:#2f7ec8;line-height:1;text-decoration:none}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__permalink-icon:hover{color:#2468a8}

/* Author column */
.aivah-el-single-topic #bbpress-forums .aivah-post-card__body,
.aivah-el-single-topic #bbpress-forums .bbp-reply-wrap.aivah-post-card__body{display:flex;flex-wrap:nowrap;width:100%;align-items:stretch}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author,
.aivah-el-single-topic #bbpress-forums div.bbp-reply-author.aivah-post-card__author{flex:0 0 170px;max-width:170px;padding:22px 20px;border-right:1px solid #e8ebef;box-sizing:border-box;text-align:left;font-size:13px;line-height:1.45;background:#fff}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author img.avatar{display:block;width:80px;height:80px;max-width:80px;margin:0 0 10px 0;border-radius:10px;border:0;-o-object-fit:cover;object-fit:cover;
	box-shadow:0 4px 14px rgba(15,23,42,.06)}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author a.bbp-author-name{display:block;margin-bottom:8px;font-weight:700;color:#8b2942;text-decoration:none;word-break:normal;overflow-wrap:anywhere}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author .bbp-author-role {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    border: 2px solid #22c55e;
    border-radius: 4px;
    background: transparent;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: .03em;
    font-style: normal;
}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author .bbp-author-role.member{color:#22c55e;border-color:#22c55e}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author .bbp-author-role.keymaster{color:#ef4444;border-color:#ef4444}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author .bbp-author-role.moderator{color:#f97316;border-color:#f97316}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author .bbp-author-role.participant{color:#22c55e;border-color:#22c55e}
#bbpress-forums div.bbp-forum-author .bbp-author-name, #bbpress-forums div.bbp-reply-author .bbp-author-name, #bbpress-forums div.bbp-topic-author .bbp-author-name {
	margin: 0;
}
/* Content */
.aivah-el-single-topic #bbpress-forums .aivah-post-card__content,
.aivah-el-single-topic #bbpress-forums div.bbp-reply-content.aivah-post-card__content,
.aivah-el-single-topic #bbpress-forums div.bbp-topic-content.aivah-post-card__content{flex:1 1 0;min-width:0;display:flex;flex-direction:column;padding:0;background:#fff}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__content .bbp-reply-content-area{padding:30px;font-size:16px;line-height:1.65;color:#334155;flex:1 1 auto}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__content .bbp-reply-content-area a{color:#22c55e;text-decoration:underline}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__content .bbp-reply-content-area img{max-width:100%;height:auto;border-radius:6px}

/* Footer actions */
.aivah-el-single-topic #bbpress-forums .aivah-post-card__footer,
.aivah-el-single-topic #bbpress-forums .bbp-reply-content-footer.aivah-post-card__footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:#f8fafc;border-top:1px solid #e8ebef;flex-wrap:wrap}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__footer .bbp-admin-links-wrap{flex:1 1 auto;min-width:0}
.aivah-el-single-topic #bbpress-forums .aivah-admin-links,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__footer .bbp-admin-links{display:inline-flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0}
.aivah-el-single-topic #bbpress-forums .aivah-admin-link{display:inline-flex;align-items:center;gap:6px;color:#1a2b4b;text-decoration:none;font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap}
.aivah-el-single-topic #bbpress-forums .aivah-admin-link:hover{color:#2f7ec8}
.aivah-el-single-topic #bbpress-forums .aivah-admin-link__icon{flex-shrink:0;opacity:.85}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__footer .bbp-admin-links span{font-size:12px;line-height:1.5;color:#64748b}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__footer .bbp-admin-links a:not(.aivah-admin-link){color:#1a2b4b;text-decoration:none;font-weight:600}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__footer .bbp-admin-links a:not(.aivah-admin-link):hover{color:#2f7ec8}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__footer .bbp-reply-actions{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}
.aivah-el-single-topic #bbpress-forums .aivah-post-action{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;border-radius:6px;font-size:13px;font-weight:600;line-height:1.2;text-decoration:none;transition:background-color .2s ease,color .2s ease,border-color .2s ease;box-sizing:border-box}
.aivah-el-single-topic #bbpress-forums .aivah-post-action--reply{background:#2f7ec8;border:1px solid #2f7ec8;color:#fff}
.aivah-el-single-topic #bbpress-forums .aivah-post-action--reply:hover{background:#2468a8;border-color:#2468a8;color:#fff}
.aivah-el-single-topic #bbpress-forums .bbp-reply-actions .bbp-admin-links,
.aivah-el-single-topic #bbpress-forums .bbp-reply-actions .bbps-links{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:0}
.aivah-el-single-topic #bbpress-forums .bbp-reply-actions .bbps-links a,
.aivah-el-single-topic #bbpress-forums .bbp-reply-actions .bbp-admin-links a{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#64748b;font-size:13px;font-weight:600;text-decoration:none}
.aivah-el-single-topic #bbpress-forums .bbp-reply-actions .bbps-links a::before{content:"! ";font-weight:700}
.aivah-el-single-topic #bbpress-forums .bbp-reply-actions .bbps-links a:hover{color:#2f7ec8;border-color:#2f7ec8}
.aivah-el-single-topic .aivah-user-counts,
.aivah-el-single-topic .tc_display{margin-top:10px;text-align:left}
.aivah-el-single-topic .aivah-user-counts ul,
.aivah-el-single-topic .tc_display ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:12px;line-height:1.45;color:#1a2b4b}
.aivah-el-single-topic #bbpress-forums div.bbp-reply-header{display:none!important}

/* Topic + reply forms (shared panel styling) */
.aivah-bbpress-form-scope.aivah-reply-form,
.aivah-bbpress-form-scope.bbp-topic-form{margin-top:28px;padding:24px;border:1px solid #e8ebef;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.06);box-sizing:border-box}
.aivah-form-topic-card .aivah-bbpress-form-scope.aivah-reply-form,
.aivah-form-topic-card .aivah-bbpress-form-scope.bbp-topic-form{margin-top:0}
.aivah-bbpress-form-scope .aivah-reply-form__inner{display:flex;flex-direction:column;gap:16px}
.aivah-bbpress-form-scope .aivah-reply-form__title,
.aivah-bbpress-form-scope .aivah-reply-form legend{margin:0;padding:0;border:0;font-size:18px;font-weight:700;line-height:1.35;color:#2f7ec8;background:transparent}
.aivah-bbpress-form-scope fieldset.bbp-form{border:0;margin:0;padding:0;min-width:0}
.aivah-bbpress-form-scope .aivah-reply-form__notices{display:flex;flex-direction:column;gap:10px}
.aivah-bbpress-form-scope .aivah-reply-form__notice,
.aivah-bbpress-form-scope .aivah-reply-form__notice-wrap .aivah-reply-form__notice{margin:0;padding:12px 14px;background:#fff8e6;border:1px solid #f0d58a;border-radius:6px;font-size:13px;line-height:1.45;color:#6b5300}
.aivah-bbpress-form-scope .aivah-reply-form__notice-wrap .bbp-template-notice{display:none}
.aivah-bbpress-form-scope .bbp-template-notice{margin-bottom:0;padding:12px 14px;background:#fff8e6;border:1px solid #f0d58a;border-radius:6px;font-size:13px;color:#6b5300}
.aivah-bbpress-form-scope .bbp-template-notice p{margin:0}
.aivah-bbpress-form-scope .aivah-canned-replies-wrapper{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:0}
.aivah-bbpress-form-scope .aivah-canned-replies-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border:0;border-radius:6px;background:#2f7ec8;color:#fff;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .2s ease}
.aivah-bbpress-form-scope .aivah-canned-replies-btn:hover{background:#2468a8}
.aivah-bbpress-form-scope .aivah-canned-replies-list,
.aivah-bbpress-form-scope .aivah-canned-replies-empty{list-style:none;margin:0;padding:12px 14px;width:100%;box-sizing:border-box;border:1px solid #e8ebef;border-radius:6px;background:#f8fafc;font-size:13px;line-height:1.5;color:#334155}
.aivah-bbpress-form-scope .aivah-canned-replies-list li+li{margin-top:8px}
.aivah-bbpress-form-scope .aivah-canned-replies-list__title{font-weight:600;color:#1a2b4b}
.aivah-bbpress-form-scope .aivah-canned-insert{color:#2f7ec8;text-decoration:none;font-weight:600}
.aivah-bbpress-form-scope .aivah-canned-insert:hover{color:#2468a8;text-decoration:underline}
.aivah-bbpress-form-scope .wp-editor-tabs{display:none!important}
.aivah-bbpress-form-scope .aivah-reply-form__editor .wp-editor-wrap{border:1px solid #e8ebef;border-radius:6px;overflow:hidden}
.aivah-bbpress-form-scope .aivah-reply-form__editor .wp-editor-tools{background:#f8fafc;border-bottom:1px solid #e8ebef}
.aivah-bbpress-form-scope .aivah-reply-form__editor .quicktags-toolbar{padding:8px 10px;background:#f8fafc;border-bottom:1px solid #e8ebef}
.aivah-bbpress-form-scope .aivah-reply-form__editor .quicktags-toolbar input.button.button-small{padding:4px 8px;margin:0 2px 0 0;border:1px solid #d1d5db;border-radius:4px;background:#fff;font-size:12px;font-weight:600;color:#475569;cursor:pointer}
.aivah-bbpress-form-scope .aivah-reply-form__editor textarea#bbp_reply_content,
.aivah-bbpress-form-scope .aivah-reply-form__editor textarea#bbp_topic_content,
.aivah-bbpress-form-scope .aivah-reply-form__editor textarea.bbp-the-content{width:100%;min-height:180px;padding:14px;border:0;border-radius:0;font-size:15px;line-height:1.6;box-sizing:border-box}
.aivah-bbpress-form-scope .aivah-reply-form__editor .wp-editor-wrap textarea#bbp_reply_content,
.aivah-bbpress-form-scope .aivah-reply-form__editor .wp-editor-wrap textarea#bbp_topic_content{border:0;border-radius:0}
.aivah-bbpress-form-scope .aivah-reply-form__fields{display:flex;flex-direction:column;gap:14px}
.aivah-bbpress-form-scope .aivah-reply-form__field{margin:0}
.aivah-bbpress-form-scope .aivah-reply-form__field label{display:block;margin-bottom:8px;font-size:14px;font-weight:600;color:#1a2b4b}
.aivah-bbpress-form-scope .aivah-reply-form__field--checkbox label,
.aivah-bbpress-form-scope .aivah-private-reply label{display:inline-flex;align-items:center;gap:8px;margin:0;font-weight:500;color:#334155;cursor:pointer}
.aivah-bbpress-form-scope .aivah-reply-form__field--tags input[type="text"],
.aivah-bbpress-form-scope .aivah-reply-form__field input[type="text"]:not([type="checkbox"]){display:block;width:100%;max-width:100%;padding:10px 12px;border:1px solid #e8ebef;border-radius:6px;background:#fff;font-size:14px;line-height:1.4;color:#1a2b4b;box-sizing:border-box;outline:none;transition:border-color .2s ease,box-shadow .2s ease}
.aivah-bbpress-form-scope .aivah-reply-form__field input[type="text"]:focus{border-color:#2f7ec8;box-shadow:0 0 0 3px rgba(47,126,200,.18)}
.aivah-bbpress-form-scope .aivah-reply-form__field input[type="checkbox"],
.aivah-bbpress-form-scope .aivah-private-reply input[type="checkbox"]{width:16px;height:16px;margin:0;flex-shrink:0}
.aivah-bbpress-form-scope .aivah-reply-form__admin .bbp-admin-links,
.aivah-bbpress-form-scope .aivah-reply-form__admin .aivah-admin-links{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding-top:4px}
.aivah-bbpress-form-scope .aivah-reply-form__admin .aivah-admin-link{display:inline-flex;align-items:center;gap:6px;color:#1a2b4b;text-decoration:none;font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap}
.aivah-bbpress-form-scope .aivah-reply-form__admin .aivah-admin-link:hover{color:#2f7ec8}
.aivah-bbpress-form-scope .aivah-private-reply{margin:0}
.aivah-bbpress-form-scope .aivah-reply-form__staff{display:flex;flex-direction:column;gap:14px;margin-top:8px;padding-top:18px;border-top:1px solid #e8ebef}
.aivah-bbpress-form-scope .aivah-reply-form__staff-label{margin:0 0 2px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#64748b}
.aivah-bbpress-form-scope .aivah-reply-form__revisions{display:flex;flex-direction:column;gap:14px;margin:0;padding:14px;border:1px solid #e8ebef;border-radius:8px;background:#f8fafc}
.aivah-bbpress-form-scope .aivah-reply-form__field--reason label{display:block;margin-bottom:8px}
.aivah-bbpress-form-scope .aivah-reply-form__help{display:block;margin:-4px 0 8px;font-size:12px;line-height:1.45;font-weight:400;color:#64748b}
.aivah-bbpress-form-scope .aivah-reply-form__field select,
.aivah-bbpress-form-scope .aivah-reply-form select.bbp_dropdown,
.aivah-bbpress-form-scope #bbp_reply_to,
.aivah-bbpress-form-scope #bbp_reply_status,
.aivah-bbpress-form-scope #bbp_stick_topic,
.aivah-bbpress-form-scope #bbp_forum_id{display:block;width:100%;max-width:100%;padding:10px 36px 10px 12px;border:1px solid #e8ebef;border-radius:6px;background-color:#fff;font-size:14px;line-height:1.4;color:#1a2b4b;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#9ca3af 50%),linear-gradient(135deg,#9ca3af 50%,transparent 50%);background-position:calc(100% - 16px) calc(50% + 2px),calc(100% - 11px) calc(50% + 2px);background-size:5px 5px,5px 5px;background-repeat:no-repeat;outline:none;transition:border-color .2s ease,box-shadow .2s ease}
.aivah-bbpress-form-scope .aivah-reply-form__field select:focus,
.aivah-bbpress-form-scope #bbp_reply_to:focus,
.aivah-bbpress-form-scope #bbp_reply_status:focus,
.aivah-bbpress-form-scope #bbp_stick_topic:focus,
.aivah-bbpress-form-scope #bbp_forum_id:focus{border-color:#2f7ec8;box-shadow:0 0 0 3px rgba(47,126,200,.18)}
.aivah-bbpress-form-scope .aivah-reply-form__submit{display:flex;align-items:center;gap:12px;padding-top:16px;margin-top:4px;border-top:1px solid #e8ebef}
.aivah-bbpress-form-scope .aivah-reply-form__submit-btn,
.aivah-bbpress-form-scope .bbp-submit-wrapper .aivah-reply-form__submit-btn,
.aivah-bbpress-form-scope .bbp-submit-wrapper button,
.aivah-bbpress-form-scope .bbp-submit-wrapper input[type="submit"]{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:0;border-radius:6px;background:#2f7ec8;color:#fff;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .2s ease}
.aivah-bbpress-form-scope .aivah-reply-form__submit-btn:hover,
.aivah-bbpress-form-scope .bbp-submit-wrapper button:hover,
.aivah-bbpress-form-scope .bbp-submit-wrapper input[type="submit"]:hover{background:#2468a8}
.aivah-bbpress-form-scope .bbp-submit-wrapper .button:not(.aivah-reply-form__submit-btn){padding:8px 14px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#64748b;text-decoration:none;font-size:13px;font-weight:600}
.aivah-bbpress-form-scope fieldset.bbp-form legend{margin-bottom:12px;padding:0;font-size:16px;font-weight:700;color:#2f7ec8;border:0}

/* Reply edit page */
.aivah-el-reply-edit__topic{margin:-8px 0 20px;font-size:15px;line-height:1.45;color:#64748b}
.aivah-el-reply-edit__topic-label{font-weight:600;color:#1a2b4b}
.aivah-el-reply-edit__topic a{color:#2f7ec8;font-weight:600;text-decoration:none}
.aivah-el-reply-edit__topic a:hover{color:#2468a8;text-decoration:underline}
body.aivah-reply-edit-page .elementor-widget-theme-post-title,
body.aivah-reply-edit-page #bbp-edit-page > .entry-title{display:none!important}
body.aivah-reply-edit-page #bbp-edit-page{border:0;padding:0;background:transparent}
body.aivah-reply-edit-page #bbp-edit-page > .entry-content{margin:0;padding:0}

/* Topic edit page */
.aivah-el-topic-edit__label{margin:-8px 0 20px;font-size:15px;line-height:1.45;color:#64748b}
.aivah-el-topic-edit__label-text{font-weight:600;color:#1a2b4b}
body.aivah-topic-edit-page .elementor-widget-theme-post-title,
body.aivah-topic-edit-page #bbp-edit-page > .entry-title{display:none!important}
body.aivah-topic-edit-page #bbp-edit-page{border:0;padding:0;background:transparent}
body.aivah-topic-edit-page #bbp-edit-page > .entry-content{margin:0;padding:0}

@media(min-width:768px) and (max-width:991px){
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author,
.aivah-el-single-topic #bbpress-forums div.bbp-reply-author.aivah-post-card__author{flex:0 0 145px !important;max-width:145px !important;padding:16px 14px !important}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author img.avatar{width:60px !important;height:60px !important;max-width:60px !important}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__content .bbp-reply-content-area{padding:20px 18px !important}
}

@media(max-width:767px){
.aivah-el-single-topic__back{margin-bottom:10px !important;font-size:13px !important}
.aivah-el-single-topic__title{margin-bottom:16px !important;font-size:20px !important;line-height:1.3 !important;word-break:break-word}
.aivah-el-single-topic__cta-bar{flex-direction:column !important;align-items:stretch !important;gap:12px !important;padding:14px 16px !important;border-radius:8px !important}
.aivah-el-single-topic__cta-message{font-size:13px !important}
.aivah-el-single-topic__cta-btn{justify-content:center !important;width:100% !important;padding:12px 16px !important}

/* User actions (Favorite/Subscribe) */
.aivah-el-single-topic .aivah-topic-user-actions,
.aivah-topic-user-actions{justify-content:flex-start !important;flex-wrap:wrap !important;gap:12px !important;margin:0 0 14px !important;padding:0 !important;font-size:13px !important}

/* Description / Notice bar */
.aivah-el-single-topic .aivah-topic-description,
.aivah-topic-description{padding:10px 14px !important;font-size:12.5px !important;margin-bottom:16px !important}

/* Staff Tools */
.aivah-el-single-topic .bbps-forum-options-head{flex-direction:column !important}
.aivah-el-single-topic .aivah-topic-tools,
.aivah-topic-tools{padding:16px !important;gap:16px !important;border-radius:8px !important}
.aivah-el-single-topic .aivah-topic-tools--three,
.aivah-topic-tools--three,
.aivah-el-single-topic .aivah-topic-tools--two,
.aivah-topic-tools--two{grid-template-columns:1fr !important}
.aivah-el-single-topic .aivah-topic-tools__button,
.aivah-topic-tools__button,
.aivah-el-single-topic .aivah-topic-tools__form input[type="submit"],
.aivah-topic-tools__form input[type="submit"]{width:100% !important;justify-content:center !important}

/* Post Card container */
.aivah-el-single-topic #bbpress-forums .aivah-post-card,
.aivah-el-single-topic #bbpress-forums div.reply.aivah-post-card,
.aivah-el-single-topic #bbpress-forums div.topic.aivah-post-card{margin-bottom:20px !important;border-radius:8px !important}

/* Card Meta header */
.aivah-el-single-topic #bbpress-forums .aivah-post-card__meta,
.aivah-el-single-topic #bbpress-forums .bbp-meta.aivah-post-card__meta{padding:10px 14px !important;gap:8px !important;font-size:12px !important;flex-wrap:wrap !important}
.aivah-el-single-topic #bbpress-forums .bbp-meta-date{font-size:12px !important}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-supported,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-unsupported,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-blocked,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-unknown,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__badge .badge-unknowen{padding:2px 8px !important;font-size:10px !important}

/* Post Card Body: stack author on top of content */
.aivah-el-single-topic #bbpress-forums .aivah-post-card__body,
.aivah-el-single-topic #bbpress-forums .bbp-reply-wrap.aivah-post-card__body{display:flex !important;flex-direction:column !important;width:100% !important}

/* Reset bbPress core quirks and style author header bar */
#bbpress-forums .bbp-body div.bbp-reply-author,
#bbpress-forums .bbp-body div.bbp-topic-author,
#bbpress-forums div.bbp-reply-author,
#bbpress-forums div.bbp-topic-author,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author,
.aivah-el-single-topic #bbpress-forums div.bbp-reply-author.aivah-post-card__author{float:none !important;position:relative !important;width:100% !important;max-width:100% !important;flex:0 0 100% !important;margin:0 !important;padding:12px 14px !important;box-sizing:border-box !important;border-right:0 !important;border-bottom:1px solid #e8ebef !important;background:#fafbfc !important;min-height:0 !important;text-align:left !important;display:flex !important;flex-wrap:wrap !important;align-items:center !important;gap:8px 12px !important}

/* Reset avatar from bbPress absolute positioning */
#bbpress-forums div.bbp-reply-author img.avatar,
#bbpress-forums div.bbp-topic-author img.avatar,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author img.avatar{position:static !important;float:none !important;display:block !important;width:44px !important;height:44px !important;max-width:44px !important;min-width:44px !important;margin:0 !important;border-radius:8px !important;box-shadow:0 2px 8px rgba(15,23,42,.08) !important;flex-shrink:0 !important}

/* Avatar wrappers */
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author a.bbp-author-avatar,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author span.bbp-author-avatar,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author a.bbp-author-link{display:inline-flex !important;align-items:center !important;gap:10px !important;text-decoration:none !important;margin:0 !important;flex-shrink:0 !important}

/* Author name */
#bbpress-forums div.bbp-reply-author .bbp-author-name,
#bbpress-forums div.bbp-topic-author .bbp-author-name,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author a.bbp-author-name,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author span.bbp-author-name{display:inline-block !important;clear:none !important;margin:0 !important;font-size:14px !important;font-weight:700 !important;color:#1a2b4b !important;line-height:1.25 !important;word-break:break-word !important}

/* Role Badge */
#bbpress-forums div.bbp-reply-author .bbp-author-role,
#bbpress-forums div.bbp-topic-author .bbp-author-role,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__author .bbp-author-role{display:inline-flex !important;align-items:center !important;margin:0 !important;padding:2px 7px !important;font-size:9.5px !important;font-weight:700 !important;text-transform:uppercase !important;letter-spacing:.03em !important;line-height:1.2 !important;border-width:1.5px !important;border-radius:4px !important;font-style:normal !important;vertical-align:middle !important}

/* User stats / counts under author */
.aivah-el-single-topic .aivah-user-counts,
.aivah-el-single-topic .tc_display{width:100% !important;margin:0 !important;padding-top:6px !important;border-top:1px dashed #e2e8f0 !important}
.aivah-el-single-topic .aivah-user-counts ul,
.aivah-el-single-topic .tc_display ul{display:flex !important;flex-direction:row !important;flex-wrap:wrap !important;gap:4px 10px !important;font-size:11px !important;color:#64748b !important}
.aivah-el-single-topic .aivah-user-counts ul li,
.aivah-el-single-topic .tc_display ul li{display:inline-flex !important;align-items:center !important;line-height:1.25 !important}

/* Content Area */
.aivah-el-single-topic #bbpress-forums .aivah-post-card__content,
.aivah-el-single-topic #bbpress-forums div.bbp-reply-content.aivah-post-card__content,
.aivah-el-single-topic #bbpress-forums div.bbp-topic-content.aivah-post-card__content{width:100% !important;flex:0 0 100% !important;max-width:100% !important}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__content .bbp-reply-content-area{padding:16px 14px !important;font-size:14.5px !important;line-height:1.6 !important}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__content .bbp-reply-content-area img{max-width:100% !important;height:auto !important;border-radius:6px !important}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__content .bbp-reply-content-area pre,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__content .bbp-reply-content-area code{max-width:100% !important;box-sizing:border-box !important;overflow-x:auto !important;word-break:break-word !important}

/* Card Footer Actions & Admin links */
.aivah-el-single-topic #bbpress-forums .aivah-post-card__footer,
.aivah-el-single-topic #bbpress-forums .bbp-reply-content-footer.aivah-post-card__footer{display:flex !important;flex-direction:column !important;align-items:stretch !important;gap:10px !important;padding:12px 14px !important}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__footer .bbp-admin-links-wrap{width:100% !important}
.aivah-el-single-topic #bbpress-forums .aivah-admin-links,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__footer .bbp-admin-links{display:flex !important;flex-wrap:wrap !important;align-items:center !important;gap:6px 8px !important}
.aivah-el-single-topic #bbpress-forums .aivah-admin-link,
.aivah-el-single-topic #bbpress-forums .aivah-post-card__footer .bbp-admin-links a{display:inline-flex !important;align-items:center !important;gap:4px !important;padding:4px 8px !important;background:#fff !important;border:1px solid #e2e8f0 !important;border-radius:4px !important;font-size:11px !important;font-weight:600 !important;color:#475569 !important;line-height:1.2 !important;text-transform:uppercase !important}
.aivah-el-single-topic #bbpress-forums .aivah-post-card__footer .bbp-reply-actions{width:100% !important;display:flex !important;justify-content:flex-end !important}
.aivah-el-single-topic #bbpress-forums .aivah-post-action--reply{padding:9px 18px !important;font-size:13px !important}

/* Reply Form */
.aivah-bbpress-form-scope.aivah-reply-form,
.aivah-bbpress-form-scope.bbp-topic-form{padding:16px 14px !important;margin-top:20px !important;border-radius:8px !important}
.aivah-bbpress-form-scope .aivah-reply-form__title,
.aivah-bbpress-form-scope .aivah-reply-form legend{font-size:16px !important}
.aivah-bbpress-form-scope .aivah-reply-form__editor textarea#bbp_reply_content,
.aivah-bbpress-form-scope .aivah-reply-form__editor textarea#bbp_topic_content,
.aivah-bbpress-form-scope .aivah-reply-form__editor textarea.bbp-the-content{min-height:140px !important;padding:10px !important;font-size:14px !important}
.aivah-bbpress-form-scope .aivah-reply-form__submit{flex-direction:column !important;align-items:stretch !important}
.aivah-bbpress-form-scope .aivah-reply-form__submit-btn,
.aivah-bbpress-form-scope .bbp-submit-wrapper .aivah-reply-form__submit-btn,
.aivah-bbpress-form-scope .bbp-submit-wrapper button,
.aivah-bbpress-form-scope .bbp-submit-wrapper input[type="submit"]{width:100% !important;justify-content:center !important}
}

/* ==========================================
   FORUMS LISTING ELEMENTOR WIDGET
   ========================================== */
.aivah-el-forums-list-widget {
	background: #ffffff;
	border: 1px solid #e8ebef;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
	box-sizing: border-box;
}

.aivah-el-forums-list__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
}

.aivah-el-forums-list__title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}

.aivah-el-forums-list__header-icon {
	color: #2f7ec8;
	font-size: 18px;
	display: inline-flex;
}

.aivah-el-forums-list__title {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: #1a2b4b;
}

.aivah-el-forums-list__view-all {
	font-size: 13px;
	font-weight: 600;
	color: #2f7ec8;
	text-decoration: none;
	transition: color 0.2s ease;
}

.aivah-el-forums-list__view-all:hover {
	color: #1d5f9e;
	text-decoration: underline;
}

.aivah-forums-wrapper {
	display: grid;
	gap: 16px;
}

.aivah-forums-layout--grid_2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aivah-forums-layout--grid_3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aivah-forums-layout--list {
	grid-template-columns: 1fr;
}

.aivah-forums-layout--compact_sidebar {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.aivah-forums-layout--single-item {
	grid-template-columns: 1fr !important;
}

.aivah-forums-layout--single-item .aivah-forum-item {
	width: 100%;
}

.aivah-forums-layout--single-item .aivah-forum-item__desc {
	white-space: normal;
	overflow: visible;
	text-overflow: unset;
}

/* Auto-collapse grid layouts to single column when placed in sidebar columns */
.elementor-column-25 .aivah-forums-layout--grid_2,
.elementor-column-25 .aivah-forums-layout--grid_3,
.elementor-column-33 .aivah-forums-layout--grid_2,
.elementor-column-33 .aivah-forums-layout--grid_3 {
	grid-template-columns: 1fr !important;
}

.aivah-forum-item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid #e8ebef;
	border-radius: 10px;
	background: #ffffff;
	transition: all 0.2s ease;
	min-width: 0;
	box-sizing: border-box;
}

.aivah-forum-item:hover {
	border-color: #2f7ec8;
	box-shadow: 0 4px 16px rgba(47, 126, 200, 0.08);
}

.aivah-forum-item__main {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
}

.aivah-forum-item__icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #e8f4fd;
	color: #2f7ec8;
	flex-shrink: 0;
}

.aivah-forum-item__content {
	min-width: 0;
	flex: 1;
}

.aivah-forum-item__title-link {
	text-decoration: none;
}

.aivah-forum-item__title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #1a2b4b;
	line-height: 1.35;
	transition: color 0.2s ease;
}

.aivah-forum-item__title-link:hover .aivah-forum-item__title {
	color: #2f7ec8;
}

.aivah-forum-item__desc {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: #6b7280;
}

.aivah-forum-item__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-top: 8px;
	border-top: 1px solid #f1f5f9;
}

.aivah-forum-item__badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	background: #e8f4fd;
	color: #2f7ec8;
}

.aivah-forum-item__badge--subtle {
	background: #f1f5f9;
	color: #6b7280;
}

/* Compact Sidebar Layout Item */
.aivah-forum-item--compact {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #e8ebef;
	border-radius: 8px;
	background: #ffffff;
}

.aivah-forum-item--compact .aivah-forum-item__title {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
}

@media (max-width: 768px) {
	.aivah-forums-layout--grid_2,
	.aivah-forums-layout--grid_3 {
		grid-template-columns: 1fr;
	}
}

/* ==========================================
   SINGLE FORUM PAGE & HERO REVAMP
   ========================================== */
.aivah-single-forum-wrapper {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.aivah-forum-hero-card {
	background: #ffffff;
	border: 1px solid #e8ebef;
	border-radius: 14px;
	padding: 24px 28px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
	box-sizing: border-box;
}

.aivah-forum-hero__breadcrumbs {
	margin-bottom: 12px;
	font-size: 13px;
	color: #64748b;
}

.aivah-forum-hero__breadcrumbs a {
	color: #2f7ec8;
	text-decoration: none;
	font-weight: 500;
}

.aivah-forum-hero__breadcrumbs a:hover {
	text-decoration: underline;
}

.aivah-forum-hero__main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.aivah-forum-hero__content {
	flex: 1;
	min-width: 280px;
}

.aivah-forum-hero__title {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 800;
	color: #1a2b4b;
	line-height: 1.25;
}

.aivah-forum-hero__desc {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.55;
	color: #475569;
}

.aivah-forum-hero__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.aivah-forum-hero__pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: #e8f4fd;
	color: #2f7ec8;
}

.aivah-forum-hero__pill--subtle {
	background: #f1f5f9;
	color: #64748b;
}

.aivah-forum-hero__actions {
	flex-shrink: 0;
}

.aivah-btn-open-ticket {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 8px;
	background: #2f7ec8;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease;
	box-shadow: 0 4px 12px rgba(47, 126, 200, 0.25);
}

.aivah-btn-open-ticket:hover {
	background: #2468a8;
	color: #ffffff !important;
	transform: translateY(-1px);
}

/* Sub-forums section */
.aivah-subforums-section {
	margin-bottom: 20px;
}

.aivah-subforums-section__title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 700;
	color: #1a2b4b;
}

/* Topic Form Card — outer spacing only; panel styling lives on .aivah-bbpress-form-scope */
.aivah-form-topic-card {
	margin-top: 28px;
}

@media (max-width: 768px) {
	.aivah-forum-hero__main {
		flex-direction: column;
		align-items: stretch;
	}
	.aivah-btn-open-ticket {
		width: 100%;
		justify-content: center;
	}
}

/* 2-Column Sidebar Layout */
.aivah-forum-layout-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	align-items: start;
}

.aivah-forum-main-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.aivah-forum-sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.aivah-el-forum-cats__row.is-active .aivah-el-forum-cats__link {
	color: #2f7ec8;
	font-weight: 700;
}

@media (max-width: 991px) {
	.aivah-forum-layout-container {
		grid-template-columns: 1fr;
	}
}

/* Container max width constraint for single forums */
.aivah-single-forum-wrapper,
.single-forum .elementor-location-single,
.single-forum .elementor-type-single-post,
body.single-forum .site-main,
body.single-forum #main,
body.single-forum #content {
	max-width: 1340px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}
