/*
 * LSPD Universal custom layer.
 *
 * This style keeps we_universal as the parent and recreates the supplied
 * LSPD forum reference with local assets and update-friendly overrides.
 */

:root,
html,
html[data-theme="light"],
html[data-theme="dark"] {
	--row-bg: #f7f7f7;
	--forabg-list: #ffffff;
	--topiclist: #ededed;
	--forabg: #444444;
	--dropdown-extended-header: #ffffff;
	--inventea-header: #24272a;
	--inventea-userbar: #ffffff;
	--inventea-footer: #777777;
	--content-color: #333333;
	--bg-web-color: #ffffff;
	--color-1: #ffffff;
	--color-2: #525252;
	--color-3: #222222;
	--text-color-1: #2e2e2e;
	--text-color-2: #3c3c3c;
	--text-color-3: #111111;
	--text-color-4: #6d6d6d;
	--text-color-5: #f7f7f7;
	--links-color: #2f2f2f;
	--links-color-hover-focus: #1976d2;
	--h2-color: #2f2f2f;
	--bg1-color: #f9f9f9;
	--bg2-color: #f1f1f1;
	--bg3-color: #eeeeee;
	--bg4-color: #f5f5f5;
	--bg5-color: #e6e6e6;
	--input-bg: #ffffff;
	--input-txt-color: #333333;
	--border-color-1: #d2d2d2;
	--border-color-2: #4a4a4a;
	--border-color-3: #c8c8c8;
	--button-bg: #dedede;
	--reported-bg: #efdcdc;
	--bg-rule: #f2dede;
	--color-warning: #ffe799;
	--color-error: #b00020;
	--item-bg: rgba(60, 60, 60, 0.08);
	--shadowcolor: #c9c9c9;
	--lspd-accent: #1976d2;
	--lspd-accent-dark: #0f2940;
	--lspd-ink: #242424;
	--lspd-bar: #3f3f3f;
	--lspd-line: #d5d5d5;
	--lspd-muted: #666666;
	--lspd-banner-text: #ffffff;
}

/* 0.7.19: card-based per-section grid layout. */
.lspd-fora-section .lspd-section-toggle {
	opacity: 1 !important;
	pointer-events: auto !important;
}

@media (min-width: 701px) {
	.lspd-fora-section.lspd-section-grid ul.topiclist.forums {
		background: var(--lspd-main-bg) !important;
		display: grid !important;
		gap: 14px !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		padding: 14px !important;
	}

	.lspd-fora-section.lspd-section-grid li.lspd-fora-row {
		background: var(--lspd-row-bg, var(--lspd-main-bg)) !important;
		border: 1px solid var(--lspd-border) !important;
		box-sizing: border-box;
		height: clamp(300px, 28vw, 430px) !important;
		min-height: 0 !important;
		overflow: hidden;
		width: 100% !important;
	}

	.lspd-fora-section.lspd-section-grid li.lspd-fora-row > dl.lspd-fora-row-dl {
		display: grid !important;
		float: none !important;
		grid-template-columns: 48px minmax(0, 1fr) !important;
		grid-template-rows: minmax(0, 1fr) auto auto !important;
		height: 100% !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.lspd-fora-section.lspd-section-grid li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon {
		box-sizing: border-box;
		float: none !important;
		grid-column: 1 !important;
		grid-row: 1 / 4 !important;
		min-width: 0 !important;
		padding: 18px 8px !important;
		width: 48px !important;
	}

	.lspd-fora-section.lspd-section-grid li.lspd-fora-row > dl.lspd-fora-row-dl > dd {
		box-sizing: border-box;
		float: none !important;
		margin: 0 !important;
		max-width: none !important;
		min-width: 0 !important;
		width: auto !important;
	}

	.lspd-fora-section.lspd-section-grid dd.lspd-fora-description {
		grid-column: 2 !important;
		grid-row: 1 !important;
		overflow: auto !important;
		padding: 17px 16px 12px !important;
	}

	.lspd-fora-section.lspd-section-grid .lspd-fora-description-inner,
	.lspd-fora-section.lspd-section-grid .lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) {
		display: block !important;
		grid-template-columns: none !important;
		max-width: 100% !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.lspd-fora-section.lspd-section-grid .lspd-forum-title,
	.lspd-fora-section.lspd-section-grid .lspd-forum-desc,
	.lspd-fora-section.lspd-section-grid .lspd-forum-moderators,
	.lspd-fora-section.lspd-section-grid .lspd-subforums-list {
		grid-column: auto !important;
		margin-left: 0 !important;
		max-width: 100% !important;
		min-width: 0 !important;
		width: auto !important;
		word-break: normal !important;
		overflow-wrap: anywhere;
	}

	.lspd-fora-section.lspd-section-grid .lspd-forum-title {
		font-size: 16px;
		line-height: 1.25;
		margin: 0 0 8px !important;
	}

	.lspd-fora-section.lspd-section-grid .lspd-forum-desc {
		display: -webkit-box !important;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 4;
		line-height: 1.45;
		overflow: hidden;
	}

	.lspd-fora-section.lspd-section-grid .forum-image.lspd-forum-image,
	.lspd-fora-section.lspd-section-grid .forum-image.lspd-forum-image.is-emblem {
		display: block !important;
		float: none !important;
		margin: 12px 0 !important;
		max-width: 100% !important;
		position: static !important;
		width: 100% !important;
	}

	.lspd-fora-section.lspd-section-grid .forum-image.lspd-forum-image img,
	.lspd-fora-section.lspd-section-grid .forum-image.lspd-forum-image.is-emblem img {
		display: block;
		height: 74px !important;
		max-height: 74px !important;
		max-width: 100% !important;
		object-fit: contain;
		object-position: left center;
		width: 100% !important;
	}

	.lspd-fora-section.lspd-section-grid .forum-image.lspd-forum-image.is-banner img {
		object-fit: cover;
	}

	.lspd-fora-section.lspd-section-grid .lspd-subforums-list {
		max-height: 112px;
		overflow: auto;
		padding-right: 4px;
	}

	.lspd-fora-section.lspd-section-grid dd.lspd-fora-stats,
	.lspd-fora-section.lspd-section-grid dd.lspd-fora-recent {
		align-items: center !important;
		background: rgba(16, 45, 69, .045) !important;
		border-left: 0 !important;
		border-top: 1px solid var(--lspd-border) !important;
		display: flex !important;
		font-size: 11px;
		min-height: 42px !important;
		padding: 9px 14px !important;
	}

	.lspd-fora-section.lspd-section-grid dd.lspd-fora-stats {
		flex-direction: row !important;
		gap: 14px;
		grid-column: 2 !important;
		grid-row: 2 !important;
		justify-content: flex-start !important;
	}

	.lspd-fora-section.lspd-section-grid dd.lspd-fora-recent {
		grid-column: 2 !important;
		grid-row: 3 !important;
		justify-content: flex-start !important;
		line-height: 1.35;
	}

	.lspd-fora-section.lspd-section-grid dd.lspd-fora-recent > span {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (min-width: 701px) and (max-width: 1100px) {
	.lspd-fora-section.lspd-section-grid ul.topiclist.forums {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 700px) {
	.lspd-fora-section.lspd-section-grid ul.topiclist.forums {
		display: block !important;
	}

	.lspd-fora-section.lspd-section-grid li.lspd-fora-row {
		height: auto !important;
		min-height: 0 !important;
	}
}

/* 0.7.18: keep signed-in utility controls compact and dropdown content out of the bar. */
.lspd-account-rank-thumb img {
	display: block !important;
}

.lspd-account-trigger span:after {
	content: none !important;
	display: none !important;
}

.inventea-userbar .lspd-utility-trigger .badge {
	flex: 0 0 auto;
	margin-left: 1px;
	position: static !important;
}

.inventea-userbar .lspd-utility-trigger .badge.hidden,
.inventea-userbar .lspd-utility-panel.hidden {
	display: none !important;
}

@media (min-width: 701px) {
	.inventea-userbar > .inventea-user-menu > li.responsive-menu {
		display: none !important;
	}

	.inventea-userbar .lspd-account-control,
	.inventea-userbar .header-profile,
	.inventea-userbar .lspd-account-trigger {
		align-items: center;
		display: inline-flex;
		height: 48px;
	}

	.inventea-userbar .lspd-account-rank-thumb {
		align-self: center;
		flex: 0 0 38px;
		margin: 0;
	}
}

/* Keep control-panel section titles clear of the sidebar and panel edge. */
.section-ucp #cp-main > h2,
.section-mcp #cp-main > h2 {
	box-sizing: border-box;
	margin-left: 10px;
	padding: 9px 14px !important;
	width: calc(100% - 10px);
}

/* 0.7.12: keep utility-bar dropdowns above the rotating banner. */
.inventea-headerbar {
	position: relative;
	z-index: 50;
}

.inventea-userbar,
.inventea-userbar .dropdown-container {
	overflow: visible;
}

.inventea-userbar .dropdown {
	z-index: 100;
}

html,
body {
	background: #e9ecef !important;
	color: #333333;
	letter-spacing: 0;
}

body {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

a,
.forumtitle:hover,
.topictitle:hover {
	color: var(--lspd-accent);
}

a:hover {
	color: var(--lspd-accent-dark);
}

.wrap {
	padding-top: 12px;
}

.inventea-wrapper,
.inventea-dashboard,
.inventea-footer {
	max-width: 1170px;
	width: 94%;
}

.inventea-wrapper {
	background: #ffffff;
	border: 1px solid #d4d4d4;
	box-shadow: 0 18px 42px rgba(30, 30, 30, 0.12);
}

.inventea-header {
	background: #2b2f33;
}

.inventea-userbar {
	background: #ffffff;
	border-bottom: 1px solid #d9d9d9;
	color: #444444;
	height: 42px;
	padding-top: 10px;
}

.inventea-userbar a,
.inventea-userbar .icon {
	color: #333333;
}

.inventea-userbar a:hover {
	color: var(--lspd-accent);
	text-decoration: none;
}

.inventea-dashboard {
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.68)),
		url("./images/dashboard.png") center center / cover no-repeat;
	min-height: 238px;
	overflow: hidden;
	position: relative;
}

.inventea-dashboard:after {
	background: var(--lspd-accent);
	bottom: 0;
	content: "";
	display: block;
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
}

.lspd-banner-stage,
.lspd-banner-slide {
	inset: 0;
	position: absolute;
}

.lspd-banner-stage {
	background: #111111 url("./images/dashboard.png") center center / cover no-repeat;
	z-index: 0;
}

.lspd-banner-home-link {
	background: transparent;
	cursor: pointer;
	inset: 0;
	position: absolute;
	z-index: 1;
}

.lspd-banner-home-link:focus-visible {
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .88);
	outline: 0;
}

.lspd-banner-slide {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0;
	transform: scale(1.015);
	transition: opacity var(--lspd-banner-fade, 1200ms) ease-in-out, transform var(--lspd-banner-interval, 10000ms) ease-out;
}

.lspd-banner-slide.is-active {
	opacity: 1;
	transform: scale(1);
}

.lspd-banner-stage:after {
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22) 54%, rgba(0, 0, 0, 0.68));
	content: "";
	inset: 0;
	position: absolute;
}

.inventea-dashboard .inventea-menu,
.inventea-sitename {
	position: relative;
	z-index: 2;
}

.lspd-banner-seal {
	bottom: 28px;
	clip-path: circle(47% at 50% 50%);
	display: block;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .65));
	height: auto;
	max-width: 230px;
	opacity: .96;
	pointer-events: none;
	position: absolute;
	right: 44px;
	width: 20%;
	z-index: 1;
}

@media (max-width: 700px) {
	.lspd-banner-seal {
		bottom: 24px;
		max-width: 118px;
		right: 12px;
		width: 30%;
	}
}

/* 0.7: utility-bar breadcrumbs and insignia-only rank presentation. */
.inventea-userbar {
	min-height: 42px;
}

#nav-breadcrumbs.lspd-top-breadcrumbs {
	left: 18px;
	margin: 0;
	max-width: calc(100% - 520px);
	overflow: hidden;
	position: absolute;
	text-overflow: ellipsis;
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
}

#nav-breadcrumbs.lspd-top-breadcrumbs .breadcrumbs {
	display: block;
	float: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#nav-breadcrumbs.lspd-top-breadcrumbs .crumb {
	display: inline;
	float: none;
}

#nav-breadcrumbs.lspd-top-breadcrumbs .crumb a,
#nav-breadcrumbs.lspd-top-breadcrumbs .crumb.wrapped a,
#nav-breadcrumbs.lspd-top-breadcrumbs .breadcrumbs.wrapped .crumb a {
	max-width: none !important;
	overflow: visible;
	text-overflow: clip;
	width: auto !important;
}

#nav-breadcrumbs.lspd-top-breadcrumbs a {
	font-family: var(--lspd-font-body);
	font-size: 12px;
}

#nav-breadcrumbs.lspd-top-breadcrumbs .icon {
	font-family: FontAwesome !important;
}

#nav-breadcrumbs.lspd-top-breadcrumbs .lspd-index-seal {
	align-items: center;
	display: inline-flex;
	height: 30px;
	justify-content: center;
	vertical-align: middle;
	width: 30px !important;
}

#nav-breadcrumbs.lspd-top-breadcrumbs .lspd-index-seal img {
	display: block;
	height: 26px;
	object-fit: contain;
	width: 26px;
}

#nav-breadcrumbs.lspd-top-breadcrumbs .crumb:before {
	color: var(--lspd-muted);
	content: "/";
	display: inline;
	float: none;
	margin: 0 8px;
}

#nav-breadcrumbs.lspd-top-breadcrumbs .crumb:first-child:before {
	content: none;
	margin: 0;
}

.lspd-profile-rank-image {
	text-align: center;
}

.lspd-profile-rank-image img,
.profile-rank.lspd-profile-rank-image img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 130px;
	width: auto;
}

.section-viewtopic .post .postprofile dt.has-profile-rank {
	margin-bottom: 8px;
}

.section-viewtopic .post .postprofile dd.profile-rank {
	margin-top: 0;
}

.section-viewtopic .post > .inner {
	position: relative;
}

.section-viewtopic .lspd-post-actions-wrap {
	margin: 0;
}

.section-viewtopic .lspd-post-actions {
	align-items: center;
	display: flex;
	float: none !important;
	flex-wrap: nowrap;
	gap: 8px;
	list-style: none;
	margin: 0 !important;
	max-width: none !important;
	padding: 0;
	position: static;
}

.section-viewtopic .lspd-post-actions > li {
	display: inline-flex;
	flex: 0 0 auto;
	float: none;
	margin: 0;
}

@media (min-width: 1061px) {
	.section-viewtopic .lspd-post-actions-wrap {
		position: absolute;
		right: 22px;
		top: 22px;
		z-index: 3;
	}

	.section-viewtopic .post.has-lspd-post-actions .postbody h3,
	.section-viewtopic .post.has-lspd-post-actions .postbody h3.first {
		margin-right: 286px !important;
	}
}

@media (max-width: 900px) {
	#nav-breadcrumbs.lspd-top-breadcrumbs {
		max-width: calc(100% - 390px);
	}
}

@media (max-width: 700px) {
	.inventea-mobile-dropdown-menu {
		margin-top: -7px;
		right: 10px;
		z-index: 1000;
	}

	.inventea-mobile-dropdown-menu .inventea-toggle {
		align-items: center;
		background: #e5e8ea;
		border: 1px solid #c4cbd0;
		border-radius: 4px;
		box-sizing: border-box;
		color: #14212b;
		display: flex;
		height: 38px;
		justify-content: center;
		padding: 0;
		width: 42px;
	}

	.inventea-mobile-dropdown-menu .dropdown {
		background: #f7f8f8;
		border: 1px solid #aeb8bf;
		border-radius: 0;
		box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
		box-sizing: border-box;
		max-height: calc(100vh - 100px);
		margin: 0 !important;
		min-width: 0 !important;
		overflow-y: auto;
		padding: 0;
		left: 10px;
		position: fixed;
		right: 10px;
		top: 56px;
		width: auto !important;
	}

	.inventea-mobile-dropdown-menu .pointer {
		display: none;
	}

	.inventea-mobile-dropdown-menu .dropdown-contents {
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		box-sizing: border-box;
		margin: 0;
		max-height: none;
		padding: 8px 0;
		width: 100%;
	}

	.inventea-mobile-dropdown-menu .dropdown-contents > li,
	.inventea-mobile-dropdown-menu .dropdown-contents > li + li {
		border: 0;
		float: none;
		margin: 0;
		padding: 0;
		width: 100%;
	}

	.inventea-mobile-dropdown-menu .dropdown-contents > li > a,
	.inventea-mobile-dropdown-menu .dropdown-contents > li > a:visited {
		align-items: center;
		background: transparent !important;
		border: 0 !important;
		border-bottom: 1px solid #d8dde1 !important;
		box-sizing: border-box;
		color: #14212b !important;
		display: flex;
		font-family: var(--lspd-font-ui, "Public Sans", Arial, sans-serif);
		font-size: 14px;
		font-weight: 600;
		gap: 12px;
		line-height: 1.25;
		min-height: 45px;
		padding: 10px 16px;
		text-decoration: none;
		width: 100%;
	}

	.inventea-mobile-dropdown-menu .dropdown-contents > li > a:hover,
	.inventea-mobile-dropdown-menu .dropdown-contents > li > a:focus {
		background: #e8ecef !important;
		color: #0f2940 !important;
	}

	.inventea-mobile-dropdown-menu .dropdown-contents > li > a .icon {
		color: #315c79 !important;
		font-size: 15px;
		text-align: center;
		width: 20px;
	}

	.inventea-mobile-dropdown-menu li.separator {
		background: #102d45;
		height: 6px;
		margin: 0 !important;
	}

	.inventea-mobile-dropdown-menu .lspd-mobile-menu-section {
		background: #102d45;
		color: #fff;
		font-family: var(--lspd-font-ui, "Public Sans", Arial, sans-serif);
		font-size: 10px;
		font-weight: 800;
		letter-spacing: 0;
		padding: 8px 16px !important;
		text-transform: uppercase;
	}

	html[data-theme="dark"] .inventea-mobile-dropdown-menu .dropdown {
		background: #1c2226;
		border-color: #46525a;
	}

	html[data-theme="dark"] .inventea-mobile-dropdown-menu .dropdown-contents > li > a,
	html[data-theme="dark"] .inventea-mobile-dropdown-menu .dropdown-contents > li > a:visited {
		border-bottom-color: #3b454c !important;
		color: #f5f7f8 !important;
	}

	html[data-theme="dark"] .inventea-mobile-dropdown-menu .dropdown-contents > li > a:hover,
	html[data-theme="dark"] .inventea-mobile-dropdown-menu .dropdown-contents > li > a:focus {
		background: #273139 !important;
		color: #fff !important;
	}

	html[data-theme="dark"] .inventea-mobile-dropdown-menu .dropdown-contents > li > a .icon {
		color: #9bc9e8 !important;
	}

	.lspd-banner-navigation {
		bottom: 4px;
		left: 0;
		position: absolute;
		right: 0;
		z-index: 5;
	}

	.lspd-mobile-quick-access {
		align-items: stretch;
		background: rgba(15, 41, 64, .97);
		border-top: 1px solid rgba(255, 255, 255, .16);
		display: flex;
		height: 44px;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}

	.lspd-mobile-quick-access > a,
	.lspd-mobile-quick-access > a:visited {
		align-items: center;
		border: 0;
		border-right: 1px solid rgba(255, 255, 255, .14);
		box-sizing: border-box;
		color: #f7f9fa;
		display: inline-flex;
		flex: 0 0 auto;
		font-family: var(--lspd-font-ui, "Public Sans", Arial, sans-serif);
		font-size: 11px;
		font-weight: 700;
		gap: 5px;
		height: 44px;
		padding: 0 13px;
		text-decoration: none;
		text-transform: uppercase;
		white-space: nowrap;
	}

	.lspd-mobile-quick-access > a:hover,
	.lspd-mobile-quick-access > a:focus {
		background: rgba(255, 255, 255, .11);
		color: #fff;
	}

	.lspd-mobile-quick-access .icon {
		color: currentColor;
		font-size: 12px;
	}

	.inventea-sitename {
		padding-bottom: 58px;
	}

	.inventea-userbar {
		height: 72px !important;
		min-height: 72px;
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs {
		border-top: 1px solid var(--lspd-rule);
		bottom: 0;
		height: 30px;
		left: 12px;
		max-width: calc(100% - 24px);
		padding-top: 6px;
		top: auto;
		transform: none;
		width: calc(100% - 24px);
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs .crumb:not(.lspd-index-crumb):not(:last-child) {
		display: none;
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs .lspd-index-crumb {
		display: inline;
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs .lspd-index-seal {
		height: 24px;
		width: 24px !important;
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs .lspd-index-seal img {
		height: 22px;
		width: 22px;
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs .crumb:last-child:before {
		content: none;
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs .crumb:last-child,
	#nav-breadcrumbs.lspd-top-breadcrumbs .crumb:last-child a {
		display: inline;
		max-width: 100% !important;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (min-width: 701px) {
	.lspd-mobile-quick-access {
		display: none;
	}
}

/* Unified account, message, and notification utilities. */
.inventea-userbar > .inventea-user-menu {
	gap: 4px !important;
}

.inventea-userbar .lspd-utility-item {
	position: relative;
}

.inventea-userbar .lspd-utility-trigger,
.inventea-userbar .lspd-account-trigger {
	align-items: center;
	background: transparent !important;
	border: 1px solid transparent !important;
	box-sizing: border-box;
	color: #1b2832 !important;
	display: inline-flex !important;
	gap: 7px;
	height: 44px;
	justify-content: center;
	padding: 0 11px !important;
	text-decoration: none !important;
	transition: background-color .16s ease, border-color .16s ease;
}

.inventea-userbar .lspd-utility-trigger:hover,
.inventea-userbar .lspd-utility-trigger:focus,
.inventea-userbar .lspd-account-trigger:hover,
.inventea-userbar .lspd-account-trigger:focus,
.inventea-userbar .dropdown-visible > .lspd-utility-trigger,
.inventea-userbar .dropdown-visible .lspd-account-trigger {
	background: #edf1f3 !important;
	border-color: #cdd5da !important;
	color: #102d45 !important;
}

.lspd-utility-trigger > .icon {
	color: #25445a !important;
	font-size: 16px;
}

.lspd-utility-trigger__label {
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.inventea-userbar .lspd-utility-trigger .badge {
	align-items: center;
	background: #b1262f;
	border: 2px solid #fff;
	border-radius: 50%;
	box-sizing: border-box;
	color: #fff;
	display: flex;
	font-size: 9px;
	font-weight: 800;
	height: 18px;
	justify-content: center;
	line-height: 1;
	min-width: 18px;
	padding: 0 4px;
	position: absolute;
	right: 2px;
	top: 1px;
}

.lspd-account-rank-thumb {
	align-items: center;
	background: #102d45;
	border: 1px solid #315c79;
	box-sizing: border-box;
	display: flex;
	height: 38px;
	justify-content: center;
	overflow: hidden;
	width: 38px;
}

.lspd-account-rank-thumb img {
	height: 100% !important;
	margin: 0 !important;
	max-height: none !important;
	object-fit: contain;
	width: 100% !important;
}

.lspd-account-trigger__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	min-width: 0;
}

.lspd-account-trigger__text strong {
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.lspd-account-trigger__text small {
	color: #66747e;
	font-size: 9px;
	font-weight: 600;
	margin-top: 2px;
	text-transform: uppercase;
	white-space: nowrap;
}

.lspd-account-chevron {
	color: #77848d !important;
	font-size: 9px;
}

.inventea-userbar .lspd-utility-panel,
.inventea-userbar .lspd-utility-panel.dropdown-extended {
	background: #fff;
	border: 1px solid #bcc6cc;
	border-radius: 4px;
	box-shadow: 0 18px 42px rgba(8, 24, 36, .24);
	box-sizing: border-box;
	left: auto;
	margin: 8px 0 0 !important;
	padding: 0;
	right: 0;
	top: 100%;
	width: min(390px, calc(100vw - 24px));
	z-index: 1000;
}

.inventea-userbar .lspd-notification-panel > .dropdown-contents {
	display: block;
	position: relative;
}

.inventea-userbar .lspd-notification-panel .lspd-desktop-alert-row,
.inventea-userbar .lspd-notification-panel .lspd-utility-panel__footer {
	float: none !important;
	position: relative;
	width: 100%;
}

.inventea-userbar .lspd-account-panel {
	width: min(310px, calc(100vw - 24px));
}

.lspd-utility-panel .pointer {
	display: none;
}

.lspd-utility-panel .dropdown-contents {
	background: transparent !important;
	border: 0 !important;
	border-radius: 4px;
	box-shadow: none !important;
	margin: 0 !important;
	max-height: min(520px, calc(100vh - 90px));
	overflow-y: auto;
	padding: 0 !important;
	width: 100% !important;
}

.lspd-utility-panel__header {
	align-items: center;
	background: #102d45;
	color: #fff;
	display: flex;
	font-size: 12px;
	font-weight: 800;
	justify-content: space-between;
	letter-spacing: 0;
	min-height: 46px;
	padding: 0 15px;
	text-transform: uppercase;
}

.lspd-utility-panel__header > span {
	display: flex;
	gap: 8px;
	align-items: center;
}

.lspd-utility-panel__header a,
.lspd-utility-panel__header a:visited {
	color: #dce8ef !important;
	font-size: 10px;
	font-weight: 700;
	margin-left: 10px;
	text-decoration: none;
}

.lspd-utility-panel__identity {
	align-items: center;
	background: #102d45;
	color: #fff;
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 13px;
	padding: 16px;
}

.lspd-utility-panel__identity > span:last-child {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.lspd-utility-panel__identity strong {
	font-size: 15px;
	line-height: 1.25;
}

.lspd-utility-panel__identity small {
	color: #c9d6de;
	font-size: 10px;
	font-weight: 700;
	margin-top: 4px;
	text-transform: uppercase;
}

.lspd-account-rank-large {
	background: #081b2a;
	border: 1px solid rgba(255,255,255,.25);
	display: grid;
	height: 58px;
	overflow: hidden;
	place-items: center;
	width: 58px;
}

.lspd-account-rank-large img {
	height: 100% !important;
	margin: 0 !important;
	max-height: none !important;
	object-fit: contain;
	width: 100% !important;
}

.inventea-userbar .lspd-utility-links > li,
.inventea-userbar .lspd-utility-links > li + li {
	border: 0;
	margin: 0;
	padding: 0;
}

.inventea-userbar .lspd-utility-links > li > a {
	align-items: center;
	background: #fff !important;
	border: 0 !important;
	border-bottom: 1px solid #e0e5e8 !important;
	color: #1b2832 !important;
	display: flex;
	font-size: 12px;
	font-weight: 600;
	gap: 10px;
	min-height: 43px;
	padding: 0 15px;
}

.inventea-userbar .lspd-utility-links > li > button.lspd-utility-link-button {
	align-items: center;
	appearance: none;
	background: #fff !important;
	border: 0 !important;
	border-bottom: 1px solid #e0e5e8 !important;
	box-sizing: border-box;
	color: #1b2832 !important;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	gap: 10px;
	min-height: 43px;
	padding: 0 15px;
	text-align: left;
	width: 100%;
}

.inventea-userbar .lspd-utility-links > li > a:hover,
.inventea-userbar .lspd-utility-links > li > button.lspd-utility-link-button:hover,
.inventea-userbar .lspd-utility-links > li > button.lspd-utility-link-button:focus {
	background: #edf2f5 !important;
	color: #102d45 !important;
}

.inventea-online {
	opacity: .78;
}

html.lspd-hide-online-tags .inventea-online {
	display: none !important;
}

.lspd-message-preview,
.lspd-notification-list > li > .notification-block {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid #e0e5e8;
	box-sizing: border-box;
	color: #26343e !important;
	display: grid;
	gap: 11px;
	grid-template-columns: 42px minmax(0, 1fr);
	min-height: 76px;
	padding: 11px 14px;
	text-decoration: none !important;
}

.lspd-message-preview.is-unread,
.lspd-notification-list > li.is-unread > .notification-block {
	background: #edf4f8;
	box-shadow: inset 3px 0 #315c79;
}

.lspd-message-preview:hover,
.lspd-notification-list > li > .notification-block:hover {
	background: #e7eef2;
}

.lspd-message-initial,
.lspd-notification-avatar {
	align-items: center;
	background: #315c79;
	color: #fff;
	display: flex;
	font-size: 16px;
	font-weight: 800;
	height: 42px;
	justify-content: center;
	overflow: hidden;
	width: 42px;
}

.lspd-notification-avatar img {
	height: 42px !important;
	margin: 0 !important;
	object-fit: cover;
	width: 42px !important;
}

.lspd-message-preview > span:last-child,
.lspd-notification-list .notification_text {
	display: block;
	min-width: 0;
}

.lspd-message-preview strong,
.lspd-notification-list .notification-title {
	color: #172630 !important;
	display: block;
	font-size: 12px;
	font-weight: 800;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lspd-message-preview small,
.lspd-message-preview time,
.lspd-notification-list .notification-reference,
.lspd-notification-list .notification-forum,
.lspd-notification-list .notification-time {
	color: #66747e !important;
	display: block;
	font-size: 10px;
	line-height: 1.4;
	margin: 2px 0 0;
}

.lspd-message-preview time,
.lspd-notification-list .notification-time {
	text-align: left;
}

.lspd-notification-list,
.lspd-notification-list > li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lspd-notification-list > li {
	position: relative;
}

.lspd-notification-list .mark_read {
	background: #fff;
	border: 1px solid #c7d0d5;
	color: #315c79;
	display: grid;
	height: 26px;
	place-items: center;
	position: absolute;
	right: 10px;
	top: 10px;
	width: 26px;
}

.lspd-utility-empty {
	color: #66747e;
	font-size: 12px;
	padding: 28px 16px;
	text-align: center;
}

.lspd-utility-panel__footer,
.lspd-utility-panel__footer:visited {
	align-items: center;
	background: #f2f4f5;
	color: #18384f !important;
	display: flex;
	font-size: 11px;
	font-weight: 800;
	justify-content: space-between;
	min-height: 43px;
	padding: 0 15px;
	text-decoration: none;
	text-transform: uppercase;
}

html[data-theme="dark"] .inventea-userbar .lspd-utility-panel,
html[data-theme="dark"] .lspd-utility-panel .dropdown-contents,
html[data-theme="dark"] .lspd-message-preview,
html[data-theme="dark"] .lspd-notification-list > li > .notification-block,
html[data-theme="dark"] .inventea-userbar .lspd-utility-links > li > a,
html[data-theme="dark"] .inventea-userbar .lspd-utility-links > li > button.lspd-utility-link-button {
	background: #1c2226 !important;
	border-color: #3e494f !important;
	color: #f5f7f8 !important;
}

html[data-theme="dark"] .lspd-message-preview.is-unread,
html[data-theme="dark"] .lspd-notification-list > li.is-unread > .notification-block,
html[data-theme="dark"] .lspd-message-preview:hover,
html[data-theme="dark"] .lspd-notification-list > li > .notification-block:hover,
html[data-theme="dark"] .inventea-userbar .lspd-utility-links > li > a:hover,
html[data-theme="dark"] .inventea-userbar .lspd-utility-links > li > button.lspd-utility-link-button:hover,
html[data-theme="dark"] .inventea-userbar .lspd-utility-links > li > button.lspd-utility-link-button:focus {
	background: #273139 !important;
}

html[data-theme="dark"] .lspd-message-preview strong,
html[data-theme="dark"] .lspd-notification-list .notification-title {
	color: #fff !important;
}

html[data-theme="dark"] .lspd-utility-panel__footer {
	background: #151b1f;
	color: #a9d1eb !important;
}

@media (max-width: 900px) {
	.lspd-utility-trigger__label,
	.lspd-account-trigger__text small {
		display: none;
	}

	.inventea-userbar .lspd-utility-trigger {
		padding-left: 9px !important;
		padding-right: 9px !important;
	}
}

@media (max-width: 700px) {
	.inventea-userbar .lspd-account-rank-thumb {
		height: 32px;
		width: 32px;
	}

	.lspd-account-trigger__text strong {
		display: none;
	}

	.inventea-userbar .lspd-utility-panel,
	.inventea-userbar .lspd-utility-panel.dropdown-extended {
		left: 10px;
		margin: 0 !important;
		max-height: calc(100vh - 76px);
		position: fixed;
		right: 10px;
		top: 58px;
		width: auto;
	}
}

/* 0.7.6: use a clean column divider instead of a speech-bubble connector. */
.section-viewtopic .post .postbody:before {
	content: none !important;
	display: none !important;
}

.section-viewtopic .post .postprofile {
	border-right: 1px solid var(--lspd-border) !important;
}

/* 0.7.7: integrate Advanced BBCode Box with the flat LSPD editor UI. */
body #abbc3_buttons {
	margin: 14px 0 8px;
}

body #abbc3_buttons .abbc3_buttons_row {
	align-items: center;
	background: var(--lspd-surface-alt) !important;
	background-image: none !important;
	border: 1px solid var(--lspd-border) !important;
	box-shadow: none !important;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	min-height: 42px;
	padding: 5px 6px;
	position: relative;
	width: 100%;
}

body #abbc3_buttons .abbc3_buttons_row + .abbc3_buttons_row {
	border-top: 0 !important;
}

body #abbc3_buttons .abbc3_button {
	background-color: var(--lspd-surface-soft) !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: 18px !important;
	border: 1px solid transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	filter: grayscale(1);
	height: 30px;
	margin: 0;
	min-width: 30px;
	opacity: .78;
	padding: 0;
	transition: background-color .14s ease, border-color .14s ease, filter .14s ease, opacity .14s ease;
}

body #abbc3_buttons .abbc3_button:hover,
body #abbc3_buttons .abbc3_button:focus {
	background-color: var(--item-bg) !important;
	border-color: var(--lspd-border) !important;
	filter: grayscale(0);
	opacity: 1;
}

body #abbc3_buttons select.abbc3_select {
	background: var(--input-bg) !important;
	border: 1px solid var(--lspd-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--input-txt-color) !important;
	height: 30px;
	margin: 0;
	padding: 4px 8px;
}

body #abbc3_buttons .button,
body #abbc3_buttons .button-secondary {
	height: 30px;
	min-height: 30px;
	padding: 4px 8px !important;
}

body #abbc3_buttons .abbc3-more-options {
	position: relative;
}

body #abbc3_buttons .abbc3-more-options > .dropdown {
	left: 0;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-top: 6px;
	right: auto;
	top: 100%;
	z-index: 30;
}

body #abbc3_buttons .abbc3-more-options > .dropdown > .dropdown-contents {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	max-height: 60vh;
	left: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: calc(100vw - 32px) !important;
	min-width: 260px;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 8px;
	width: 320px !important;
}

body #abbc3_buttons .abbc3-more-options > .dropdown > .dropdown-contents > * {
	flex: 0 0 auto;
	margin: 0;
	max-width: 100%;
}

body #abbc3_buttons .abbc3-more-options > .dropdown > .dropdown-contents select {
	max-width: 100%;
}

body #abbc3_buttons .abbc3-more-options .abbc3_font_menu_btn > .dropdown {
	left: 0;
	margin: 0;
	right: auto;
	top: 100%;
	z-index: 40;
}

.rtl body #abbc3_buttons .abbc3-more-options > .dropdown {
	left: auto;
	right: 0;
}

body #abbc3_buttons .lspd-mention-button {
	background: #344957 !important;
	border-color: #344957 !important;
	color: #ffffff !important;
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
}

body #abbc3_buttons .lspd-mention-button:hover,
body #abbc3_buttons .lspd-mention-button:focus {
	background: #173f60 !important;
	border-color: #173f60 !important;
	color: #ffffff !important;
}

body .tribute-container ul {
	background: var(--lspd-surface) !important;
	border: 1px solid var(--lspd-border);
	box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
	color: var(--lspd-ink);
	margin-top: 4px;
	min-width: 220px;
}

body .tribute-container li {
	border-bottom: 1px solid var(--lspd-rule);
	color: var(--lspd-ink);
	font-family: var(--lspd-font-body);
	font-size: 13px;
	padding: 8px 10px;
}

body .tribute-container li:last-child {
	border-bottom: 0;
}

body .tribute-container li.highlight {
	background: var(--lspd-bar) !important;
	color: #ffffff !important;
}

body #bbcode_wizard {
	background: var(--lspd-surface) !important;
	border: 1px solid var(--lspd-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--lspd-ink) !important;
	padding: 16px;
}

@media (max-width: 700px) {
	body #abbc3_buttons .abbc3_buttons_row {
		width: 100%;
	}

	body #abbc3_buttons .abbc3-more-options {
		position: static;
	}

	body #abbc3_buttons .abbc3-more-options > .dropdown {
		left: 6px;
		right: auto;
	}
}

/* 0.7.9: align the utility bar and stack team members as personnel rows. */
@media (min-width: 701px) {
	.inventea-userbar > .inventea-user-menu {
		align-items: center;
		display: flex;
		flex-direction: row-reverse;
		gap: 18px;
		height: 32px;
		margin: 0;
		position: absolute;
		right: 12px;
		top: 50%;
		transform: translateY(-50%);
		width: auto;
	}

	.inventea-userbar > .inventea-user-menu > li,
	ul.linklist.inventea-user-menu > li + li {
		align-items: center;
		display: flex;
		height: 32px;
		margin: 0;
	}

	.inventea-userbar > .inventea-user-menu > li > a,
	.inventea-userbar .header-profile,
	.inventea-userbar .header-avatar {
		align-items: center;
		display: inline-flex;
		min-height: 32px;
	}
}

.lspd-team-members {
	grid-template-columns: minmax(0, 1fr);
}

.lspd-team-member {
	border-bottom: 1px solid var(--lspd-rule);
}

.lspd-team-member:last-child {
	border-bottom: 0;
}

.inventea-sitename {
	padding: 72px 48px 96px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.82);
}

.inventea-sitename h1,
.inventea-sitename a,
.site-description h1,
.site-description h1 a {
	color: #ffffff;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
}

.inventea-sitename span,
.site-description p {
	color: #efefef;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.inventea-sitename span:after,
.site-description p:after {
	color: #ffffff;
	content: "  |  TO PROTECT AND TO SERVE";
}

.inventea-menu li > a {
	background: rgba(0, 0, 0, 0.58);
	color: #ffffff;
	font-weight: 700;
	text-transform: none;
}

.inventea-menu li > a:focus,
.inventea-menu li > a:hover,
.inventea-menu li > a:active {
	background: rgba(5, 41, 66, .95);
	color: #ffffff;
}

#nav-breadcrumbs {
	border-bottom: 1px solid #e2e2e2;
	margin-bottom: 18px;
	padding-bottom: 8px;
}

#nav-breadcrumbs a {
	color: var(--lspd-accent);
}

.forabg,
.forumbg {
	background: #ffffff;
	border: 1px solid #bfc3c7;
	border-radius: 0;
	margin-bottom: 16px;
	overflow: hidden;
}

.forabg .inner,
.forumbg .inner {
	padding: 0;
}

ul.topiclist {
	margin: 0;
}

li.header,
.forabg .header,
.forumbg .header {
	background: var(--lspd-bar);
	border-bottom: 3px solid var(--lspd-accent);
	color: #ffffff;
	text-shadow: none;
}

li.header dl {
	min-height: 31px;
}

li.header a,
li.header dt,
li.header dd {
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.forabg ul.topiclist li.header dt,
.forumbg ul.topiclist li.header dt {
	padding-left: 18px;
}

ul.topiclist.forums {
	background: #ffffff;
	border: 0;
}

ul.topiclist.forums li.row {
	background: #f8f8f8;
	border: 0;
	border-bottom: 1px solid var(--lspd-line);
	color: #333333;
	min-height: 0;
	overflow: visible;
}

ul.topiclist.forums li.row:nth-child(even) {
	background: #eeeeee;
}

ul.topiclist.forums li.row:hover {
	background: #fff7f4;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl {
	align-items: stretch;
	display: flex !important;
	height: auto !important;
	margin: 0 !important;
	min-height: 0;
	overflow: visible !important;
	padding: 0;
	width: 100%;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt,
ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd {
	height: auto !important;
	margin: 0 !important;
	min-height: 0 !important;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon {
	align-items: center;
	background: transparent !important;
	display: flex !important;
	flex: 0 0 58px;
	float: none !important;
	justify-content: center;
	margin: 0 !important;
	padding: 0;
	position: relative;
	width: 58px !important;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon:before {
	background: none;
	color: #3f3f3f;
	font-size: 28px;
	left: auto;
	line-height: 1;
	position: static;
	top: auto;
	transform: none;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon[class*="_unread"]:before {
	color: var(--lspd-accent);
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon[class*="_locked"]:before {
	content: "\f023";
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon.forum_link:before {
	content: "\f0c1";
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon[class*="forum_"]:before {
	content: "\f086";
	font-family: FontAwesome;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-description {
	background: transparent !important;
	color: #333333;
	display: block !important;
	flex: 1 1 auto;
	float: none !important;
	min-width: 0;
	overflow: visible;
	padding: 12px 16px 13px 0;
	width: auto !important;
}

ul.topiclist.forums .lspd-fora-description-inner {
	margin: 0;
	padding: 0 !important;
}

.lspd-forum-title {
	font-size: 13px;
	line-height: 1.2;
	margin: 0 0 5px;
}

a.forumtitle,
a.topictitle,
.forumtitle,
.topictitle {
	color: #242424;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.lspd-forum-desc {
	color: #4e4e4e;
	line-height: 1.45;
	margin: 3px 0 7px;
}

.lspd-forum-moderators {
	color: #4a4a4a;
	display: inline-block;
	margin-top: 3px;
}

.forum-image.lspd-forum-image {
	clear: both;
	display: block;
	float: none !important;
	margin: 10px auto 9px;
	max-width: 590px;
	padding: 0;
	text-align: center;
	width: 100%;
}

.forum-image.lspd-forum-image img {
	border: 1px solid #c8c8c8;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
	display: block;
	height: auto;
	max-width: 100%;
	min-height: 0;
	object-fit: contain;
	width: 100%;
}

.lspd-subforums-list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

.lspd-subforums-list li {
	display: inline-block;
	line-height: 1.5;
	margin: 0;
}

ul.topiclist li.row .lspd-subforums-list a.subforum {
	color: #444444;
	font-weight: 700;
	padding: 0;
}

ul.topiclist li.row .lspd-subforums-list a.subforum:before {
	content: none;
}

.lspd-subforums-list a.subforum.unread,
.lspd-subforums-list a.subforum.unread .icon {
	color: var(--lspd-accent);
}

.lspd-subforums-list .icon {
	color: #777777;
	font-size: 12px;
	margin-right: 3px;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats,
ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
	align-items: center;
	background: rgba(0, 0, 0, 0.035) !important;
	border-left: 1px solid #e1e1e1;
	color: #555555;
	display: flex !important;
	float: none !important;
	justify-content: center;
	padding: 10px 12px;
	text-align: center;
	width: auto !important;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats {
	flex-direction: column;
	flex: 0 0 120px;
	font-size: 11px;
	line-height: 1.45;
}

ul.topiclist.forums dd.lspd-fora-stats .lspd-stat-line {
	display: block;
	white-space: nowrap;
}

ul.topiclist.forums dd.lspd-fora-stats dfn {
	color: #666666;
	clip: auto !important;
	display: inline !important;
	font-style: normal;
	height: auto !important;
	margin: 0 0 0 3px !important;
	overflow: visible !important;
	position: static !important;
	width: auto !important;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
	flex: 0 0 245px;
	justify-content: flex-start;
	text-align: left;
}

dd.lspd-fora-recent span {
	color: #555555;
	line-height: 1.35;
	max-width: 100%;
}

dd.lspd-fora-recent .lastsubject {
	color: var(--lspd-accent);
	font-weight: 700;
}

dd.lspd-fora-recent time,
dd.lspd-fora-recent .lastpost-time {
	color: #666666;
}

.lspd-fora-stats-sm {
	color: #666666;
	float: right;
	font-size: 10px;
	font-weight: 700;
	margin-left: 10px;
	text-transform: uppercase;
}

.row-item-link {
	inset: 0;
}

/* Topic and private-message icons mirror the reference color language locally. */
.row-item[class*="_read"]:before,
.row-item[class*="_unread"]:before,
.forum_link:before,
.topic_moved:before {
	color: #555555;
	font-size: 21px;
	top: 50%;
	transform: translateY(-50%);
}

.row-item[class*="_unread"]:before,
.row-item[class*="announce_unread"]:before,
.row-item[class*="global_unread"]:before,
.row-item[class*="sticky_unread"]:before,
.row-item[class*="topic_unread"]:before {
	color: var(--lspd-accent);
}

.row-item[class*="global_"]:before,
.row-item[class*="announce_"]:before {
	content: "\f0a1";
}

.row-item[class*="sticky_"]:before {
	content: "\f08d";
}

.row-item[class*="topic_"]:before,
.row-item[class*="pm_"]:before {
	content: "\f075";
}

.row-item[class*="_locked"]:before {
	content: "\f023";
}

.row-item.topic_moved:before {
	content: "\f064";
}

.panel,
.post,
.bg1,
.bg2,
.bg3 {
	background-color: #ffffff;
	border-color: #dddddd;
	color: #333333;
}

.postprofile,
.stat-block,
.online-list {
	color: #555555;
}

.content h2,
.panel h2,
.page-title {
	color: #2b2b2b;
}

.button,
.button1,
.button2,
a.button1,
a.button2,
input.button1,
input.button2,
input.button3 {
	border-radius: 2px;
}

.button:hover,
.button1:hover,
.button2:hover,
a.button1:hover,
a.button2:hover,
input.button1:hover,
input.button2:hover,
input.button3:hover {
	border-color: var(--lspd-accent);
	color: var(--lspd-accent);
}

.pagination li.active span,
.pagination li a:hover,
.badge {
	background: var(--lspd-accent);
	border-color: var(--lspd-accent-dark);
}

.copyright_bar,
.inventea-footer-wrapper {
	background: #f1f1f1;
	color: #777777;
}

@media (max-width: 900px) {
	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon {
		flex-basis: 52px;
		width: 52px !important;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
		display: none !important;
	}

	.lspd-fora-stats-sm {
		display: block !important;
	}
}

@media (max-width: 700px) {
	.inventea-wrapper,
	.inventea-dashboard,
	.inventea-footer {
		width: 100%;
	}

	.inventea-dashboard {
		min-height: 176px;
	}

	.inventea-sitename {
		padding: 46px 24px 70px;
	}

	.inventea-sitename h1,
	.inventea-sitename a,
	.site-description h1,
	.site-description h1 a {
		font-size: 25px;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon {
		flex-basis: 46px;
		width: 46px !important;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats {
		display: none !important;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-description {
		padding-right: 12px;
	}

	.forum-image.lspd-forum-image {
		max-width: 100%;
	}
}

/* Reference-aligned LSPD pass. Keep this late so it wins over we_universal. */
:root,
html[data-theme="light"] {
	--row-bg: #ffffff;
	--forabg-list: #ffffff;
	--topiclist: #e8e8e8;
	--forabg: #303134;
	--dropdown-extended-header: #ffffff;
	--inventea-header: #303134;
	--inventea-userbar: #ffffff;
	--inventea-footer: #eeeeee;
	--content-color: #1e1e1e;
	--bg-web-color: #d7dbe0;
	--color-1: #ffffff;
	--color-2: #303134;
	--color-3: #1e1e1e;
	--text-color-1: #1e1e1e;
	--text-color-2: #333333;
	--text-color-3: #111111;
	--text-color-4: #666666;
	--text-color-5: #ffffff;
	--links-color: #1e1e1e;
	--links-color-hover-focus: #1976d2;
	--h2-color: #1e1e1e;
	--bg1-color: #ffffff;
	--bg2-color: #e8e8e8;
	--bg3-color: #eeeeee;
	--bg4-color: #f8f8f8;
	--bg5-color: #dddddd;
	--input-bg: #ffffff;
	--input-txt-color: #1e1e1e;
	--border-color-1: #aaaaaa;
	--border-color-2: #303134;
	--border-color-3: #cccccc;
	--button-bg: #303134;
	--shadowcolor: rgba(0, 0, 0, .18);
	--lspd-accent: #1976d2;
	--lspd-accent-dark: #0f2940;
	--lspd-wrap-bg: #eeeeee;
	--lspd-main-bg: #ffffff;
	--lspd-row-alt: #e8e8e8;
	--lspd-sub-header-bg: #303134;
	--lspd-border: #aaaaaa;
	--lspd-font-body: "Lato", "Open Sans", Arial, Helvetica, sans-serif;
	--lspd-font-ui: "Public Sans", "Lato", Arial, Helvetica, sans-serif;
	--lspd-font-formal: "EB Garamond", "Times New Roman", Times, serif;
}

html[data-theme="dark"] {
	--row-bg: #25282b;
	--forabg-list: #202326;
	--topiclist: #292d31;
	--forabg: #111416;
	--dropdown-extended-header: #1d2023;
	--inventea-header: #111416;
	--inventea-userbar: #181b1e;
	--inventea-footer: #111416;
	--content-color: #f2f2f2;
	--bg-web-color: #111416;
	--color-1: #202326;
	--color-2: #303134;
	--color-3: #ffffff;
	--text-color-1: #f2f2f2;
	--text-color-2: #dadada;
	--text-color-3: #ffffff;
	--text-color-4: #b5b5b5;
	--text-color-5: #ffffff;
	--links-color: #f2f2f2;
	--links-color-hover-focus: #7bbcff;
	--h2-color: #ffffff;
	--bg1-color: #25282b;
	--bg2-color: #202326;
	--bg3-color: #181b1e;
	--bg4-color: #2b3034;
	--bg5-color: #343a3f;
	--input-bg: #181b1e;
	--input-txt-color: #f2f2f2;
	--border-color-1: #4a4f55;
	--border-color-2: #0f1113;
	--border-color-3: #3b4046;
	--button-bg: #303134;
	--shadowcolor: rgba(0, 0, 0, .36);
	--lspd-accent: #7bbcff;
	--lspd-accent-dark: #1976d2;
	--lspd-wrap-bg: #181b1e;
	--lspd-main-bg: #202326;
	--lspd-row-alt: #25282b;
	--lspd-sub-header-bg: #303134;
	--lspd-border: #4a4f55;
}

html,
body {
	background: var(--bg-web-color) !important;
	color: var(--content-color);
	font-family: var(--lspd-font-body);
	font-size: 12px;
}

input,
button,
select,
textarea,
.button,
.button1,
.button2,
.pagination,
.inventea-menu,
.inventea-userbar,
li.header,
dd.lspd-fora-stats,
dd.lspd-fora-recent {
	font-family: var(--lspd-font-ui);
}

body {
	font-family: var(--lspd-font-body);
}

.postbody,
.content,
.lspd-forum-desc,
.lspd-forum-title,
a.forumtitle,
a.topictitle {
	font-family: var(--lspd-font-body);
}

.rules strong,
.panel h2,
.postbody h3,
.content h2,
.page-title {
	font-family: var(--lspd-font-formal);
	font-weight: 800;
}

#wrap.wrap {
	margin: 0;
	max-width: none;
	padding: 0 18px 18px;
}

.inventea-wrapper,
.inventea-dashboard,
.inventea-footer {
	max-width: 1200px;
	width: 100%;
}

.inventea-wrapper {
	background: var(--lspd-wrap-bg);
	border: 0;
	border-radius: 2px;
	box-shadow: 0 0 30px rgba(0, 0, 0, .24);
	margin-left: auto;
	margin-right: auto;
}

.inventea-content {
	background: var(--lspd-wrap-bg);
	padding: 14px 18px 24px;
}

.inventea-header {
	background: transparent;
}

.inventea-userbar {
	background: var(--inventea-userbar);
	box-shadow: 0 1px 0 var(--lspd-border);
	height: 36px;
	line-height: 18px;
	margin-top: 18px;
	padding: 8px 12px 0;
}

.inventea-dashboard {
	border-radius: 2px 2px 0 0;
	box-shadow: 0 0 30px rgba(0, 0, 0, .24);
	margin-left: auto;
	margin-right: auto;
	min-height: 268px;
}

.inventea-sitename {
	padding: 84px 36px 102px;
}

.inventea-sitename h1,
.inventea-sitename a,
.site-description h1,
.site-description h1 a {
	font-family: var(--lspd-font-ui);
	font-size: 31px;
	font-weight: 800;
	letter-spacing: 0;
}

.inventea-sitename span,
.site-description p {
	font-family: var(--lspd-font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
}

.inventea-menu li > a {
	background: rgba(5, 41, 66, .6);
	border-radius: 0;
	font-size: 11px;
	font-weight: 600;
	padding: 9px 12px;
}

.inventea-menu li > a:hover,
.inventea-menu li > a:focus {
	background: #052942;
}

#nav-breadcrumbs {
	border-bottom: 1px solid var(--lspd-border);
	margin: 0 0 13px;
	padding: 0 0 8px;
}

a,
a:visited,
#nav-breadcrumbs a,
.tabs .tab > a,
.navigation a,
a.forumtitle:hover,
a.topictitle:hover {
	color: var(--lspd-accent);
}

.forabg,
.forumbg {
	background: var(--lspd-main-bg);
	border: 1px solid var(--lspd-border);
	border-radius: 2px;
	box-shadow: none;
	margin-bottom: 14px;
}

li.header,
.forabg .header,
.forumbg .header {
	background: var(--lspd-sub-header-bg);
	border-bottom: 0;
}

li.header dl,
li.header dl.row-item {
	align-items: center;
	display: flex;
	min-height: 34px;
	padding: 0;
}

li.header dt {
	flex: 1 1 auto !important;
	width: auto !important;
}

li.header dd.topics {
	flex: 0 0 120px !important;
	text-align: center;
	width: 120px !important;
}

li.header dd.lastpost {
	flex: 0 0 245px !important;
	text-align: center;
	width: 245px !important;
}

li.header a,
li.header dt,
li.header dd {
	color: #ffffff;
	font-family: var(--lspd-font-ui);
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

ul.topiclist.forums li.row,
ul.topiclist.topics li.row {
	background: var(--lspd-main-bg);
	border-bottom: 1px solid var(--lspd-border);
	color: var(--content-color);
}

ul.topiclist.forums li.row:nth-child(even),
ul.topiclist.topics li.row:nth-child(even) {
	background: var(--lspd-row-alt);
}

ul.topiclist.forums li.row:hover,
ul.topiclist.topics li.row:hover {
	background: rgba(25, 118, 210, .08);
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon {
	flex: 0 0 54px;
	width: 54px !important;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon:before,
dt.row-item.lspd-fora-icon:before {
	background-image: url("./images/lspd/icons/forum_read.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 30px 30px;
	content: "" !important;
	display: block;
	font-family: inherit;
	height: 34px;
	width: 34px;
}

dt.lspd-fora-icon.forum_unread:before,
dt.lspd-fora-icon.forum_unread_subforum:before {
	background-image: url("./images/lspd/icons/forum_unread.png") !important;
}

dt.lspd-fora-icon.forum_unread_locked:before {
	background-image: url("./images/lspd/icons/forum_unread_locked.png") !important;
}

dt.lspd-fora-icon.forum_read:before,
dt.lspd-fora-icon.forum_read_subforum:before {
	background-image: url("./images/lspd/icons/forum_read.png") !important;
}

dt.lspd-fora-icon.forum_read_locked:before {
	background-image: url("./images/lspd/icons/forum_read_locked.png") !important;
}

dt.lspd-fora-icon.forum_link:before {
	background-image: url("./images/lspd/icons/fora-icon.forum_link.png") !important;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-description {
	padding: 11px 15px 12px 0;
}

a.forumtitle,
a.topictitle,
.forumtitle,
.topictitle {
	color: var(--text-color-1);
	font-size: 13px;
	font-weight: 800;
}

.lspd-forum-desc,
dd.lspd-fora-recent span,
dd.lastpost,
dd.posts,
dd.topics,
.postprofile,
.stat-block,
.online-list {
	color: var(--text-color-4);
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats,
ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
	background: rgba(0, 0, 0, .035) !important;
	border-left: 1px solid var(--lspd-border);
}

html[data-theme="dark"] ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats,
html[data-theme="dark"] ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
	background: rgba(255, 255, 255, .04) !important;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats {
	flex-basis: 120px;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
	flex-basis: 245px;
}

.forum-image.lspd-forum-image {
	margin: 9px 0 8px;
	max-width: 650px;
}

.forum-image.lspd-forum-image img {
	border: 1px solid var(--lspd-border);
	border-radius: 0;
	box-shadow: none;
}

.row-item[class*="_read"]:before,
.row-item[class*="_unread"]:before,
.forum_link:before,
.topic_moved:before,
.sticky_read:before,
.sticky_unread:before,
.global_read:before,
.global_unread:before {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 28px 28px;
	color: transparent !important;
	content: "" !important;
	font-family: inherit !important;
	height: 32px;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
}

.row-item.topic_unread:before,
.row-item.topic_unread_hot:before { background-image: url("./images/lspd/icons/topic-icon.topic_unread.png") !important; }
.row-item.topic_unread_locked:before { background-image: url("./images/lspd/icons/topic-icon.topic_unread_locked.png") !important; }
.row-item.topic_unread_mine:before,
.row-item.topic_unread_hot_mine:before { background-image: url("./images/lspd/icons/topic-icon.topic_unread_mine.png") !important; }
.row-item.topic_unread_locked_mine:before { background-image: url("./images/lspd/icons/topic-icon.topic_unread_locked_mine.png") !important; }
.row-item.topic_read:before,
.row-item.topic_read_hot:before { background-image: url("./images/lspd/icons/topic-icon.topic_read.png") !important; }
.row-item.topic_read_locked:before { background-image: url("./images/lspd/icons/topic-icon.topic_read_locked.png") !important; }
.row-item.topic_read_mine:before,
.row-item.topic_read_hot_mine:before { background-image: url("./images/lspd/icons/topic-icon.topic_read_mine.png") !important; }
.row-item.topic_read_locked_mine:before { background-image: url("./images/lspd/icons/topic-icon.topic_read_locked_mine.png") !important; }
.row-item.sticky_unread:before { background-image: url("./images/lspd/icons/topic-icon.sticky_unread.png") !important; }
.row-item.sticky_unread_locked:before { background-image: url("./images/lspd/icons/topic-icon.sticky_unread_locked.png") !important; }
.row-item.sticky_unread_mine:before { background-image: url("./images/lspd/icons/topic-icon.sticky_unread_mine.png") !important; }
.row-item.sticky_unread_locked_mine:before { background-image: url("./images/lspd/icons/topic-icon.topic_unread_locked_mine.png") !important; }
.row-item.sticky_read:before { background-image: url("./images/lspd/icons/topic-icon.sticky_read.png") !important; }
.row-item.sticky_read_locked:before { background-image: url("./images/lspd/icons/topic-icon.sticky_read_locked.png") !important; }
.row-item.sticky_read_mine:before { background-image: url("./images/lspd/icons/topic-icon.sticky_read_mine.png") !important; }
.row-item.sticky_read_locked_mine:before { background-image: url("./images/lspd/icons/topic-icon.sticky_read_locked_mine.png") !important; }
.row-item.topic_moved:before,
.row-item.sticky_moved:before,
.row-item.topic_moved_locked:before,
.row-item.sticky_moved_locked:before { background-image: url("./images/lspd/icons/topic-icon.topic_moved.png") !important; }
.row-item.global_unread:before { background-image: url("./images/lspd/icons/topic-icon.global_unread.png") !important; }
.row-item.global_unread_locked:before { background-image: url("./images/lspd/icons/topic-icon.global_unread_locked.png") !important; }
.row-item.global_unread_mine:before { background-image: url("./images/lspd/icons/topic-icon.global_unread_mine.png") !important; }
.row-item.global_unread_locked_mine:before { background-image: url("./images/lspd/icons/topic-icon.global_unread_locked_mine.png") !important; }
.row-item.global_read:before { background-image: url("./images/lspd/icons/topic-icon.global_read.png") !important; }
.row-item.global_read_locked:before { background-image: url("./images/lspd/icons/topic-icon.global_read_locked.png") !important; }
.row-item.global_read_mine:before { background-image: url("./images/lspd/icons/topic-icon.global_read_mine.png") !important; }
.row-item.global_read_locked_mine:before { background-image: url("./images/lspd/icons/topic-icon.global_read_locked_mine.png") !important; }
.row-item.global_moved:before,
.row-item.global_moved_locked:before { background-image: url("./images/lspd/icons/topic-icon.global_moved.png") !important; }

.action-bar {
	margin: 12px 0;
}

.button,
.button1,
.button2,
a.button1,
a.button2,
input.button1,
input.button2,
input.button3,
.dropdown-select {
	background: #f5f5f5;
	border: 1px solid var(--lspd-border);
	border-radius: 2px !important;
	box-shadow: none;
	color: var(--text-color-1);
	font-family: var(--lspd-font-ui);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 18px;
	padding: 5px 10px;
	text-shadow: none;
	text-transform: uppercase;
}

.button1,
a.button1,
input.button1,
.buttons .button-icon-only,
.button.button-icon-only {
	background: var(--lspd-sub-header-bg);
	border-color: var(--lspd-sub-header-bg);
	color: #ffffff;
}

.button:hover,
.button1:hover,
.button2:hover,
a.button1:hover,
a.button2:hover,
input.button1:hover,
input.button2:hover,
input.button3:hover,
.dropdown-select:hover {
	background: var(--lspd-accent);
	border-color: var(--lspd-accent-dark);
	color: #ffffff;
	text-decoration: none;
}

input.inputbox,
textarea.inputbox,
select {
	background: var(--input-bg);
	border: 1px solid var(--lspd-border);
	border-radius: 2px;
	color: var(--input-txt-color);
	font-family: var(--lspd-font-body);
}

.panel,
.post,
.bg1,
.bg2,
.bg3,
.cp-main .panel {
	background: var(--lspd-main-bg);
	border-color: var(--lspd-border);
	border-radius: 2px;
	color: var(--content-color);
}

.tabs .tab > a,
.minitabs .tab > a,
.navigation a {
	background: var(--lspd-row-alt);
	border-radius: 2px 2px 0 0;
	box-shadow: none;
	font-family: var(--lspd-font-ui);
}

.tabs .activetab > a,
.tabs .activetab > a:hover,
.navigation .active-subsection a {
	background: var(--lspd-sub-header-bg);
	color: #ffffff;
}

.lspd-section-header-inner {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	position: relative;
	padding-right: 8px;
	width: 100%;
}

.lspd-section-title {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lspd-section-toggle {
	display: inline-flex;
	flex: 0 0 auto;
	gap: 3px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	transition: opacity .14s ease-in-out;
}

.forabg li.header:hover .lspd-section-toggle,
.forabg li.header:focus-within .lspd-section-toggle {
	opacity: 1;
	pointer-events: auto;
}

.lspd-layout-button {
	align-items: center;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 2px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	height: 22px;
	justify-content: center;
	padding: 0;
	width: 25px;
}

.lspd-layout-button:hover,
.lspd-layout-button:focus,
.lspd-layout-button.is-active {
	background: rgba(255, 255, 255, .2);
	border-color: rgba(255, 255, 255, .38);
	color: #ffffff;
}

.lspd-fora-section.lspd-section-grid ul.topiclist.forums {
	background: var(--lspd-main-bg);
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.lspd-fora-section.lspd-section-grid li.lspd-fora-row {
	border-bottom: 0;
	min-height: 100%;
}

.lspd-fora-section.lspd-section-grid li.lspd-fora-row > dl.lspd-fora-row-dl {
	display: grid !important;
	grid-template-columns: 48px minmax(0, 1fr);
	grid-template-rows: auto auto;
	height: 100% !important;
}

.lspd-fora-section.lspd-section-grid dt.lspd-fora-icon {
	grid-column: 1;
	grid-row: 1 / 3;
	width: 48px !important;
}

.lspd-fora-section.lspd-section-grid dd.lspd-fora-description {
	grid-column: 2;
	grid-row: 1;
	padding: 13px 13px 10px 0 !important;
}

.lspd-fora-section.lspd-section-grid dd.lspd-fora-stats,
.lspd-fora-section.lspd-section-grid dd.lspd-fora-recent {
	border-left: 0 !important;
	border-top: 1px solid var(--lspd-border);
	font-size: 10px;
	min-height: 0 !important;
	padding: 8px 10px !important;
}

.lspd-fora-section.lspd-section-grid dd.lspd-fora-stats {
	align-items: flex-start !important;
	flex-direction: row !important;
	gap: 8px;
	grid-column: 2;
	grid-row: 2;
	justify-content: flex-start !important;
}

.lspd-fora-section.lspd-section-grid dd.lspd-fora-recent {
	display: none !important;
}

.lspd-fora-section.lspd-section-grid .forum-image.lspd-forum-image {
	max-width: 100%;
}

.lspd-login-shell {
	animation: lspdLoginIn 420ms ease-out both;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) 310px;
	margin: 10px auto 20px;
	max-width: 980px;
}

.lspd-login-shell-admin {
	grid-template-columns: minmax(0, 1fr);
	max-width: 660px;
}

.lspd-login-panel,
.lspd-login-register {
	background: var(--lspd-main-bg);
	border: 1px solid var(--lspd-border);
	border-radius: 2px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}

.lspd-login-panel {
	display: grid;
	grid-template-columns: minmax(220px, .85fr) minmax(280px, 1fr);
	overflow: hidden;
}

.lspd-login-copy {
	background:
		linear-gradient(135deg, rgba(5, 41, 66, .92), rgba(48, 49, 52, .86)),
		url("./images/lspd/banners/banner-04-command.png") center center / cover no-repeat;
	color: #ffffff;
	min-height: 320px;
	padding: 34px 28px;
}

.lspd-login-kicker {
	color: #ffffff;
	display: block;
	font-family: var(--lspd-font-ui);
	font-size: 10px;
	font-weight: 800;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.lspd-login-copy .login-title {
	color: #ffffff;
	font-family: var(--lspd-font-ui);
	font-size: 26px;
	line-height: 1.05;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.lspd-login-copy p {
	color: rgba(255, 255, 255, .86);
	font-size: 13px;
	line-height: 1.55;
	margin: 0;
}

.lspd-login-form {
	padding: 30px 30px 26px;
}

.lspd-login-form fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.lspd-login-form dl {
	margin: 0 0 15px;
}

.lspd-login-form dt {
	float: none;
	margin: 0 0 5px;
	text-align: left;
	width: auto;
}

.lspd-login-form dd {
	margin: 0;
}

.lspd-login-form label,
.lspd-login-options {
	color: var(--text-color-2);
	font-family: var(--lspd-font-ui);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.lspd-login-form .inputbox {
	box-sizing: border-box;
	font-size: 14px;
	height: 38px;
	width: 100% !important;
}

.lspd-login-help {
	font-size: 11px;
	margin-top: 7px !important;
}

.lspd-login-options {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 3px 0 18px;
	text-transform: none;
}

.lspd-login-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lspd-login-register {
	align-self: stretch;
	padding: 28px;
}

.lspd-login-register h3 {
	color: var(--text-color-1);
	font-family: var(--lspd-font-formal);
	font-size: 26px;
	margin: 0 0 8px;
}

.lspd-login-register p {
	color: var(--text-color-4);
	line-height: 1.5;
}

@keyframes lspdLoginIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Home forum list mapped closely to the supplied LSPD reference. */
html,
body {
	background: #0f212b !important;
}

body {
	padding: 0 18px !important;
}

#wrap.wrap {
	border-radius: 2px;
	box-shadow: 0 0 30px rgba(0, 0, 0, .24);
	margin: 18px auto;
	max-width: 1200px;
	padding: 0;
}

.inventea-wrapper,
.inventea-dashboard,
.inventea-footer {
	max-width: 1200px;
}

.inventea-userbar {
	box-shadow: none;
	margin-top: 0;
}

.inventea-dashboard {
	box-shadow: none;
}

.inventea-content {
	background: #ffffff;
	padding: 0 36px 24px;
}

#nav-breadcrumbs {
	margin-top: 18px;
}

.forabg {
	background: #eeeeee;
	border-color: #aaaaaa;
	box-shadow: 0 0 6px rgba(0, 0, 0, .03);
	margin-bottom: 18px;
}

.forabg ul.topiclist:first-child {
	background: transparent;
}

.forabg li.header,
.forabg .header {
	background: #0f2940;
	border: 0;
	border-radius: 2px 2px 0 0;
	display: block;
	min-height: 0;
}

.forabg li.header dl,
.forabg li.header dl.row-item {
	display: block;
	min-height: 0;
}

.forabg li.header dt {
	display: block;
	width: 100% !important;
}

.forabg li.header dt .list-inner {
	align-items: center;
	display: flex;
	font-size: 13px;
	line-height: 21px;
	padding: 10px 18px 12px !important;
	width: 100%;
}

.forabg li.header dd.topics,
.forabg li.header dd.lastpost {
	display: none !important;
}

.forabg li.header a,
.forabg li.header dt,
.forabg li.header dd {
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	text-transform: none;
}

.lspd-section-toggle {
	margin-left: auto;
}

ul.topiclist.forums {
	background: #eeeeee;
}

ul.topiclist.forums li.row,
ul.topiclist.forums li.row:nth-child(even),
ul.topiclist.forums li.row:hover {
	background: #eeeeee !important;
	border: 0;
}

ul.topiclist.forums li.lspd-fora-row {
	position: relative;
}

ul.topiclist.forums li.lspd-fora-row:after {
	background: #aaaaaa;
	content: "";
	display: block;
	height: 1px;
	margin: 0 18px 0 70px;
}

ul.topiclist.forums li.lspd-fora-row:last-child:after {
	display: none;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl {
	align-items: stretch;
	display: flex !important;
	min-height: 88px;
	padding: 0;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon {
	flex: 0 0 72px;
	width: 72px !important;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon:before,
dt.row-item.lspd-fora-icon:before {
	background-size: 32px 32px;
	height: 36px;
	width: 36px;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-description {
	background: transparent !important;
	flex: 1 1 auto;
	padding: 13px 18px !important;
}

.lspd-forum-title {
	font-size: 13px;
	line-height: 21px;
	margin: 0 0 5px;
}

a.forumtitle,
.forumtitle {
	color: #1e1e1e;
	font-size: 13px;
	font-weight: 800;
}

a.forumtitle:hover {
	color: #1976d2;
}

.lspd-forum-desc {
	color: #000000;
	font-size: 13px;
	line-height: 21px;
	margin: 0 0 9px;
}

.forum-image.lspd-forum-image {
	display: block;
	margin: 10px auto 13px;
	max-width: 590px;
	text-align: center;
	width: auto;
}

.forum-image.lspd-forum-image img {
	border: 0;
	box-shadow: none;
	display: inline-block;
	height: 60px;
	max-width: 590px;
	object-fit: contain;
	width: auto;
}

.lspd-forum-moderators,
.lspd-forum-moderators + a,
.lspd-forum-moderators ~ a {
	font-size: 13px;
	font-weight: 600;
}

.lspd-subforums-list {
	font-size: 12px;
	line-height: 19px;
	margin-top: 7px;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats,
ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
	align-items: flex-start;
	background: transparent !important;
	border-left: 0;
	color: #000000;
	display: block !important;
	flex: 0 0 auto;
	justify-content: flex-start;
	min-height: 0 !important;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats {
	font-size: 13px;
	line-height: 21px;
	padding: 23px 0;
	text-align: right;
	width: 120px !important;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
	font-size: 12px;
	line-height: 18px;
	padding: 17px 18px;
	text-align: left;
	width: 250px !important;
}

ul.topiclist.forums dd.lspd-fora-stats .lspd-stat-line,
ul.topiclist.forums dd.lspd-fora-stats dfn {
	color: #000000;
	font-size: inherit;
	font-weight: 400;
}

dd.lspd-fora-recent span,
dd.lspd-fora-recent time,
dd.lspd-fora-recent .lastpost-time {
	color: #000000;
}

dd.lspd-fora-recent .lastsubject {
	color: #1e1e1e;
	font-weight: 800;
}

dd.lspd-fora-recent .lastsubject:hover {
	color: #1976d2;
}

dd.lspd-fora-recent a.username,
dd.lspd-fora-recent a.username-coloured {
	font-weight: 800;
}

/* Uniform polish pass for inherited phpBB surfaces: PMs, posting, MCP/UCP. */
:root,
html[data-theme="light"] {
	--lspd-accent: #1976d2;
	--lspd-accent-dark: #0f2940;
	--links-color-hover-focus: #1976d2;
	--button-bg: #0f2940;
}

html[data-theme="dark"] {
	--lspd-accent: #7bbcff;
	--lspd-accent-dark: #1976d2;
	--links-color-hover-focus: #7bbcff;
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body,
.content,
.postbody,
.panel,
.forabg,
.forumbg,
.cp-main,
#cp-main,
#message-box,
.dropdown,
.dropdown-contents {
	font-family: var(--lspd-font-body) !important;
	letter-spacing: 0;
}

body {
	font-size: 13px;
	line-height: 1.5;
}

.inventea-sitename h1,
.inventea-sitename h1 a,
.inventea-sitename a,
.inventea-sitename a:visited,
.inventea-sitename a:hover,
.inventea-sitename span,
.inventea-sitename span:after,
.site-description h1,
.site-description h1 a,
.site-description p,
.site-description p:after {
	color: #ffffff !important;
	text-decoration: none !important;
}

.inventea-sitename h1,
.inventea-sitename h1 a,
.inventea-sitename a,
.page-title,
.content h2,
.panel h2,
.postbody h3,
.lspd-login-copy .login-title {
	font-family: var(--lspd-font-body) !important;
	letter-spacing: 0;
}

.page-title,
.content h2,
.panel h2 {
	font-weight: 600;
}

.inventea-dashboard:after {
	background: #0f2940;
	height: 3px;
}

a,
a:visited {
	color: #1e1e1e;
}

a:hover,
a:focus,
a.topictitle:hover,
a.forumtitle:hover,
#nav-breadcrumbs a,
#nav-breadcrumbs a:hover {
	color: #1976d2;
}

.lastsubject,
dd.lspd-fora-recent .lastsubject {
	color: #1e1e1e;
}

.lastsubject:hover,
dd.lspd-fora-recent .lastsubject:hover {
	color: #1976d2;
}

.button,
.button1,
.button2,
.button3,
a.button,
a.button1,
a.button2,
input.button,
input.button1,
input.button2,
input.button3,
button.button,
.dropdown-select,
.button-secondary,
#format-buttons .button,
#format-buttons button,
#format-buttons input,
.post-buttons .button,
.quickmod .button,
fieldset.submit-buttons input,
fieldset.display-actions input[type="submit"] {
	background: #eeeeee !important;
	background-image: none !important;
	border: 1px solid #9ca3af !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #111827 !important;
	font-family: var(--lspd-font-body) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 18px;
	min-height: 30px;
	padding: 5px 10px;
	text-shadow: none !important;
	text-transform: none;
	transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}

.button1,
a.button1,
input.button1,
.default-submit-action,
a.button[href*="posting.php"],
.buttons a.button {
	background: #0f2940 !important;
	border-color: #0f2940 !important;
	color: #ffffff !important;
}

.button:hover,
.button1:hover,
.button2:hover,
.button3:hover,
a.button:hover,
a.button1:hover,
a.button2:hover,
input.button:hover,
input.button1:hover,
input.button2:hover,
input.button3:hover,
button.button:hover,
.dropdown-select:hover,
.button-secondary:hover,
#format-buttons .button:hover,
#format-buttons button:hover,
#format-buttons input:hover,
.post-buttons .button:hover,
.quickmod .button:hover,
fieldset.submit-buttons input:hover,
fieldset.display-actions input[type="submit"]:hover {
	background: #1976d2 !important;
	border-color: #1976d2 !important;
	color: #ffffff !important;
}

.button-icon-only {
	align-items: center;
	display: inline-flex;
	height: 30px;
	justify-content: center;
	min-width: 30px;
	padding: 0 !important;
	width: 30px;
}

#format-buttons {
	background: #e8e8e8;
	border: 1px solid #aaaaaa;
	border-bottom: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 10px 0 0;
	padding: 8px;
}

#format-buttons select,
.bbcode-size {
	background: #ffffff;
	border: 1px solid #9ca3af;
	border-radius: 0;
	color: #111827;
	height: 30px;
	padding: 4px 8px;
}

#message-box,
.message-box {
	background: #ffffff;
	border: 1px solid #aaaaaa;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	padding: 0;
}

#message-box textarea,
.message-box textarea,
textarea.inputbox {
	background: #ffffff;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #111827;
	font-family: var(--lspd-font-body);
	font-size: 14px;
	line-height: 1.55;
	padding: 12px;
}

input.inputbox,
select,
textarea,
.inputbox {
	border-radius: 0 !important;
	box-shadow: none !important;
	letter-spacing: 0;
}

.panel,
.post,
.postbody,
.quickreply-box,
.cp-list,
ul.topiclist.cplist,
ul.topiclist.pmlist,
.dropdown-contents,
.dropdown {
	border-color: #aaaaaa !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

#tabs .tab > a,
.tabs .tab > a,
.minitabs .tab > a,
.navigation a {
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: var(--lspd-font-body) !important;
}

#tabs .activetab > a,
.tabs .activetab > a,
.navigation .active-subsection a {
	background: #0f2940 !important;
	color: #ffffff !important;
}

ul.topiclist.cplist,
ul.topiclist.pmlist {
	background: #eeeeee;
}

ul.topiclist.cplist li.header,
ul.topiclist.two-columns li.header,
.cp-list h3,
.cp-main h2,
#cp-main h2 {
	background: #0f2940;
	color: #ffffff;
}

ul.topiclist.cplist li.row,
ul.topiclist.pmlist li.row {
	background: #eeeeee;
	border-color: #aaaaaa;
}

ul.topiclist.cplist li.row:nth-child(even),
ul.topiclist.pmlist li.row:nth-child(even) {
	background: #e8e8e8;
}

ul.topiclist.cplist li.row:hover,
ul.topiclist.pmlist li.row:hover {
	background: rgba(25, 118, 210, .08) !important;
}

.row-item.pm_read:before,
.row-item.pm_replied:before,
.row-item.pm_marked:before,
.row-item.pm_friend:before {
	background-image: url("./images/lspd/icons/topic-icon.topic_read.png") !important;
}

.row-item.pm_unread:before {
	background-image: url("./images/lspd/icons/topic-icon.topic_unread.png") !important;
}

.row-item.pm_foe:before,
.row-item.pm_message_reported:before {
	background-image: url("./images/lspd/icons/topic-icon.topic_unread_locked.png") !important;
}

.post-buttons {
	display: flex;
	gap: 4px;
}

.post-buttons .button {
	opacity: .88;
}

.post-buttons .button:hover {
	opacity: 1;
}

.pagination li a,
.pagination li span {
	border-radius: 0 !important;
	box-shadow: none !important;
}

.pagination li.active span,
.pagination li a:hover,
.badge {
	background: #0f2940 !important;
	border-color: #0f2940 !important;
	color: #ffffff !important;
}

.inventea-dashboard,
.inventea-menu,
.inventea-menu li > a {
	border-bottom-color: #0f2940 !important;
}

.inventea-dashboard:after {
	background: #0f2940 !important;
}

input.default-submit-action,
fieldset.submit-buttons input[name="post"],
fieldset.submit-buttons input[name="preview"],
fieldset.submit-buttons input[name="message"],
fieldset.submit-buttons input[name="login"],
fieldset.submit-buttons input[name="submit"],
.lspd-login-actions .button1 {
	background: #0f2940 !important;
	border-color: #0f2940 !important;
	color: #ffffff !important;
}

fieldset.submit-buttons input[name="save"],
fieldset.submit-buttons input[name="load"],
fieldset.submit-buttons input[name="cancel"],
input[type="reset"].button2 {
	background: #eeeeee !important;
	border-color: #9ca3af !important;
	color: #111827 !important;
}

.inventea-content {
	animation: lspdPageEnter 180ms ease-out both;
}

body.lspd-page-leaving .inventea-content {
	opacity: 0;
	transform: translateY(3px);
	transition: opacity 120ms ease, transform 120ms ease;
}

@keyframes lspdPageEnter {
	from {
		opacity: .82;
		transform: translateY(3px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.inventea-content,
	body.lspd-page-leaving .inventea-content {
		animation: none;
		transition: none;
	}
}

@media (max-width: 700px) {
	#wrap.wrap {
		padding: 0 8px 12px;
	}

	.inventea-userbar {
		margin-top: 8px;
	}

	.inventea-content {
		padding: 10px 8px 18px;
	}

	.inventea-dashboard {
		min-height: 190px;
	}

	li.header dd.topics,
	li.header dd.lastpost {
		display: none;
	}

	.lspd-section-toggle {
		display: none;
	}

	.lspd-login-shell,
	.lspd-login-panel {
		grid-template-columns: 1fr;
	}

	.lspd-login-copy {
		min-height: 180px;
	}
}

/* 0.3: unified application surfaces, complete dark mode, and responsive QA. */
:root,
html[data-theme="light"] {
	--lspd-page: #0f212b;
	--lspd-surface: #ffffff;
	--lspd-surface-soft: #eeeeee;
	--lspd-surface-alt: #e7e7e7;
	--lspd-ink: #171717;
	--lspd-muted: #555b61;
	--lspd-border: #b8bec4;
	--lspd-rule: #c8cdd1;
	--lspd-bar: #0f2940;
	--lspd-accent: #0f2940;
	--links-color: #171717;
	--links-color-hover-focus: #0f2940;
	--content-color: #171717;
	--bg-web-color: #ffffff;
	--color-1: #ffffff;
	--color-2: #555b61;
	--color-3: #171717;
	--text-color-1: #171717;
	--text-color-2: #292d31;
	--text-color-3: #111111;
	--text-color-4: #62686e;
	--text-color-5: #ffffff;
	--h2-color: #202020;
	--row-bg: #eeeeee;
	--forabg-list: #eeeeee;
	--topiclist: #eeeeee;
	--forabg: #0f2940;
	--bg1-color: #ffffff;
	--bg2-color: #eeeeee;
	--bg3-color: #e7e7e7;
	--bg4-color: #f5f5f5;
	--bg5-color: #dddddd;
	--input-bg: #ffffff;
	--input-txt-color: #171717;
	--border-color-1: #b8bec4;
	--border-color-2: #0f2940;
	--border-color-3: #c8cdd1;
	--button-bg: #eeeeee;
	--item-bg: rgba(15, 41, 64, .07);
	--shadowcolor: transparent;
}

html[data-theme="dark"] {
	color-scheme: dark;
	--lspd-page: #091821;
	--lspd-surface: #171b1f;
	--lspd-surface-soft: #20252a;
	--lspd-surface-alt: #272d32;
	--lspd-ink: #f5f7f8;
	--lspd-muted: #c3c9ce;
	--lspd-border: #46515a;
	--lspd-rule: #3b454d;
	--lspd-bar: #0f2940;
	--lspd-accent: #ffffff;
	--links-color: #f5f7f8;
	--links-color-hover-focus: #ffffff;
	--content-color: #f5f7f8;
	--bg-web-color: #171b1f;
	--color-1: #171b1f;
	--color-2: #c3c9ce;
	--color-3: #f5f7f8;
	--text-color-1: #f5f7f8;
	--text-color-2: #e6e9eb;
	--text-color-3: #ffffff;
	--text-color-4: #c3c9ce;
	--text-color-5: #ffffff;
	--h2-color: #ffffff;
	--row-bg: #20252a;
	--forabg-list: #20252a;
	--topiclist: #20252a;
	--forabg: #0f2940;
	--dropdown-extended-header: #171b1f;
	--inventea-userbar: #171b1f;
	--inventea-footer: #c3c9ce;
	--bg1-color: #1c2125;
	--bg2-color: #23292e;
	--bg3-color: #272d32;
	--bg4-color: #20252a;
	--bg5-color: #30373d;
	--input-bg: #111519;
	--input-txt-color: #ffffff;
	--border-color-1: #46515a;
	--border-color-2: #66727c;
	--border-color-3: #3b454d;
	--button-bg: #272d32;
	--item-bg: rgba(255, 255, 255, .07);
	--shadowcolor: transparent;
}

html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

body {
	background: var(--lspd-page) !important;
	color: var(--lspd-ink);
}

*,
*:before,
*:after {
	box-sizing: border-box;
}

.inventea-wrapper,
.inventea-dashboard,
.inventea-footer {
	box-sizing: border-box;
	max-width: 1500px;
	width: calc(100% - 32px);
}

.inventea-content {
	background: var(--lspd-surface) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--lspd-ink);
	min-width: 0;
	overflow: hidden;
}

.inventea-content > *,
.cp-main,
#cp-main,
.panel-container,
.postbody,
.postprofile,
.action-bar,
fieldset,
dl.details,
dl.fields1,
dl.fields2 {
	max-width: 100%;
	min-width: 0;
}

.inventea-userbar,
.inventea-footer-wrapper,
.inventea-footer {
	background-color: var(--lspd-surface) !important;
	border-color: var(--lspd-rule) !important;
	color: var(--lspd-muted) !important;
}

body a,
body a:visited,
#nav-breadcrumbs a,
.breadcrumbs .crumb a,
.forumtitle,
.topictitle,
.lastsubject,
.navigation a,
#tabs .tab > a,
.tabs .tab > a,
.minitabs .tab > a,
.inventea-footer a {
	color: var(--lspd-ink);
}

body a:hover,
body a:focus,
#nav-breadcrumbs a:hover,
.breadcrumbs .crumb a:hover,
.forumtitle:hover,
.topictitle:hover,
.lastsubject:hover {
	color: var(--links-color-hover-focus);
}

.inventea-userbar a,
.inventea-userbar a:visited,
.inventea-userbar .icon {
	color: var(--lspd-ink);
}

.inventea-menu li > a,
.inventea-menu li > a:visited,
.inventea-menu li > a:hover,
.inventea-menu li > a:focus,
.inventea-sitename a,
.inventea-sitename a:visited {
	color: #ffffff !important;
}

#nav-breadcrumbs {
	border-color: var(--lspd-rule);
}

.panel,
.post,
.bg1,
.bg2,
.bg3,
.cp-main,
#cp-main,
.panel-container,
.dropdown,
.dropdown-contents,
.quickreply-box {
	background-color: var(--lspd-surface) !important;
	border-color: var(--lspd-border) !important;
	color: var(--lspd-ink) !important;
}

.bg2,
.post.bg2,
ul.topiclist.cplist li.row:nth-child(even),
ul.topiclist.pmlist li.row:nth-child(even) {
	background-color: var(--lspd-surface-soft) !important;
}

.postprofile,
.stat-block,
.online-list,
.content,
.postbody,
.panel p,
.panel dl,
.panel label,
.panel-container,
.cp-main,
#cp-main,
dd,
dt,
legend {
	color: var(--lspd-ink);
}

.content h2,
.panel h2,
.panel h3,
.page-title,
.postbody h3,
.postbody h3 a,
.cp-main h2,
#cp-main h2 {
	color: var(--lspd-ink);
}

.forabg,
.forumbg {
	background: var(--lspd-surface-soft);
	border-color: var(--lspd-border);
}

li.header,
.forabg .header,
.forumbg .header,
.cp-list h3,
.cp-main h2,
#cp-main h2,
ul.topiclist.cplist li.header,
ul.topiclist.two-columns li.header {
	background: var(--lspd-bar) !important;
	border-bottom-color: var(--lspd-bar) !important;
	color: #ffffff !important;
}

li.header a,
li.header a:visited,
li.header dt,
li.header dd,
.cp-list h3 a,
.cp-main h2 a,
#cp-main h2 a {
	color: #ffffff !important;
}

ul.topiclist.forums,
ul.topiclist.forums li.row,
ul.topiclist.cplist,
ul.topiclist.pmlist,
ul.topiclist.cplist li.row,
ul.topiclist.pmlist li.row {
	background: var(--lspd-surface-soft) !important;
	border-color: var(--lspd-rule) !important;
	color: var(--lspd-ink) !important;
}

ul.topiclist.forums li.row:nth-child(even) {
	background: var(--lspd-surface-alt) !important;
}

ul.topiclist.forums li.row:hover,
ul.topiclist.cplist li.row:hover,
ul.topiclist.pmlist li.row:hover {
	background: var(--item-bg) !important;
}

ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-description,
ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats,
ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
	background: transparent !important;
	border-color: var(--lspd-rule);
	color: var(--lspd-ink);
}

.lspd-forum-title a,
.lspd-forum-desc,
.lspd-forum-moderators,
dd.lspd-fora-recent span,
dd.lspd-fora-recent time,
ul.topiclist.forums dd.lspd-fora-stats dfn,
.lspd-subforums-list a.subforum,
.lspd-subforums-list .icon {
	color: var(--lspd-ink) !important;
}

.lspd-fora-description-inner {
	position: relative;
}

.forum-image.lspd-forum-image.is-banner {
	display: block;
	margin: 10px 0 12px;
	max-width: 590px;
	width: min(590px, 100%);
}

.forum-image.lspd-forum-image.is-banner img {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) {
	min-height: 92px;
	padding-right: 104px !important;
}

.forum-image.lspd-forum-image.is-emblem {
	align-items: center;
	display: flex;
	height: 82px;
	justify-content: center;
	margin: 0;
	max-width: none;
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 82px;
}

.forum-image.lspd-forum-image.is-emblem img {
	border: 0;
	display: block;
	height: 76px;
	max-height: 76px;
	max-width: 76px;
	object-fit: contain;
	width: 76px;
}

.button,
.button1,
.button2,
.button3,
a.button,
a.button1,
a.button2,
input.button,
input.button1,
input.button2,
input.button3,
button.button,
.dropdown-select,
.button-secondary,
#format-buttons .button,
#format-buttons button,
#format-buttons input,
.post-buttons .button,
.quickmod .button,
fieldset.submit-buttons input,
fieldset.display-actions input[type="submit"] {
	align-items: center;
	background: var(--lspd-surface-soft) !important;
	border: 1px solid var(--lspd-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--lspd-ink) !important;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	height: 36px;
	justify-content: center;
	line-height: 20px;
	margin: 0;
	min-height: 36px;
	padding: 7px 12px !important;
	text-shadow: none !important;
	vertical-align: middle;
}

.button1,
a.button1,
input.button1,
.default-submit-action,
a.button[href*="posting.php"],
.buttons a.button,
fieldset.submit-buttons input[name="post"],
fieldset.submit-buttons input[name="preview"],
fieldset.submit-buttons input[name="message"],
fieldset.submit-buttons input[name="login"],
fieldset.submit-buttons input[name="submit"] {
	background: var(--lspd-bar) !important;
	border-color: var(--lspd-bar) !important;
	color: #ffffff !important;
}

.button:hover,
.button:focus,
.button1:hover,
.button1:focus,
.button2:hover,
.button2:focus,
a.button:hover,
a.button:focus,
input.button:hover,
input.button:focus,
button.button:hover,
button.button:focus {
	background: #173f60 !important;
	border-color: #173f60 !important;
	color: #ffffff !important;
}

.button-icon-only,
.search-box .button,
.action-bar .button-search,
.action-bar .button-search-end {
	height: 36px;
	min-width: 36px;
	padding: 0 !important;
	width: 36px;
}

.buttons,
.action-bar,
fieldset.submit-buttons,
fieldset.display-actions,
.post-buttons {
	column-gap: 8px;
	row-gap: 8px;
}

#tabs,
.tabs,
.minitabs {
	border-color: var(--lspd-border);
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
}

#tabs .tab,
.tabs .tab,
.minitabs .tab {
	margin: 0;
}

#tabs .tab > a,
.tabs .tab > a,
.minitabs .tab > a,
.navigation a {
	align-items: center;
	background: var(--lspd-surface-soft) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--lspd-ink) !important;
	display: flex;
	font-size: 13px;
	font-weight: 700;
	line-height: 20px;
	min-height: 42px;
	padding: 11px 14px !important;
}

#tabs .activetab > a,
.tabs .activetab > a,
.minitabs .activetab > a,
.navigation .active-subsection a {
	background: var(--lspd-bar) !important;
	color: #ffffff !important;
}

.navigation li {
	border-color: var(--lspd-rule);
	margin: 0 0 1px;
}

.navigation a:hover,
#tabs .tab > a:hover,
.tabs .tab > a:hover,
.minitabs .tab > a:hover {
	background: #173f60 !important;
	color: #ffffff !important;
}

input.inputbox,
select,
textarea,
.inputbox,
#format-buttons,
#format-buttons select,
.bbcode-size,
#message-box,
.message-box,
#message-box textarea,
.message-box textarea,
textarea.inputbox {
	background-color: var(--input-bg) !important;
	border-color: var(--lspd-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--input-txt-color) !important;
}

#format-buttons {
	background: var(--lspd-surface-alt) !important;
	display: flex;
	gap: 6px;
	padding: 8px;
}

#format-buttons .button .icon,
#format-buttons button .icon {
	color: inherit !important;
	opacity: 1;
}

html[data-theme="light"] #message-box textarea,
html[data-theme="light"] #message,
html[data-theme="light"] textarea.inputbox {
	background: #ffffff !important;
	color: #171717 !important;
}

html[data-theme="dark"] #message-box textarea,
html[data-theme="dark"] #message,
html[data-theme="dark"] textarea.inputbox {
	background: #111519 !important;
	border-color: var(--lspd-border) !important;
	color: #ffffff !important;
}

html[data-theme="dark"] fieldset.submit-buttons input[name="save"],
html[data-theme="dark"] fieldset.submit-buttons input[name="load"],
html[data-theme="dark"] fieldset.submit-buttons input[name="cancel"],
html[data-theme="dark"] input[type="reset"].button2 {
	background: var(--lspd-surface-soft) !important;
	border-color: var(--lspd-border) !important;
	color: var(--lspd-ink) !important;
}

fieldset.fields1 label,
fieldset.fields2 label,
.options-panel label,
.attach-panel label,
.poll-panel label {
	align-items: center;
	display: inline-flex;
	line-height: 20px;
	min-height: 28px;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: #0f2940;
	margin: 0 7px 0 0;
}

html[data-theme="dark"] .inventea-content,
html[data-theme="dark"] .inventea-footer,
html[data-theme="dark"] .inventea-userbar,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .post,
html[data-theme="dark"] .cp-main,
html[data-theme="dark"] #cp-main,
html[data-theme="dark"] .dropdown,
html[data-theme="dark"] .dropdown-contents {
	color: #f5f7f8 !important;
}

html[data-theme="dark"] body a,
html[data-theme="dark"] body a:visited,
html[data-theme="dark"] #nav-breadcrumbs a,
html[data-theme="dark"] .breadcrumbs .crumb a,
html[data-theme="dark"] .forumtitle,
html[data-theme="dark"] .topictitle,
html[data-theme="dark"] .lastsubject,
html[data-theme="dark"] .content a,
html[data-theme="dark"] .postbody a,
html[data-theme="dark"] .panel a,
html[data-theme="dark"] .cp-main a,
html[data-theme="dark"] #cp-main a,
html[data-theme="dark"] .inventea-footer a {
	color: #f5f7f8;
}

html[data-theme="dark"] .username-coloured {
	filter: saturate(.8) brightness(1.35);
}

html[data-theme="dark"] hr,
html[data-theme="dark"] .dashed,
html[data-theme="dark"] .solid {
	border-color: var(--lspd-rule);
}

@media (max-width: 900px) {
	.inventea-wrapper,
	.inventea-dashboard,
	.inventea-footer {
		width: calc(100% - 16px);
	}

	.inventea-content {
		padding-left: 18px;
		padding-right: 18px;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats {
		flex-basis: 88px;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
		flex-basis: 190px;
	}
}

@media (max-width: 850px) {
	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats,
	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
		display: none !important;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-description {
		flex: 1 1 auto;
		min-width: 0;
		width: auto !important;
	}

	.responsive-show.lspd-fora-stats-sm {
		color: var(--lspd-muted);
		display: block !important;
		float: right;
		font-size: 10px;
		line-height: 1.35;
		margin: 1px 0 6px 10px;
	}

	.forum-image.lspd-forum-image.is-banner {
		width: min(590px, 100%);
	}
}

@media (max-width: 700px) {
	body {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.inventea-wrapper,
	.inventea-dashboard,
	.inventea-footer {
		width: 100%;
	}

	.inventea-content {
		padding-left: 12px;
		padding-right: 12px;
	}

	.inventea-sitename {
		padding-left: 20px;
		padding-right: 20px;
	}

	.inventea-sitename h1,
	.inventea-sitename h1 a {
		font-size: 24px;
		line-height: 1.15;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl {
		align-items: stretch;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon {
		flex-basis: 48px;
		width: 48px !important;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-description {
		padding-right: 10px;
	}

	.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) {
		min-height: 72px;
		padding-right: 76px !important;
	}

	.forum-image.lspd-forum-image.is-emblem {
		height: 64px;
		right: 2px;
		width: 64px;
	}

	.forum-image.lspd-forum-image.is-emblem img {
		height: 58px;
		max-height: 58px;
		max-width: 58px;
		width: 58px;
	}

	#tabs .tab > a,
	.tabs .tab > a,
	.minitabs .tab > a,
	.navigation a {
		font-size: 12px;
		min-height: 38px;
		padding: 9px 10px !important;
	}

	.action-bar .search-box {
		max-width: 100%;
	}
}

/* 0.4: reference content layout, team directory, and unified action controls. */
.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) {
	align-items: start;
	display: grid;
	grid-template-columns: 142px minmax(0, 1fr);
	grid-template-rows: auto auto auto auto;
	column-gap: 18px;
	min-height: 154px;
	padding: 0 !important;
}

.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) .lspd-forum-title {
	grid-column: 1 / -1;
	grid-row: 1;
}

.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) .lspd-fora-stats-sm {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
}

.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) .lspd-forum-desc {
	grid-column: 2;
	grid-row: 2;
	line-height: 1.55;
	margin: 8px 0 6px;
}

.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) .lspd-forum-image.is-emblem {
	align-items: flex-start;
	display: flex;
	grid-column: 1;
	grid-row: 2 / span 3;
	height: 132px;
	justify-content: center;
	margin: 8px 0 0;
	max-width: none;
	position: static;
	right: auto;
	top: auto;
	transform: none;
	width: 132px;
}

.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) .lspd-forum-image.is-emblem img {
	border: 0;
	height: 126px;
	max-height: 126px;
	max-width: 126px;
	object-fit: contain;
	width: 126px;
}

.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) .lspd-forum-moderators {
	grid-column: 2;
	grid-row: 3;
	margin: 7px 0 0;
}

.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) .lspd-subforums-list {
	grid-column: 2;
	grid-row: 4;
}

.lspd-forum-desc strong,
.lspd-forum-moderators strong {
	color: var(--lspd-ink);
}

.lspd-forum-moderators {
	color: var(--lspd-ink);
	line-height: 1.5;
	margin-top: 6px;
}

body .post-buttons .button,
body .post-buttons a.button,
body .post-buttons button.button,
body .post-buttons .button-secondary {
	background: var(--lspd-bar) !important;
	border-color: var(--lspd-bar) !important;
	color: #ffffff !important;
	opacity: 1;
}

body .post-buttons .button .icon,
body .post-buttons a.button .icon,
body .post-buttons button.button .icon,
body .post-buttons .button:before,
body .post-buttons a.button:before {
	color: #ffffff !important;
	opacity: 1;
}

body .post-buttons .button:hover,
body .post-buttons .button:focus,
body .post-buttons a.button:hover,
body .post-buttons a.button:focus,
body .post-buttons button.button:hover,
body .post-buttons button.button:focus {
	background: #173f60 !important;
	border-color: #173f60 !important;
	color: #ffffff !important;
}

.section-ucp #pmheader-postingbox,
.section-ucp #postingbox {
	margin-bottom: 14px;
}

.section-ucp #pmheader-postingbox > .inner,
.section-ucp #postingbox > .inner {
	padding: 18px 20px;
}

.section-ucp #pmheader-postingbox fieldset.fields1,
.section-ucp #postingbox fieldset.fields1 {
	margin: 0;
}

.section-ucp #pmheader-postingbox .column1,
.section-ucp #pmheader-postingbox .column2 {
	padding: 0 10px 0 0;
}

.section-ucp #pmheader-postingbox dl {
	margin: 0;
}

.section-ucp #pmheader-postingbox dd,
.section-ucp #pmheader-postingbox dt {
	line-height: 1.5;
	padding-bottom: 4px;
	padding-top: 4px;
}

.section-ucp #pmheader-postingbox #username_list {
	height: 36px;
	margin-right: 8px;
	padding: 7px 10px;
}

.lspd-team-title {
	margin-bottom: 22px;
}

.lspd-team-directory {
	margin: 0;
}

.lspd-team-group {
	border: 1px solid var(--lspd-border);
	margin: 0 0 20px;
}

.lspd-team-group-header {
	background: var(--lspd-bar);
	min-height: 48px;
	padding: 13px 18px;
}

.lspd-team-group-header h3 {
	font-size: 14px;
	line-height: 22px;
	margin: 0;
	text-transform: uppercase;
}

.lspd-team-group-header h3,
.lspd-team-group-header h3 a,
.lspd-team-group-header h3 a:visited {
	color: #ffffff !important;
}

.lspd-team-members {
	background: var(--lspd-surface-soft);
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lspd-team-member {
	align-items: center;
	background: var(--lspd-surface);
	display: grid;
	gap: 14px;
	grid-template-columns: 96px minmax(0, 1fr);
	min-height: 128px;
	padding: 14px;
}

.lspd-team-member.is-inactive {
	opacity: .62;
}

.lspd-team-rank {
	align-items: center;
	display: flex;
	height: 102px;
	justify-content: center;
	width: 96px;
}

.lspd-team-rank img {
	display: block;
	height: 102px;
	max-height: 102px;
	max-width: 96px;
	object-fit: contain;
	width: auto;
}

.lspd-team-member-copy h4 {
	font-size: 15px;
	line-height: 1.35;
	margin: 0 0 5px;
}

.lspd-team-rank-title {
	color: var(--lspd-muted);
	font-size: 12px;
	font-weight: 700;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.lspd-team-primary,
.lspd-team-forums {
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
}

.lspd-team-primary > span {
	display: block;
	font-size: 10px;
	font-weight: 700;
	margin-bottom: 2px;
	text-transform: uppercase;
}

.lspd-team-empty {
	background: var(--lspd-surface);
	grid-column: 1 / -1;
	margin: 0;
	padding: 22px 18px;
}

.lspd-legend-only p,
.online-list em {
	font-style: normal;
}

@media (max-width: 1050px) {
	.lspd-team-members {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) {
		column-gap: 10px;
		grid-template-columns: 72px minmax(0, 1fr);
		min-height: 94px;
		padding-right: 0 !important;
	}

	.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) .lspd-forum-image.is-emblem {
		height: 68px;
		margin-top: 7px;
		width: 68px;
	}

	.lspd-fora-description-inner:has(.lspd-forum-image.is-emblem) .lspd-forum-image.is-emblem img {
		height: 64px;
		max-height: 64px;
		max-width: 64px;
		width: 64px;
	}

	.section-ucp #pmheader-postingbox > .inner,
	.section-ucp #postingbox > .inner {
		padding: 14px 12px;
	}

	.section-ucp #pmheader-postingbox .column1,
	.section-ucp #pmheader-postingbox .column2 {
		float: none;
		padding: 0;
		width: 100%;
	}

	.lspd-team-members {
		grid-template-columns: 1fr;
	}

	.lspd-team-member {
		grid-template-columns: 78px minmax(0, 1fr);
	}

	.lspd-team-rank {
		height: 84px;
		width: 78px;
	}

	.lspd-team-rank img {
		height: 84px;
		max-height: 84px;
		max-width: 78px;
	}
}

/* 0.4.1: mobile last-post rows and unified footer alignment. */
.inventea-footer-wrapper {
	margin-left: auto;
	margin-right: auto;
	max-width: 1500px;
	width: calc(100% - 32px);
}

.inventea-footer-wrapper .inventea-footer {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: 100%;
}

@media (max-width: 900px) {
	.inventea-footer-wrapper {
		width: calc(100% - 16px);
	}
}

@media (max-width: 700px) {
	.inventea-footer-wrapper {
		margin-top: -12px;
		width: 100%;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl {
		flex-wrap: wrap;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dt.lspd-fora-icon {
		display: none !important;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-description {
		flex: 0 0 100%;
		width: 100% !important;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
		display: block !important;
		flex: 0 0 100%;
		margin-left: 0;
		padding: 8px 18px 16px;
		width: 100% !important;
	}

	ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent > span {
		display: block;
		max-width: 100%;
	}
}

/* 0.5: department login experience. */
.lspd-login-shell {
	gap: 20px;
	grid-template-columns: minmax(0, 1fr) 280px;
	max-width: 1180px;
}

.lspd-login-panel {
	grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr);
}

.lspd-login-copy {
	align-items: center;
	background: #0f2940;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 460px;
	padding: 42px 32px;
	text-align: center;
}

.lspd-login-seal {
	display: block;
	height: auto;
	max-width: 280px;
	object-fit: contain;
	width: min(82%, 280px);
}

.lspd-login-copy .lspd-login-kicker {
	font-family: var(--lspd-font-body);
	font-size: 12px;
	letter-spacing: 0;
	margin: 24px 0 0;
}

.lspd-login-form {
	align-self: center;
	font-family: var(--lspd-font-body);
	padding: 46px 44px 42px;
}

.lspd-login-form-header {
	margin-bottom: 28px;
}

.lspd-login-form-header > span {
	color: var(--lspd-muted);
	display: block;
	font-size: 11px;
	font-weight: 800;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.lspd-login-form-header .login-title {
	color: var(--lspd-ink);
	font-family: var(--lspd-font-body);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 6px;
	text-transform: none;
}

.lspd-login-form-header p {
	color: var(--lspd-muted);
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.lspd-login-notice {
	background: var(--lspd-surface-soft);
	border-left: 3px solid var(--lspd-bar);
	color: var(--lspd-ink);
	font-size: 13px;
	line-height: 1.45;
	margin: 0 0 22px;
	padding: 11px 13px;
}

.lspd-login-form dl {
	margin-bottom: 20px;
}

.lspd-login-form label,
.lspd-login-options {
	font-family: var(--lspd-font-body);
	letter-spacing: 0;
}

.lspd-login-form label {
	color: var(--lspd-ink);
	font-size: 13px;
	font-weight: 700;
	text-transform: none;
}

.lspd-login-form .inputbox {
	background: var(--lspd-surface);
	border: 1px solid var(--lspd-border);
	border-radius: 0;
	box-shadow: none;
	color: var(--lspd-ink);
	font-family: var(--lspd-font-body);
	font-size: 16px;
	height: 50px;
	line-height: 24px;
	padding: 12px 14px;
}

.lspd-login-form .inputbox:hover {
	border-color: #73808b;
}

.lspd-login-form .inputbox:focus {
	border-color: var(--lspd-bar);
	box-shadow: 0 0 0 2px rgba(15, 41, 64, .14);
	outline: 0;
}

#login.lspd-login-form fieldset.fields1 dt,
#login.lspd-login-form fieldset.fields2 dt,
#login.lspd-login-form fieldset.fields1 dd,
#login.lspd-login-form fieldset.fields2 dd {
	margin-left: 0;
	width: 100%;
}

#login.lspd-login-form .inputbox,
#login.lspd-login-form input.inputbox.autowidth {
	width: 100% !important;
}

.lspd-login-options {
	font-size: 13px;
	font-weight: 500;
	gap: 10px;
	margin: 4px 0 24px;
}

.lspd-login-options label {
	align-items: center;
	display: flex;
	gap: 9px;
}

.lspd-login-options input[type="checkbox"] {
	height: 18px;
	margin: 0;
	width: 18px;
}

.lspd-login-actions {
	gap: 10px;
}

.lspd-login-actions .button1,
.lspd-login-actions .button2 {
	font-family: var(--lspd-font-body);
	font-size: 13px;
	min-height: 44px;
	padding: 11px 18px !important;
}

.lspd-login-register,
.lspd-login-register h3,
.lspd-login-register p,
.lspd-login-register a {
	font-family: var(--lspd-font-body);
	letter-spacing: 0;
}

.lspd-login-register h3 {
	font-size: 25px;
	font-weight: 700;
}

@media (max-width: 1100px) {
	.lspd-login-shell {
		grid-template-columns: 1fr;
		max-width: 860px;
	}

	.lspd-login-register {
		padding: 22px 28px;
	}
}

@media (max-width: 700px) {
	.lspd-login-panel {
		grid-template-columns: 1fr;
	}

	.lspd-login-copy {
		min-height: 250px;
		padding: 28px 22px;
	}

	.lspd-login-seal {
		max-width: 170px;
	}

	.lspd-login-copy .lspd-login-kicker {
		margin-top: 16px;
	}

	.lspd-login-form {
		padding: 30px 22px 32px;
	}
}

/* 0.7.4: consistent contrast across tables, member colours, and theme modes. */
:root,
html[data-theme="light"],
html[data-theme="dark"] {
	--inventea-online-bg: #08715e;
	--inventea-online-border: #055244;
}

table.table1 {
	background: var(--lspd-surface);
	border: 1px solid var(--lspd-border);
	border-collapse: collapse;
	color: var(--lspd-ink);
}

table.table1 thead,
table.table1 thead tr,
.cp-main table.table1 thead,
.cp-main table.table1 thead tr,
.panel-container table.table1 thead,
.panel-container table.table1 thead tr {
	background: var(--lspd-bar) !important;
}

table.table1 thead th,
.cp-main table.table1 thead th,
.panel-container table.table1 thead th {
	background: var(--lspd-bar) !important;
	border-bottom: 1px solid var(--lspd-bar) !important;
	color: #ffffff !important;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

table.table1 thead th a,
table.table1 thead th a:visited,
.cp-main table.table1 thead th a,
.panel-container table.table1 thead th a {
	color: #ffffff !important;
}

table.table1 tbody,
table.table1 tbody tr,
table.table1 tbody tr.bg1 {
	background: var(--lspd-surface) !important;
}

table.table1 tbody tr:nth-child(even),
table.table1 tbody tr.bg2 {
	background: var(--lspd-surface-soft) !important;
}

table.table1 tbody td,
table.table1 tbody td:nth-child(even),
table.table1 tbody tr:nth-child(even) td:nth-child(even) {
	background: transparent !important;
	border-top: 1px solid var(--lspd-rule);
	color: var(--lspd-ink) !important;
}

ul.topiclist.forums dd.lspd-fora-stats .lspd-stat-line,
ul.topiclist.forums dd.lspd-fora-stats .lspd-stat-line strong,
ul.topiclist.forums dd.lspd-fora-stats dfn {
	color: var(--lspd-ink) !important;
}

/* Preserve phpBB's inline group and username colours in dark mode. */
html[data-theme="dark"] .username-coloured[style*="color"],
html[data-theme="dark"] .group-title a[style*="color"],
html[data-theme="dark"] a[href*="memberlist.php?mode=group"][style*="color"],
html[data-theme="dark"] .lspd-team-member a[style*="color"],
html[data-theme="dark"] .online-list a[style*="color"],
html[data-theme="dark"] .stat-block a[style*="color"],
html[data-theme="dark"] .lspd-forum-desc span[style*="color"],
html[data-theme="dark"] .section-memberlist [style*="color"] {
	filter: saturate(.8) brightness(1.35);
}

/* 0.7.5: topic spacing, post controls, and utility breadcrumb alignment. */
.inventea-userbar {
	height: 48px !important;
	min-height: 48px;
	padding-bottom: 0 !important;
	padding-top: 0 !important;
}

#nav-breadcrumbs.lspd-top-breadcrumbs {
	border: 0 !important;
	line-height: 20px;
	margin: 0 !important;
	padding: 0 !important;
}

.section-viewtopic .inventea-content {
	padding-top: 20px;
}

@media (min-width: 701px) {
	.section-viewtopic .post > .inner {
		table-layout: fixed;
	}

	.section-viewtopic .post .postprofile {
		width: 18.25%;
	}

	.section-viewtopic .post .postbody {
		width: 81.75%;
	}
}

body .post-buttons {
	right: 0;
}

body .post-buttons .button,
body .post-buttons a.button,
body .post-buttons button.button,
body .post-buttons .button-secondary {
	background: #344957 !important;
	border-color: #344957 !important;
}

body .post-buttons .button:hover,
body .post-buttons .button:focus,
body .post-buttons a.button:hover,
body .post-buttons a.button:focus,
body .post-buttons button.button:hover,
body .post-buttons button.button:focus {
	background: #173f60 !important;
	border-color: #173f60 !important;
}

body .post-buttons .button.disabled,
body .post-buttons .button[aria-disabled="true"],
body .post-buttons button.button:disabled {
	background: var(--lspd-surface-soft) !important;
	border-color: var(--lspd-border) !important;
	color: var(--lspd-muted) !important;
	cursor: default;
}

body .post-buttons .button.disabled .icon,
body .post-buttons .button[aria-disabled="true"] .icon,
body .post-buttons button.button:disabled .icon {
	color: var(--lspd-muted) !important;
}

/* 0.7.13: full-width, two-tier banner navigation. */
@media (min-width: 701px) {
	.lspd-banner-navigation {
		inset: 0;
		pointer-events: none;
		position: absolute;
		z-index: 4;
	}

	.lspd-banner-navigation .inventea-posts-menu > #nav-breadcrumbs.lspd-top-breadcrumbs {
		align-items: center;
		border: 0 !important;
		display: flex;
		flex: 1 1 auto;
		height: 44px;
		left: auto;
		margin: 0 !important;
		max-width: min(46%, 650px);
		min-width: 0;
		padding: 0 !important;
		position: static;
		transform: none;
	}

	.lspd-banner-navigation .inventea-posts-menu > #nav-breadcrumbs .breadcrumbs {
		align-items: center;
		display: flex;
		min-width: 0;
		overflow: hidden;
		width: 100%;
	}

	.lspd-banner-navigation .inventea-posts-menu > #nav-breadcrumbs .crumb,
	.lspd-banner-navigation .inventea-posts-menu > #nav-breadcrumbs .crumb a {
		align-items: center;
		color: #f4f7f9 !important;
		display: inline-flex;
		flex: 0 0 auto;
		height: 44px;
		line-height: 1;
	}

	.lspd-banner-navigation .inventea-posts-menu > #nav-breadcrumbs .crumb:last-child {
		flex: 0 1 auto;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.lspd-banner-navigation .inventea-posts-menu > #nav-breadcrumbs .crumb:before {
		color: rgba(255, 255, 255, .52);
	}

	.lspd-banner-navigation .inventea-posts-menu > #nav-breadcrumbs .lspd-index-seal {
		height: 32px;
		width: 32px !important;
	}

	.lspd-banner-navigation .inventea-posts-menu > #nav-breadcrumbs .lspd-index-seal img {
		height: 28px;
		width: 28px;
	}

	.lspd-banner-navigation .inventea-posts-menu > .inventea-menu {
		flex: 0 0 auto;
		margin-left: auto;
	}

	.lspd-banner-navigation .inventea-posts-menu,
	.lspd-banner-navigation .inventea-forum-menu {
		align-items: stretch;
		box-sizing: border-box;
		display: flex;
		height: 44px;
		left: 0;
		padding: 0 28px;
		pointer-events: auto;
		right: 0;
		width: 100%;
	}

	.lspd-banner-navigation .inventea-posts-menu {
		background: rgba(7, 18, 27, .82);
		border-bottom: 1px solid rgba(255, 255, 255, .14);
		justify-content: flex-end;
		top: 0;
	}

	.lspd-banner-navigation .inventea-forum-menu {
		background: rgba(15, 41, 64, .97);
		border-top: 1px solid rgba(255, 255, 255, .12);
		bottom: 4px;
		justify-content: flex-start;
	}

	.lspd-banner-navigation .inventea-menu {
		align-items: stretch;
		display: flex;
		float: none;
		height: 100%;
		margin: 0;
		max-width: 100%;
		padding: 0;
	}

	.lspd-banner-navigation .inventea-menu li,
	.lspd-banner-navigation .inventea-menu li + li {
		align-items: stretch;
		display: flex;
		float: none;
		height: 100%;
		margin: 0;
		position: relative;
	}

	.lspd-banner-navigation .inventea-menu li + li:before {
		background: rgba(255, 255, 255, .14);
		content: "";
		height: 16px;
		left: 0;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 1px;
	}

	.lspd-banner-navigation .inventea-menu li > a,
	.lspd-banner-navigation .inventea-menu li > a:visited {
		align-items: center;
		background: transparent !important;
		border: 0 !important;
		border-bottom: 3px solid transparent !important;
		box-sizing: border-box;
		color: #f7f9fa !important;
		display: flex;
		font-family: var(--lspd-font-ui, "Public Sans", Arial, sans-serif);
		font-size: 12px;
		font-weight: 700;
		height: 100%;
		letter-spacing: 0;
		line-height: 1;
		padding: 2px 17px 0;
		text-decoration: none;
		text-transform: uppercase;
		transition: background-color .16s ease, border-color .16s ease, color .16s ease;
		white-space: nowrap;
	}

	.lspd-banner-navigation .inventea-posts-menu .inventea-menu li > a {
		color: #e5ebef !important;
		font-size: 11px;
	}

	.lspd-banner-navigation .inventea-menu li > a:hover,
	.lspd-banner-navigation .inventea-menu li > a:focus,
	.lspd-banner-navigation .inventea-menu li > a:active {
		background: rgba(255, 255, 255, .09) !important;
		border-bottom-color: #ffffff !important;
		color: #ffffff !important;
		outline: 0;
	}

	.lspd-banner-navigation .inventea-menu li > a:focus-visible {
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
	}

	.inventea-sitename {
		padding-bottom: 78px;
		padding-top: 70px;
	}

	.lspd-banner-seal {
		bottom: 54px;
	}
}

@media (min-width: 701px) and (max-width: 1050px) {
	.lspd-banner-navigation .inventea-posts-menu,
	.lspd-banner-navigation .inventea-forum-menu {
		padding-left: 12px;
		padding-right: 12px;
	}

	.lspd-banner-navigation .inventea-menu li > a,
	.lspd-banner-navigation .inventea-posts-menu .inventea-menu li > a {
		font-size: 10px;
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-width: 700px) {
	.inventea-userbar {
		height: 76px !important;
		min-height: 76px;
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs {
		align-items: center;
		display: flex;
		height: 36px;
	}

	.section-viewtopic .inventea-content {
		padding-top: 16px;
	}
}

/* 0.7.10: final team-directory cascade override. */
.section-memberlist .lspd-team-members {
	display: grid;
	grid-template-columns: minmax(0, 1fr) !important;
}

.section-memberlist .lspd-team-member {
	width: 100%;
}

/* 0.7.11: shared page rhythm, profile presentation, and mobile post actions. */
.inventea-content {
	padding-bottom: 32px;
	padding-top: 20px;
}

.inventea-content > h1:first-child,
.inventea-content > h2:first-child,
.inventea-content > form:first-child > h1:first-child,
.inventea-content > form:first-child > h2:first-child {
	margin-top: 0;
}

.memberlist-title,
.lspd-team-title,
.ucp-title,
.posting-title,
.forum-title,
.topic-title,
.faq-title {
	line-height: 1.2;
	margin-bottom: 22px;
}

@media (max-width: 700px) {
	.inventea-content {
		padding-bottom: 24px;
		padding-top: 16px;
	}

	.section-viewtopic .post .postprofile {
		align-items: center;
		column-gap: 18px;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.section-viewtopic .post .postprofile dt {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
	}

	.section-viewtopic .post .postprofile dd.profile-rank {
		grid-column: 1;
		grid-row: 2;
		min-width: 0;
	}

	.section-viewtopic .post .lspd-post-actions-wrap {
		align-self: center;
		display: block !important;
		grid-column: 2;
		grid-row: 1 / span 2;
		justify-self: center;
		margin: 0;
		min-width: 0;
	}

	.section-viewtopic .post .lspd-post-actions {
		display: flex !important;
		flex-wrap: wrap;
		gap: 4px;
		justify-content: center;
	}

	.section-viewtopic .post .lspd-post-actions .button.button-icon-only,
	.section-viewtopic .post .lspd-post-actions a.button.button-icon-only {
		align-items: center;
		display: inline-flex;
		height: 24px;
		justify-content: center;
		min-height: 24px;
		min-width: 24px;
		padding: 0 !important;
		width: 24px;
	}

	.section-viewtopic .post .postprofile dd:not(.profile-rank):not(.lspd-post-actions-wrap) {
		grid-column: 1 / -1;
	}

	.section-viewtopic .post .postprofile dt,
	.section-viewtopic .post .postprofile dd.profile-rank,
	.section-viewtopic .post .lspd-profile-rank-image {
		text-align: left !important;
	}

	.section-viewtopic .post .lspd-profile-rank-image img,
	.section-viewtopic .post .profile-rank.lspd-profile-rank-image img {
		margin-left: 0;
		margin-right: auto;
		max-width: 100%;
		width: min(var(--lspd-rank-name-width, 130px), 100%);
	}
}

/* 0.7.16: authoritative compact header and navigation for phones. */
@media (max-width: 700px) {
	html,
	body,
	#wrap {
		max-width: 100%;
		overflow-x: hidden;
	}

	.inventea-headerbar {
		background: var(--lspd-surface) !important;
	}

	.inventea-headerbar .inventea-userbar {
		box-sizing: border-box;
		display: block;
		height: 88px !important;
		margin: 0 auto !important;
		min-height: 88px;
		padding: 0 !important;
		position: relative;
		width: 100% !important;
	}

	.inventea-userbar > .inventea-user-menu {
		align-items: center;
		display: flex !important;
		flex-direction: row-reverse;
		flex-wrap: nowrap;
		gap: 2px !important;
		height: 48px;
		justify-content: flex-start;
		left: 8px;
		margin: 0 !important;
		max-width: calc(100% - 66px);
		position: absolute;
		right: 58px;
		top: 0;
		width: auto;
	}

	.inventea-userbar > .inventea-user-menu > li,
	.inventea-userbar > .inventea-user-menu > li + li {
		align-items: center;
		display: flex;
		float: none !important;
		height: 48px;
		margin: 0 !important;
		min-width: 0;
	}

	.inventea-userbar > .inventea-user-menu > li:before {
		display: none !important;
	}

	.inventea-userbar > .inventea-user-menu > li.responsive-menu {
		display: none !important;
	}

	.inventea-userbar .lspd-utility-trigger,
	.inventea-userbar .lspd-account-trigger,
	.inventea-userbar .switch-theme {
		box-sizing: border-box;
		height: 40px;
		justify-content: center;
		margin: 0 !important;
		min-height: 40px;
		padding: 0 9px !important;
		white-space: nowrap;
	}

	.inventea-userbar .switch-theme {
		display: inline-flex;
		width: 40px;
	}

	.inventea-userbar .lspd-account-rank-thumb {
		height: 30px;
		width: 30px;
	}

	.lspd-account-trigger__text small,
	.lspd-utility-trigger__label {
		display: none !important;
	}

	.lspd-account-trigger__text strong {
		display: block;
		font-size: 12px;
		max-width: 112px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.inventea-mobile-dropdown-menu {
		display: block !important;
		float: none !important;
		margin: 0 !important;
		position: absolute;
		right: 8px !important;
		top: 5px;
		z-index: 1100;
	}

	.inventea-mobile-dropdown-menu .inventea-toggle {
		height: 38px;
		width: 42px;
	}

	.inventea-mobile-dropdown-menu .dropdown {
		left: auto !important;
		right: 0 !important;
		top: 44px !important;
		width: min(310px, calc(100vw - 24px)) !important;
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs {
		align-items: center;
		border: 0 !important;
		border-top: 1px solid var(--lspd-rule) !important;
		bottom: 0;
		display: flex;
		height: 40px;
		left: 12px;
		line-height: 40px;
		max-width: calc(100% - 24px);
		padding: 0 !important;
		position: absolute;
		top: auto;
		transform: none;
		width: calc(100% - 24px);
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs .breadcrumbs {
		align-items: center;
		display: flex;
		height: 40px;
		min-width: 0;
		width: 100%;
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs .crumb,
	#nav-breadcrumbs.lspd-top-breadcrumbs .crumb a {
		align-items: center;
		display: inline-flex !important;
		height: 40px;
		line-height: 1;
		vertical-align: middle;
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs .crumb:before {
		align-items: center;
		display: inline-flex;
		height: 40px;
		line-height: 1;
		margin: 0 12px;
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs .crumb:first-child:before {
		display: none;
	}

	#nav-breadcrumbs.lspd-top-breadcrumbs .lspd-index-seal,
	#nav-breadcrumbs.lspd-top-breadcrumbs .lspd-index-seal img {
		height: 24px;
		width: 24px !important;
	}

	.lspd-banner-navigation {
		bottom: 4px;
		position: absolute;
		width: 100%;
	}

	.lspd-mobile-quick-access {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		height: auto;
		overflow: hidden;
		width: 100%;
	}

	.lspd-mobile-quick-access > a,
	.lspd-mobile-quick-access > a:visited {
		border-bottom: 1px solid rgba(255, 255, 255, .14);
		box-sizing: border-box;
		font-size: 10px;
		justify-content: center;
		min-width: 0;
		overflow: hidden;
		padding: 0 6px;
		text-overflow: ellipsis;
		width: 100%;
	}

	.inventea-dashboard {
		padding-bottom: 88px;
	}

	.inventea-sitename {
		padding-bottom: 86px;
	}

	.lspd-banner-seal {
		bottom: 100px;
	}

	body.section-index .inventea-headerbar .inventea-userbar {
		height: 48px !important;
		min-height: 48px;
	}

	body.section-index #nav-breadcrumbs.lspd-top-breadcrumbs {
		display: none;
	}
}

@media (max-width: 430px) {
	.inventea-userbar .lspd-account-trigger {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}

	.lspd-account-trigger__text strong {
		max-width: 82px;
	}

	.lspd-mobile-quick-access {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.inventea-dashboard {
		padding-bottom: 132px;
	}

	.inventea-sitename {
		padding-bottom: 130px;
	}

	.lspd-banner-seal {
		bottom: 144px;
	}
}

/* Keep post and message actions visually quiet beside primary reply controls. */
.post-buttons .button.button-icon-only,
.post-buttons a.button.button-icon-only {
	background: transparent !important;
	background-image: none !important;
	border-color: transparent !important;
	box-shadow: none !important;
	color: #29445a !important;
	opacity: .82;
}

.post-buttons .button.button-icon-only .icon,
.post-buttons a.button.button-icon-only .icon {
	color: inherit !important;
}

.post-buttons .button.button-icon-only:hover,
.post-buttons .button.button-icon-only:focus,
.post-buttons a.button.button-icon-only:hover,
.post-buttons a.button.button-icon-only:focus {
	background: rgba(15, 41, 64, .08) !important;
	border-color: transparent !important;
	color: #0f2940 !important;
	opacity: 1;
}

.post-buttons .button.button-icon-only:focus-visible,
.post-buttons a.button.button-icon-only:focus-visible {
	outline: 2px solid #1976d2;
	outline-offset: 1px;
}

html[data-theme="dark"] .post-buttons .button.button-icon-only,
html[data-theme="dark"] .post-buttons a.button.button-icon-only {
	color: #c7d2dc !important;
}

html[data-theme="dark"] .post-buttons .button.button-icon-only:hover,
html[data-theme="dark"] .post-buttons .button.button-icon-only:focus,
html[data-theme="dark"] .post-buttons a.button.button-icon-only:hover,
html[data-theme="dark"] .post-buttons a.button.button-icon-only:focus {
	background: rgba(255, 255, 255, .09) !important;
	color: #ffffff !important;
}

/* Final interaction palette: suppress inherited red hover states everywhere. */
body .button:hover,body .button:focus,body .button1:hover,body .button1:focus,body .button2:hover,body .button2:focus,
body input[type="submit"]:hover,body input[type="submit"]:focus,body .dropdown-contents a:hover,body .dropdown-contents a:focus,
body .navigation a:hover,body .navigation a:focus,body #tabs .tab > a:hover,body #tabs .tab > a:focus {
	background-color:#173f60!important;border-color:#173f60!important;color:#fff!important;box-shadow:none!important;
}

/* Present topic replies as one continuous discussion with quiet separators. */
.section-viewtopic .post:not(.reported),
.section-viewtopic .post.bg1:not(.reported),
.section-viewtopic .post.bg2:not(.reported),
.section-viewtopic .post.bg1:not(.reported) .postprofile,
.section-viewtopic .post.bg2:not(.reported) .postprofile,
.section-viewtopic .post:not(.reported) .postbody {
	background: var(--lspd-surface) !important;
	background-color: var(--lspd-surface) !important;
}

.section-viewtopic .post:not(.reported) {
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0;
	padding: 0;
}

.section-viewtopic .post:not(.reported) + .post:not(.reported) {
	border-top: 1px solid var(--lspd-rule) !important;
	margin-top: 18px;
	padding-top: 18px;
}

.section-viewtopic .post:not(.reported) .postprofile,
.section-viewtopic .post:not(.reported) .postbody {
	border-radius: 0 !important;
	box-shadow: none !important;
	padding-left: 22px;
	padding-right: 22px;
	padding-top: 22px;
}

.section-viewtopic .post:not(.reported) .postbody {
	padding-bottom: 44px;
}

@media (min-width: 701px) and (max-width: 1060px) {
	.section-viewtopic .post > .inner {
		display: block;
		table-layout: auto;
	}

	.section-viewtopic .post:not(.reported) .postprofile,
	.section-viewtopic .post:not(.reported) .postbody,
	.section-viewtopic .post .postprofile,
	.section-viewtopic .post .postbody {
		box-sizing: border-box;
		display: block;
		width: 100% !important;
	}

	.section-viewtopic .post:not(.reported) .postprofile,
	.section-viewtopic .post .postprofile {
		border-bottom: 1px solid var(--lspd-rule) !important;
		border-right: 0 !important;
		column-gap: 22px;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		overflow: visible;
	}

	.section-viewtopic .post .postprofile dt {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
	}

	.section-viewtopic .post .postprofile dd.profile-rank {
		grid-column: 1;
		grid-row: 2;
		min-width: 0;
	}

	.section-viewtopic .post .lspd-post-actions-wrap {
		align-self: center;
		display: block !important;
		grid-column: 2;
		grid-row: 1 / span 2;
		justify-self: center;
		min-width: 0;
		position: static;
		right: auto;
		top: auto;
		z-index: auto;
	}

	.section-viewtopic .post .postprofile dd:not(.profile-rank):not(.lspd-post-actions-wrap) {
		grid-column: 1 / -1;
	}

	.section-viewtopic .post .postprofile dt,
	.section-viewtopic .post .postprofile dd.profile-rank,
	.section-viewtopic .post .lspd-profile-rank-image {
		text-align: left !important;
	}

	.section-viewtopic .post .lspd-profile-rank-image img,
	.section-viewtopic .post .profile-rank.lspd-profile-rank-image img {
		margin-left: 0;
		margin-right: auto;
	}
}

/* 0.7.17: keep every desktop shell on one shared width. */
@media (min-width: 701px) {
	body .inventea-headerbar .inventea-userbar,
	body .inventea-header .inventea-dashboard,
	body .inventea-content,
	body .inventea-footer-wrapper {
		box-sizing: border-box;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 1500px !important;
		width: calc(100% - 32px) !important;
	}
}

/* Topic-local location trail. */
.lspd-topic-breadcrumbs {
	align-items: center;
	background: #eef0f1;
	border: 1px solid #c9cfd3;
	color: #35434d;
	display: flex;
	font-family: var(--lspd-font-ui, "Public Sans", Arial, sans-serif);
	font-size: 12px;
	gap: 10px;
	line-height: 1.3;
	margin: 0 0 18px;
	min-height: 42px;
	overflow: hidden;
	padding: 7px 12px;
	white-space: nowrap;
}

.lspd-topic-breadcrumbs a,
.lspd-topic-breadcrumbs a:visited {
	color: #173f60 !important;
	flex: 0 0 auto;
	font-weight: 600;
	text-decoration: none;
}

.lspd-topic-breadcrumbs a:hover,
.lspd-topic-breadcrumbs a:focus {
	color: #0b273c !important;
	text-decoration: underline;
}

.lspd-topic-breadcrumb-home {
	align-items: center;
	display: inline-flex;
	gap: 8px;
}

.lspd-topic-breadcrumb-home img {
	height: 26px;
	object-fit: contain;
	width: 26px;
}

.lspd-topic-breadcrumb-separator {
	color: #89949b;
	flex: 0 0 auto;
}

.lspd-topic-breadcrumb-current {
	font-weight: 700;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

html[data-theme="dark"] .lspd-topic-breadcrumbs {
	background: #252b2f;
	border-color: #465159;
	color: #edf1f3;
}

html[data-theme="dark"] .lspd-topic-breadcrumbs a,
html[data-theme="dark"] .lspd-topic-breadcrumbs a:visited {
	color: #a9d1eb !important;
}

@media (max-width: 700px) {
	.lspd-topic-breadcrumbs {
		gap: 7px;
		margin-bottom: 14px;
		padding-left: 9px;
		padding-right: 9px;
	}

	.lspd-topic-breadcrumb-home span {
		display: none;
	}

	.lspd-topic-breadcrumb-home img {
		height: 24px;
		width: 24px;
	}
}

/* Keep these final so inherited forum-table dimensions cannot win the cascade. */
@media (min-width: 701px) {
	body .lspd-fora-section.lspd-section-grid ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl {
		display: grid !important;
		grid-template-columns: 48px minmax(0, 1fr) !important;
		grid-template-rows: minmax(0, 1fr) auto auto !important;
	}

	body .lspd-fora-section.lspd-section-grid ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-description,
	body .lspd-fora-section.lspd-section-grid ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats,
	body .lspd-fora-section.lspd-section-grid ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
		float: none !important;
		max-width: none !important;
		min-width: 0 !important;
		width: auto !important;
	}

	body .lspd-fora-section.lspd-section-grid ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-description {
		display: block !important;
		grid-column: 2 !important;
		grid-row: 1 !important;
		padding: 17px 16px 12px !important;
	}

	body .lspd-fora-section.lspd-section-grid ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-stats {
		display: flex !important;
		grid-column: 2 !important;
		grid-row: 2 !important;
	}

	body .lspd-fora-section.lspd-section-grid ul.topiclist.forums li.lspd-fora-row > dl.lspd-fora-row-dl > dd.lspd-fora-recent {
		display: flex !important;
		grid-column: 2 !important;
		grid-row: 3 !important;
	}
}

/* Split primary header navigation from optional preview/dropdown controls. */
.inventea-userbar .lspd-utility-menu-toggle {
	align-items: center;
	align-self: center;
	background: transparent;
	border: 0;
	border-left: 1px solid #d7dde1;
	color: #526775;
	cursor: pointer;
	display: inline-flex;
	height: 28px;
	justify-content: center;
	margin: 0 5px 0 -5px;
	padding: 0;
	width: 24px;
}

.inventea-userbar .lspd-utility-menu-toggle:hover,
.inventea-userbar .lspd-utility-menu-toggle:focus,
.inventea-userbar .dropdown-visible > .lspd-utility-menu-toggle {
	background: #edf1f3;
	color: #102d45;
}

/*
 * Keep extension-managed presentation functional even when an extension
 * stylesheet is unavailable on a production host.
 */
.lspd-teaser {
	box-sizing: border-box;
	margin: 0 0 20px;
	padding: var(--lspd-teaser-padding-y, 14px) var(--lspd-teaser-padding-x, 18px);
	background: var(--lspd-teaser-light-bg, #e6edf2);
	border: 1px solid var(--lspd-teaser-light-border, #9baeba);
	border-left-color: var(--lspd-teaser-light-accent, #173f60);
	border-left-width: var(--lspd-teaser-accent-width, 5px);
	color: var(--lspd-teaser-light-text, #17212a);
}

.lspd-teaser-content,
.lspd-teaser-content p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
}

.lspd-teaser-content p + p {
	margin-top: 8px;
}

.lspd-teaser a,
.lspd-teaser a:visited {
	color: inherit;
}

.lspd-teaser img {
	height: auto;
	max-width: 100%;
}

html[data-theme="dark"] .lspd-teaser {
	background: var(--lspd-teaser-dark-bg, #202a31);
	border-color: var(--lspd-teaser-dark-border, #465864);
	border-left-color: var(--lspd-teaser-dark-accent, #7ba4c2);
	color: var(--lspd-teaser-dark-text, #f5f7f8);
}

@media (max-width: 700px) {
	.lspd-teaser {
		margin-bottom: 16px;
	}
}

.lspd-banner-navigation .lspd-managed-nav {
	position: relative;
	align-items: stretch;
	display: flex !important;
}

.lspd-banner-navigation .lspd-managed-nav__caret {
	margin-left: 5px;
}

.lspd-banner-navigation .lspd-managed-nav__dropdown {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 500;
	width: min(720px, 80vw);
	padding: 20px;
	background: #f4f5f5;
	color: #14212b;
	border: 1px solid #c7ced3;
	box-shadow: 0 16px 35px rgba(0, 0, 0, .22);
}

.lspd-banner-navigation .lspd-managed-nav.is-open > .lspd-managed-nav__dropdown,
.lspd-banner-navigation .lspd-managed-nav:hover > .lspd-managed-nav__dropdown,
.lspd-banner-navigation .lspd-managed-nav:focus-within > .lspd-managed-nav__dropdown {
	display: block;
}

.lspd-banner-navigation .lspd-managed-nav__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	gap: 1px;
	background: #ccd2d6;
}

.lspd-banner-navigation .lspd-managed-nav__grid > a {
	display: flex !important;
	gap: 12px;
	align-items: flex-start;
	padding: 14px !important;
	background: #f4f5f5 !important;
	color: #14212b !important;
	text-transform: none !important;
	text-decoration: none !important;
}

.lspd-banner-navigation .lspd-managed-nav__grid > a:hover {
	background: #e7eaec !important;
}

.lspd-banner-navigation .lspd-managed-nav__grid strong,
.lspd-banner-navigation .lspd-managed-nav__grid small {
	display: block;
	color: inherit;
}

.lspd-banner-navigation .lspd-managed-nav__grid small {
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.35;
	font-weight: 400;
}

html[data-theme="dark"] .lspd-banner-navigation .lspd-managed-nav__dropdown {
	background: #1c2226;
	color: #f5f7f8;
	border-color: #46525a;
}

html[data-theme="dark"] .lspd-banner-navigation .lspd-managed-nav__grid {
	background: #46525a;
}

html[data-theme="dark"] .lspd-banner-navigation .lspd-managed-nav__grid > a {
	background: #1c2226 !important;
	color: #f5f7f8 !important;
}

html[data-theme="dark"] .lspd-banner-navigation .lspd-managed-nav__grid > a:hover {
	background: #273139 !important;
}

.lspd-banner-navigation .lspd-managed-nav {
	align-items: stretch;
	display: flex !important;
}

.lspd-banner-navigation .lspd-managed-nav > a {
	flex: 1 1 auto;
}

.lspd-banner-navigation .lspd-managed-nav__toggle {
	align-items: center;
	background: transparent;
	border: 0;
	border-left: 1px solid rgba(255, 255, 255, .16);
	color: inherit;
	cursor: pointer;
	display: flex;
	justify-content: center;
	margin: 0;
	padding: 0 9px;
}

.lspd-banner-navigation .lspd-managed-nav__toggle:hover,
.lspd-banner-navigation .lspd-managed-nav__toggle:focus {
	background: rgba(255, 255, 255, .09);
	color: inherit;
}

@media (max-width: 700px) {
	.inventea-mobile-dropdown-menu .lspd-managed-nav__dropdown {
		display: block;
		position: static;
		width: auto;
		padding: 0 0 0 18px;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	.inventea-mobile-dropdown-menu .lspd-managed-nav__grid {
		display: block;
		background: transparent;
	}

	.inventea-mobile-dropdown-menu .lspd-managed-nav__grid > a {
		padding: 9px 12px !important;
		border-top: 1px solid #d5dade;
	}

	.inventea-mobile-dropdown-menu .lspd-managed-nav__caret {
		display: none;
	}

	.inventea-userbar .lspd-utility-menu-toggle {
		margin-left: -8px;
		margin-right: 0;
		width: 20px;
	}
}

/* Keep the custom utility menus authoritative over phpBB's generic dropdown state. */
.inventea-headerbar,
.inventea-headerbar .inventea-userbar,
.inventea-headerbar .inventea-user-menu,
.inventea-headerbar .dropdown-container {
	overflow: visible !important;
}

.inventea-userbar .dropdown-visible > .lspd-utility-panel,
.inventea-userbar .dropdown-visible > .lspd-utility-panel.dropdown-extended {
	display: block !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	visibility: visible !important;
	z-index: 10000 !important;
}

html[data-theme="dark"] .inventea-userbar .lspd-utility-trigger,
html[data-theme="dark"] .inventea-userbar .lspd-account-trigger,
html[data-theme="dark"] .inventea-userbar .lspd-utility-menu-toggle,
html[data-theme="dark"] .inventea-userbar .lspd-utility-trigger .icon,
html[data-theme="dark"] .inventea-userbar .lspd-account-trigger .icon,
html[data-theme="dark"] .inventea-userbar .lspd-account-trigger__text strong {
	color: #f5f7f8 !important;
}

html[data-theme="dark"] .inventea-userbar .lspd-account-trigger__text small,
html[data-theme="dark"] .inventea-userbar .lspd-account-chevron {
	color: #b9c5cc !important;
}

/* Unified topic rows and LSPD seal state icons. */
ul.topiclist.topics > li.row {
	background: #f7f7f7 !important;
	border-bottom: 1px solid #c8cdd1;
	color: #20262a;
}

ul.topiclist.topics > li.row:last-child {
	border-bottom: 0;
}

ul.topiclist.topics > li.row:hover {
	background: #edf2f5 !important;
}

ul.topiclist.topics > li.row > dl > dt,
ul.topiclist.topics > li.row > dl > dd {
	background: transparent !important;
}

ul.topiclist.topics > li.row > dl > dt.row-item,
ul.topiclist.topics > li.row > dl > dt.icon {
	background-image: none !important;
	box-sizing: border-box;
	position: relative;
	width: 58px;
}

ul.topiclist.topics > li.row > dl > dt.row-item:before,
ul.topiclist.topics > li.row > dl > dt.icon:before {
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 44px 44px;
	color: transparent !important;
	content: "" !important;
	display: block;
	font-family: inherit !important;
	height: 44px;
	left: 50%;
	line-height: 44px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 44px;
}

ul.topiclist.topics > li.row > dl > dt[class*="topic_read"]:before,
ul.topiclist.topics > li.row > dl > dt[class*="pm_read"]:before {
	background-image: url("./images/lspd/icons/topic-seal-read.png") !important;
}

ul.topiclist.topics > li.row > dl > dt[class*="topic_unread"]:before,
ul.topiclist.topics > li.row > dl > dt[class*="pm_unread"]:before {
	background-image: url("./images/lspd/icons/topic-seal-unread.png") !important;
}

ul.topiclist.topics > li.row > dl > dt[class*="topic_"][class*="_mine"]:before {
	background-image: url("./images/lspd/icons/topic-seal-new.png") !important;
}

ul.topiclist.topics > li.row > dl > dt[class*="global_"]:before {
	background-image: url("./images/lspd/icons/topic-seal-global.png") !important;
}

ul.topiclist.topics > li.row > dl > dt[class*="announce_"]:before {
	background-image: url("./images/lspd/icons/topic-seal-announcement.png") !important;
}

ul.topiclist.topics > li.row > dl > dt[class*="sticky_"]:before {
	background-image: url("./images/lspd/icons/topic-seal-sticky.png") !important;
}

ul.topiclist.topics > li.row > dl > dt[class*="_locked"]:after {
	align-items: center;
	background: #102d45;
	border: 2px solid #ffffff;
	border-radius: 50%;
	bottom: 3px;
	color: #ffffff;
	content: "\f023" !important;
	display: flex;
	font-family: FontAwesome !important;
	font-size: 9px;
	height: 17px;
	justify-content: center;
	left: auto;
	position: absolute;
	right: 3px;
	top: auto;
	transform: none;
	width: 17px;
}

html[data-theme="dark"] ul.topiclist.topics > li.row {
	background: #20272c !important;
	border-color: #46525a;
	color: #f2f4f5;
}

html[data-theme="dark"] ul.topiclist.topics > li.row:hover {
	background: #29343b !important;
}

html[data-theme="dark"] ul.topiclist.topics > li.row > dl > dt,
html[data-theme="dark"] ul.topiclist.topics > li.row > dl > dd {
	background: transparent !important;
}

/* 0.7.21: cohesive mobile utility controls and a true full-width navigation panel. */
.inventea-userbar button.switch-theme {
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
}

@media (max-width: 700px) {
	body.lspd-mobile-nav-open {
		overflow: hidden !important;
	}

	body.lspd-mobile-nav-open .inventea-headerbar {
		isolation: isolate;
		z-index: 50000 !important;
	}

	body.lspd-mobile-nav-open .inventea-headerbar .inventea-userbar,
	body.lspd-mobile-nav-open .inventea-mobile-dropdown-menu {
		z-index: 50001 !important;
	}

	body.lspd-mobile-nav-open .inventea-mobile-dropdown-menu .dropdown {
		isolation: isolate;
		z-index: 50002 !important;
	}

	.inventea-headerbar .inventea-userbar,
	body.section-index .inventea-headerbar .inventea-userbar {
		height: 56px !important;
		min-height: 56px !important;
	}

	.inventea-userbar > .inventea-user-menu {
		height: 56px !important;
		left: 8px;
		max-width: calc(100% - 64px);
		right: 56px;
		top: 0;
	}

	.inventea-userbar > .inventea-user-menu > li,
	.inventea-userbar > .inventea-user-menu > li + li {
		height: 56px !important;
	}

	.inventea-userbar .switch-theme,
	.inventea-mobile-dropdown-menu .inventea-toggle {
		align-items: center;
		appearance: none;
		background: #f1f3f4 !important;
		border: 1px solid #c7cfd4 !important;
		border-radius: 3px !important;
		box-shadow: none !important;
		box-sizing: border-box;
		color: #173047 !important;
		cursor: pointer;
		display: inline-flex;
		font: inherit;
		font-size: 17px;
		height: 40px !important;
		justify-content: center;
		line-height: 1;
		margin: 0 !important;
		min-height: 40px !important;
		padding: 0 !important;
		text-decoration: none;
		vertical-align: middle;
		width: 40px !important;
	}

	.inventea-userbar .switch-theme:hover,
	.inventea-userbar .switch-theme:focus,
	.inventea-mobile-dropdown-menu .inventea-toggle:hover,
	.inventea-mobile-dropdown-menu .inventea-toggle:focus,
	.inventea-mobile-dropdown-menu.dropdown-visible .inventea-toggle {
		background: #e2e7ea !important;
		border-color: #9eabb4 !important;
		color: #0d2940 !important;
		outline: 0;
	}

	.inventea-userbar .switch-theme .icon,
	.inventea-mobile-dropdown-menu .inventea-toggle .icon {
		align-items: center;
		color: currentColor !important;
		display: inline-flex;
		font-size: 17px;
		height: 20px;
		justify-content: center;
		line-height: 20px;
		margin: 0 !important;
		padding: 0;
		width: 20px;
	}

	.inventea-mobile-dropdown-menu {
		height: 40px;
		right: 8px !important;
		top: 8px !important;
		width: 40px;
	}

	.inventea-mobile-dropdown-menu .dropdown {
		background: #f7f8f8;
		border: 0 !important;
		border-top: 3px solid #173a55 !important;
		border-radius: 0 !important;
		box-shadow: 0 16px 34px rgba(5, 20, 31, .3);
		box-sizing: border-box;
		height: calc(100vh - 74px) !important;
		height: calc(100dvh - 74px) !important;
		left: 0 !important;
		margin: 0 !important;
		max-height: calc(100vh - 74px);
		max-height: calc(100dvh - 74px);
		max-width: none !important;
		overscroll-behavior: contain;
		overflow-x: hidden;
		overflow-y: auto;
		padding: 0;
		position: fixed !important;
		right: 0 !important;
		top: 74px !important;
		width: auto !important;
	}

	.inventea-mobile-dropdown-menu .dropdown-contents {
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
	}

	.inventea-mobile-dropdown-menu .dropdown-contents > li > a,
	.inventea-mobile-dropdown-menu .dropdown-contents > li > a:visited {
		font-size: 14px;
		min-height: 48px;
		padding: 11px 18px;
	}

	.inventea-mobile-dropdown-menu .lspd-mobile-menu-section {
		padding: 9px 18px !important;
	}

	html[data-theme="dark"] .inventea-userbar .switch-theme,
	html[data-theme="dark"] .inventea-mobile-dropdown-menu .inventea-toggle {
		background: #222b31 !important;
		border-color: #4a5861 !important;
		color: #f3f6f8 !important;
	}

	html[data-theme="dark"] .inventea-userbar .switch-theme:hover,
	html[data-theme="dark"] .inventea-userbar .switch-theme:focus,
	html[data-theme="dark"] .inventea-mobile-dropdown-menu .inventea-toggle:hover,
	html[data-theme="dark"] .inventea-mobile-dropdown-menu .inventea-toggle:focus,
	html[data-theme="dark"] .inventea-mobile-dropdown-menu.dropdown-visible .inventea-toggle {
		background: #303b42 !important;
		border-color: #70808a !important;
		color: #fff !important;
	}
}

/* 0.7.26: editable footer credits and balanced footer spacing. */
.inventea-footer-wrapper {
	margin-top: 0 !important;
	padding: 28px 0 30px;
}

.inventea-footer-wrapper .inventea-footer {
	align-items: flex-start;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	line-height: 1.55;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	padding: 0 28px;
}

.inventea-credits {
	float: none;
	max-width: 760px;
	min-width: 0;
	order: 1;
}

.inventea-footer-wrapper .inventea-footer > nav {
	margin-left: auto;
	min-width: 0;
	order: 2;
}

.inventea-credits p,
.lspd-footer-credits p {
	margin: 0;
}

.lspd-footer-credits {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.inventea-credits > .footer-row {
	margin-top: 10px;
}

#nav-footer {
	display: flex;
	float: none;
	flex-wrap: wrap;
	gap: 6px 12px;
	justify-content: flex-end;
	margin-bottom: 0;
	margin-top: 0;
	max-width: 620px;
}

@media (max-width: 900px) {
	.inventea-footer-wrapper {
		padding: 22px 0 24px;
	}

	.inventea-footer-wrapper .inventea-footer {
		flex-direction: column;
		gap: 14px;
		padding: 0 18px;
	}

	.inventea-footer-wrapper .inventea-footer > nav {
		margin-left: 0;
	}

	#nav-footer {
		justify-content: flex-start;
		max-width: none;
	}
}
