body.toplevel_page_solace,
body.solace_page_dashboard {
	background: #f3f7fe;
}

body.toplevel_page_solace .wrap.solace-home,
body.solace_page_dashboard .wrap.solace-home {
	min-height: calc(100vh - 32px);
	margin: 0;
	padding: 0 0 34px;
	background: #f3f7fe;
	color: #06143d;
	font-family: Poppins, sans-serif;
}

body.toplevel_page_solace .wrap.solace-home > nav,
body.solace_page_dashboard .wrap.solace-home > nav {
	display: block;
	min-height: 80px;
	margin-bottom: 0;
	padding-right: 20px;
	padding-left: 20px;
	background: linear-gradient(105deg, #001c54 0%, #000d3c 100%);
}

body.toplevel_page_solace .wrap.solace-home > nav .mycontainer,
body.solace_page_dashboard .wrap.solace-home > nav .mycontainer {
	width: 90%;
	max-width: none;
	height: 80px;
	margin: 0 auto;
	padding: 0;
}

body.toplevel_page_solace .wrap.solace-home > nav .logo2 img,
body.solace_page_dashboard .wrap.solace-home > nav .logo2 img {
	width: auto;
	height: 43px;
	padding: 0;
}

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

.solace-home__container {
	width: 90%;
	margin: 29px auto 0;
}

.solace-home__hero {
	position: relative;
	min-height: 276px;
	margin-bottom: 24px;
	border: 1px solid #8eb5fb;
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.76);
	box-shadow: 0 10px 32px rgba(35, 85, 170, 0.04);
	overflow: hidden;
}

.solace-home__hero-slider {
	position: relative;
	padding-bottom: 44px;
}

.solace-home__hero-track {
	position: relative;
	min-height: 276px;
}

.solace-home__hero-slide {
	display: grid;
	grid-template-columns: minmax(0, 44%) minmax(0, 56%);
	align-items: stretch;
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 420ms ease, visibility 420ms ease;
}

.solace-home__hero-slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
}

.solace-home__hero-controls {
	position: absolute;
	right: 18px;
	bottom: 9px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
}

.solace-home__hero-dots {
	display: flex;
	gap: 8px;
	align-items: center;
}

.solace-home__hero-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 1px solid #c8d6ed;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 8px rgba(35, 85, 170, 0.08);
	color: #173f9f;
	cursor: pointer;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.solace-home__hero-arrow .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 16px;
}

.solace-home__hero-arrow:hover,
.solace-home__hero-arrow:focus {
	border-color: #3266ce;
	background: #fff;
	box-shadow: 0 6px 18px rgba(35, 85, 170, 0.16);
	color: #0b4fe8;
}

.solace-home__hero-slider:focus {
	outline: none;
}

.solace-home__hero-slider:focus-visible {
	outline: 2px solid #3266ce;
	outline-offset: 4px;
	border-radius: 13px;
}

.solace-home__hero-arrow:focus-visible {
	outline: 2px solid #3266ce;
	outline-offset: 2px;
}

.solace-home__hero-dots button {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c8d6ed;
	cursor: pointer;
	transition: background 160ms ease, transform 160ms ease;
}

.solace-home__hero-dots button.is-active {
	background: #ff7900;
	transform: scale(1.15);
}

.solace-home__hero-dots button:focus-visible {
	outline: 2px solid #3266ce;
	outline-offset: 2px;
}

.solace-home__welcome {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 34px 38px;
}

.solace-home__welcome h1 {
	margin: 0 0 20px;
	color: #06143d;
	font-size: 31px;
	font-weight: 700;
	line-height: 1.2;
}

.solace-home__welcome p {
	max-width: 610px;
	margin: 0 0 10px;
	color: #111a32;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.65;
}

.solace-home__primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	align-self: flex-start;
	min-width: 232px;
	margin-top: 19px;
	padding: 12px 22px;
	border: 0;
	border-radius: 7px;
	background: linear-gradient(135deg, #ff9400 0%, #ff6a00 100%);
	box-shadow: 0 8px 18px rgba(255, 112, 0, 0.18);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.solace-home__primary-button:hover,
.solace-home__primary-button:focus {
	box-shadow: 0 11px 24px rgba(255, 112, 0, 0.28);
	color: #fff;
	transform: translateY(-1px);
}

.solace-home__primary-button .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 20px;
}

.solace-home__status-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	padding: 24px 0;
}

.solace-home__status {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 212px;
	padding: 16px 24px;
	border-left: 1px solid #c8d6ed;
	text-align: center;
}

.solace-home__status-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin-bottom: 20px;
	border: 1px solid #3266ce;
	border-radius: 10px;
	background: linear-gradient(145deg, #173f9f, #0d3181);
	box-shadow: 0 6px 15px rgba(11, 48, 128, 0.18);
	color: #fff;
	line-height: 62px;
}

.solace-home__status-icon--unavailable {
	border-color: #dc2626;
	background: linear-gradient(145deg, #dc2626, #991b1b);
	box-shadow: 0 6px 15px rgba(185, 28, 28, 0.2);
}

.solace-home__status-icon svg {
	display: block;
	width: 40px;
	height: 40px;
}

.solace-home__status h2,
.solace-home__metric-content h2 {
	margin: 0;
	color: #07143c;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
}

.solace-home__status p,
.solace-home__metric-content p {
	margin: 0;
	color: #374158;
	font-size: 12px;
	line-height: 1.55;
}

.solace-home__status p {
	max-width: 190px;
}

.solace-home__status h2 {
	margin: 0 0 12px;
}

.solace-home__metric-content p {
	margin: 0 0 6px;
}

.solace-home__metrics {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(96px, auto));
	gap: 14px;
	align-content: center;
	padding: 24px 24px 24px 0;
}

.solace-home__metric {
	display: flex;
	flex-direction: row;
	align-items: center;
	grid-column: span 2;
	gap: 14px;
	min-width: 0;
	min-height: 96px;
	padding: 12px 14px;
	border: 1px solid #aac6e8;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.58);
}

.solace-home__metric:nth-child(4),
.solace-home__metric--updates {
	grid-column: span 3;
}

.solace-home__metric-content {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.solace-home__metric-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border: 1px solid #b8d0ee;
	border-radius: 8px;
	background: linear-gradient(145deg, #edf5ff 0%, #e2efff 100%);
	flex-shrink: 0;
}

.solace-home__metric-icon img {
	display: block;
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.solace-home__metric-content .solace-home__metric-label {
	margin-bottom: 3px;
	color: #111a32;
	font-size: 12px;
	line-height: 1.45;
	white-space: nowrap;
}

.solace-home__metric-content .solace-home__metric-value {
	overflow: hidden;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.solace-home__metric-value.is-good {
	color: #18882a;
}

.solace-home__metric-value.is-warning {
	color: #ee6b00;
}

.solace-home__metric-value.is-critical {
	color: #c62828;
}

.solace-home__metric-value.is-recommended {
	color: #d97706;
}

.solace-home__metric-value .solace-home__metric-link {
	color: #0b4fe8;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.solace-home__metric-value .solace-home__metric-link:hover,
.solace-home__metric-value .solace-home__metric-link:focus {
	color: #073aa8;
	text-decoration: underline;
}

.solace-home__metric-link {
	align-self: flex-start;
	color: #0b4fe8;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.55;
	text-decoration: none;
}

.solace-home__metric-link:hover,
.solace-home__metric-link:focus {
	color: #073aa8;
	text-decoration: underline;
}

.solace-home__pagespeed-test {
	display: inline-flex;
	align-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	cursor: pointer;
}

.solace-home__pagespeed-test:disabled {
	opacity: 0.65;
	cursor: wait;
}

.solace-home__pagespeed-test[aria-busy="true"]::before {
	width: 10px;
	height: 10px;
	margin-right: 6px;
	border: 2px solid rgba(11, 79, 232, 0.25);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: solace-pagespeed-spin 700ms linear infinite;
	content: "";
}

.solace-home__metric--pagespeed.is-testing .solace-home__metric-icon img {
	animation: solace-pagespeed-pulse 1.1s ease-in-out infinite;
}

.solace-home__metric-content .solace-home__pagespeed-status {
	margin: 0;
	color: #374158;
	font-size: 12px;
	line-height: 1.55;
}

.solace-home__metric-content .solace-home__pagespeed-status.is-error {
	color: #c62828;
}

@keyframes solace-pagespeed-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes solace-pagespeed-pulse {
	0%,
	100% {
		opacity: 0.55;
		transform: scale(0.92);
	}

	50% {
		opacity: 1;
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.solace-home__pagespeed-test[aria-busy="true"]::before,
	.solace-home__metric--pagespeed.is-testing .solace-home__metric-icon img {
		animation: none;
	}
}

.solace-home__features {
	display: grid;
	grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
	gap: 24px;
	margin-bottom: 25px;
}

.solace-home__feature {
	display: grid;
	grid-template-columns: minmax(0, 45%) minmax(0, 55%);
	gap: 24px;
	align-items: stretch;
	box-sizing: border-box;
	height: 251px;
	padding: 32px;
	overflow: hidden;
	border: 1px solid #2554a5;
	border-radius: 13px;
	background: radial-gradient(circle at 84% 8%, #0b397d 0%, #05275f 36%, #001947 82%);
	box-shadow: 0 12px 30px rgba(0, 27, 78, 0.1);
}

.solace-home__feature-copy {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	position: relative;
	z-index: 1;
	min-height: 0;
	height: 100%;
	padding: 0;
}

.solace-home__feature-copy h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.35;
}

.solace-home__feature-copy p {
	margin: 0;
	color: #fff;
	font-size: 13px;
	line-height: 1.55;
}

.solace-home__feature-copy .solace-home__primary-button {
	min-width: 188px;
	margin-top: auto;
}

.solace-home__feature-image {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	min-height: 0;
	height: 100%;
	padding: 0;
}

.solace-home__feature-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right center;
}

.solace-home__resources {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.solace-home__resource {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
	min-height: 203px;
	padding: 22px 18px 18px;
	border: 1px solid #8eb5fb;
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.74);
}

.solace-home__resource-content {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.solace-home__resource-icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #e7f1ff;
	color: #0b4fe8;
}

.solace-home__resource-icon img {
	display: block;
	width: 43px;
	height: 43px;
	opacity: 0;
	object-fit: contain;
}

.solace-home__resource-icon::before {
	position: absolute;
	width: 43px;
	height: 43px;
	background: currentColor;
	content: "";
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.solace-home__resource:nth-child(1) .solace-home__resource-icon::before {
	-webkit-mask-image: url("../../assets/images/dashboard/contact.svg");
	mask-image: url("../../assets/images/dashboard/contact.svg");
}

.solace-home__resource:nth-child(2) .solace-home__resource-icon::before {
	-webkit-mask-image: url("../../assets/images/dashboard/docs.svg");
	mask-image: url("../../assets/images/dashboard/docs.svg");
}

.solace-home__resource:nth-child(3) .solace-home__resource-icon::before {
	-webkit-mask-image: url("../../assets/images/dashboard/pro.svg");
	mask-image: url("../../assets/images/dashboard/pro.svg");
}

.solace-home__resource:nth-child(4) .solace-home__resource-icon::before {
	-webkit-mask-image: url("../../assets/images/dashboard/sugges.svg");
	mask-image: url("../../assets/images/dashboard/sugges.svg");
}

.solace-home__resource h2 {
	margin: 7px 0 8px;
	color: #07143b;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.solace-home__resource p {
	margin: 0;
	color: #111a32;
	font-size: 12px;
	line-height: 1.55;
}

.solace-home__resource > a,
.solace-home__active-label {
	display: block;
	align-self: flex-start;
	min-width: 157px;
	padding: 7px 18px;
	border: 1px solid #ff7900;
	border-radius: 6px;
	background: transparent;
	color: #ee6b00;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	transition: background 160ms ease, color 160ms ease;
}

.solace-home__resource > a:hover,
.solace-home__resource > a:focus {
	background: #ff7900;
	color: #fff;
}

.solace-home__active-label {
	border-color: #18882a;
	color: #18882a;
}

@media (max-width: 1500px) {
	.solace-home__container {
		width: 90%;
	}

	.solace-home__hero-slide {
		grid-template-columns: minmax(0, 44%) minmax(0, 56%);
	}

	.solace-home__hero-track {
		min-height: 276px;
	}

	.solace-home__welcome {
		padding: 34px 38px;
	}

	.solace-home__status {
		padding-right: 18px;
		padding-left: 18px;
	}

	.solace-home__feature {
		grid-template-columns: minmax(0, 45%) minmax(0, 55%);
	}

	.solace-home__resource-content {
		grid-template-columns: 60px minmax(0, 1fr);
		gap: 12px;
	}

	.solace-home__resource-icon {
		width: 58px;
		height: 58px;
	}

	.solace-home__resource-icon img,
	.solace-home__resource-icon::before {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 1240px) {
	.solace-home__feature {
		grid-template-columns: 1fr;
		gap: 20px;
		height: auto;
		min-height: 0;
		padding: 32px;
		text-align: center;
	}

	.solace-home__feature-copy {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		height: auto;
		padding: 0;
	}

	.solace-home__feature-copy .solace-home__primary-button {
		align-self: center;
		margin-top: 19px;
	}

	.solace-home__feature-image {
		justify-content: center;
		height: auto;
		min-height: 180px;
		max-height: 240px;
		padding: 0;
	}

	.solace-home__feature-image img {
		width: 100%;
		height: auto;
		max-height: 240px;
		object-position: center center;
	}
}

@media (max-width: 900px) {
	.solace-home__hero-slide {
		grid-template-columns: 1fr;
	}

	.solace-home__hero-track {
		min-height: auto;
	}

	.solace-home__hero-slide:not(.is-active) {
		position: absolute;
	}

	.solace-home__welcome {
		align-items: center;
		text-align: center;
	}

	.solace-home__status-list {
		padding-top: 0;
	}

	.solace-home__metrics {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		padding: 0 20px 44px;
	}

	.solace-home__metric {
		grid-column: span 2;
	}

	.solace-home__metric:nth-child(4),
	.solace-home__metric--updates {
		grid-column: span 3;
	}

	.solace-home__status:first-child {
		border-left: 0;
	}

	.solace-home__features {
		grid-template-columns: 1fr;
	}

	.solace-home__resources {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	body.toplevel_page_solace .wrap.solace-home,
	body.solace_page_dashboard .wrap.solace-home {
		min-height: calc(100vh - 46px);
	}

	.solace-home__container {
		width: calc(100% - 24px);
		margin-top: 20px;
	}

	.solace-home__hero {
		min-height: auto;
	}

	.solace-home__hero-track {
		min-height: auto;
	}

	.solace-home__hero-controls {
		right: 14px;
		bottom: 9px;
		gap: 8px;
	}

	.solace-home__metrics {
		grid-template-columns: 1fr;
		padding-bottom: 48px;
	}

	.solace-home__metric,
	.solace-home__metric:nth-child(4),
	.solace-home__metric--updates {
		grid-column: span 1;
	}

	.solace-home__welcome {
		padding: 30px 22px;
	}

	.solace-home__welcome h1 {
		font-size: 28px;
	}

	.solace-home__status-list {
		grid-template-columns: 1fr;
		padding: 0 20px 22px;
	}

	.solace-home__status,
	.solace-home__status:first-child {
		min-height: auto;
		padding: 24px 18px;
		border-top: 1px solid #c8d6ed;
		border-left: 0;
	}

	.solace-home__feature-copy h2 {
		font-size: 21px;
	}

	.solace-home__feature-copy .solace-home__primary-button {
		width: 100%;
		max-width: 280px;
		min-width: 0;
	}

	.solace-home__resources {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.solace-home__primary-button {
		width: 100%;
		min-width: 0;
	}

	.solace-home__feature {
		padding: 24px;
		gap: 16px;
	}

	.solace-home__feature-copy h2 {
		font-size: 19px;
	}

	.solace-home__feature-copy p {
		font-size: 12px;
	}

	.solace-home__feature-image {
		min-height: 150px;
		max-height: 200px;
	}

	.solace-home__feature-image img {
		max-height: 200px;
	}

	.solace-home__resource-content {
		grid-template-columns: 58px minmax(0, 1fr);
	}
}
