:root{
	--ercr-ink:#17143b;
	--ercr-text:#45485f;
	--ercr-muted:#6a6d82;
	--ercr-line:#e2e5ee;
	--ercr-surface:#ffffff;
	--ercr-soft:#f6f7fb;
	--ercr-accent:#5042d6;
	--ercr-accent-dark:#30269d;
	--ercr-success:#17654f;
}

.ercr-company-profile{
	box-sizing:border-box;
	position:relative;
	width:100%;
	max-width:1180px!important;
	margin:38px auto 46px!important;
	color:var(--ercr-ink);
}

.ercr-company-profile *{box-sizing:border-box}

.ercr-card{
	background:var(--ercr-surface);
	border:1px solid var(--ercr-line);
	border-radius:20px;
	box-shadow:0 18px 50px rgba(27,22,78,.07);
}

.ercr-profile-overview{
	display:grid;
	grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);
	gap:28px;
	padding:32px;
	margin-bottom:24px;
}

.ercr-brand-line{
	display:flex;
	align-items:center;
	gap:18px;
}

.ercr-company-logo,
.ercr-card-logo{
	display:grid;
	place-items:center;
	overflow:hidden;
	flex:0 0 auto;
	background:#fff;
	border:1px solid var(--ercr-line);
	box-shadow:0 10px 25px rgba(27,22,78,.1);
}

.ercr-company-logo{
	width:82px;
	height:82px;
	border-radius:20px;
}

.ercr-card-logo{
	width:64px;
	height:64px;
	border-radius:16px;
}

.ercr-company-logo img,
.ercr-card-logo img{
	width:100%;
	height:100%;
	object-fit:contain;
	padding:8px;
}

.ercr-company-logo span,
.ercr-card-logo span{
	color:var(--ercr-accent);
	font-size:32px;
	font-weight:800;
}

.ercr-eyebrow,
.ercr-card-type{
	margin:0 0 5px;
	color:var(--ercr-accent-dark);
	font-size:12px;
	font-weight:800;
	letter-spacing:.08em;
	text-transform:uppercase;
}

.ercr-brand-line h2{
	margin:0;
	font-size:clamp(30px,4vw,45px);
	line-height:1;
	letter-spacing:-.035em;
}

.ercr-profile-label{
	margin:7px 0 0;
	color:var(--ercr-muted);
	font-size:14px;
	font-weight:600;
}

.ercr-short-description{
	max-width:760px;
	margin:24px 0 0;
	color:var(--ercr-text);
	font-size:17px;
	line-height:1.7;
}

.ercr-badges{
	display:flex;
	flex-wrap:wrap;
	gap:9px;
	margin-top:22px;
}

.ercr-badges span{
	padding:7px 11px;
	border:1px solid #dfddf8;
	border-radius:999px;
	background:#f8f7ff;
	color:#413797;
	font-size:12px;
	font-weight:700;
}

.ercr-rating-panel{
	padding:23px;
	border:1px solid #dfddf8;
	border-radius:16px;
	background:linear-gradient(155deg,#fbfaff,#f0efff);
}

.ercr-panel-label{
	margin:0 0 14px;
	color:var(--ercr-muted);
	font-size:13px;
	font-weight:800;
	letter-spacing:.08em;
	text-transform:uppercase;
}

.ercr-editorial-score{
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:15px;
	margin-top:18px;
	padding-top:17px;
	border-top:1px solid #dcd9f4;
}

.ercr-editorial-score span{
	color:var(--ercr-muted);
	font-size:13px;
}

.ercr-editorial-score strong{
	font-size:22px;
}

.ercr-small{
	margin:17px 0 0;
	color:var(--ercr-muted);
	font-size:12px;
	line-height:1.55;
}

.ercr-profile-grid{
	display:grid;
	grid-template-columns:minmax(0,1fr) minmax(290px,.46fr);
	gap:24px;
	margin-bottom:24px;
}

.ercr-about-section,
.ercr-snapshot,
.ercr-reviews,
.ercr-review-form{
	padding:30px;
}

.ercr-about-section h2,
.ercr-snapshot h2,
.ercr-reviews h2,
.ercr-review-form h2{
	margin-top:0;
	color:var(--ercr-ink);
	font-size:27px;
	line-height:1.2;
	letter-spacing:-.025em;
}

.ercr-about-section h3{
	margin:28px 0 12px;
	font-size:20px;
}

.ercr-inner-content{
	color:var(--ercr-text);
}

.ercr-inner-content>:first-child{
	margin-top:0;
}

.ercr-inner-content>:last-child{
	margin-bottom:0;
}

.ercr-evaluation-list{
	padding-left:21px;
	color:var(--ercr-text);
}

.ercr-editorial-note{
	margin-top:25px;
	padding:17px 18px;
	border-left:4px solid var(--ercr-accent);
	border-radius:0 11px 11px 0;
	background:var(--ercr-soft);
	color:var(--ercr-text);
}

.ercr-editorial-note strong{
	display:block;
	margin-bottom:5px;
	color:var(--ercr-ink);
}

.ercr-editorial-note p:last-child{
	margin-bottom:0;
}

.ercr-full-review-link{
	margin-top:22px;
	font-weight:700;
}

.ercr-full-review-link a{
	color:var(--ercr-accent-dark);
}

.ercr-snapshot dl{
	margin:0;
}

.ercr-snapshot dl>div{
	display:grid;
	grid-template-columns:1fr auto;
	gap:15px;
	padding:13px 0;
	border-bottom:1px solid var(--ercr-line);
}

.ercr-snapshot dl>div:last-child{
	border-bottom:0;
}

.ercr-snapshot dt{
	color:var(--ercr-muted);
	font-size:13px;
}

.ercr-snapshot dd{
	margin:0;
	text-align:right;
	font-size:13px;
	font-weight:700;
}

.ercr-button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	margin-top:22px;
	padding:11px 15px;
	border:1px solid var(--ercr-line);
	border-radius:10px;
	background:#fff;
	color:var(--ercr-accent-dark);
	font-size:13px;
	font-weight:700;
	text-decoration:none;
}

.ercr-reviews,
.ercr-review-form{
	margin-bottom:24px;
}

.ercr-section-heading{
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:28px;
	margin-bottom:22px;
}

.ercr-section-heading h2{
	margin-bottom:0;
}

.ercr-section-heading>p{
	max-width:540px;
	margin:0;
	color:var(--ercr-muted);
	font-size:14px;
	line-height:1.65;
}

.ercr-guidelines{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:12px;
	margin-top:24px;
}

.ercr-guidelines>div{
	padding:16px;
	border:1px solid var(--ercr-line);
	border-radius:13px;
	background:var(--ercr-soft);
}

.ercr-guidelines strong,
.ercr-guidelines span{
	display:block;
}

.ercr-guidelines strong{
	margin-bottom:5px;
	font-size:14px;
}

.ercr-guidelines span{
	color:var(--ercr-muted);
	font-size:12px;
	line-height:1.55;
}

.ercr-form-intro{
	padding:22px 24px;
	margin-bottom:22px;
	border:1px solid #d7e9e2;
	border-radius:14px;
	background:#f3faf7;
}

.ercr-form-intro h2{
	margin-bottom:8px;
	color:var(--ercr-success);
}

.ercr-form-intro p:last-child{
	margin-bottom:0;
	color:#436258;
	font-size:14px;
}

.ercr-company-profile .glsr{
	--glsr-primary:var(--ercr-accent);
}

.ercr-company-directory{
	width:100%;
}

.ercr-directory-heading{
	max-width:800px;
	margin-bottom:28px;
}

.ercr-directory-heading h2{
	margin:0 0 14px;
	font-size:clamp(30px,4vw,44px);
	line-height:1.08;
	letter-spacing:-.035em;
}

.ercr-directory-heading>p:last-child{
	margin:0;
	color:var(--ercr-text);
	font-size:17px;
	line-height:1.7;
}

.ercr-company-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:22px;
}

.ercr-company-card{
	min-width:0;
}

.ercr-company-card-link{
	display:flex;
	flex-direction:column;
	height:100%;
	padding:25px;
	border:1px solid var(--ercr-line);
	border-radius:18px;
	background:#fff;
	box-shadow:0 12px 35px rgba(27,22,78,.055);
	color:var(--ercr-ink);
	text-decoration:none;
	transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.ercr-company-card-link:hover{
	transform:translateY(-3px);
	border-color:#d4d0fa;
	box-shadow:0 20px 46px rgba(27,22,78,.1);
}

.ercr-company-card-top{
	display:flex;
	align-items:center;
	gap:15px;
}

.ercr-company-card h3{
	margin:0;
	font-size:24px;
	line-height:1.1;
	letter-spacing:-.025em;
}

.ercr-card-description{
	margin:20px 0;
	color:var(--ercr-text);
	font-size:14px;
	line-height:1.65;
}

.ercr-card-rating{
	margin-top:auto;
	padding-top:4px;
}

.ercr-card-footer{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	margin-top:18px;
	padding-top:17px;
	border-top:1px solid var(--ercr-line);
	font-size:12px;
}

.ercr-card-footer span{
	color:var(--ercr-muted);
}

.ercr-card-footer strong{
	color:var(--ercr-accent-dark);
}

.ercr-empty{
	padding:30px;
}

@media(max-width:960px){
	.ercr-profile-overview,
	.ercr-profile-grid{
		grid-template-columns:1fr;
	}

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

@media(max-width:700px){
	.ercr-company-profile{
		width:min(100%,calc(100vw - 24px));
		margin-top:25px;
	}

	.ercr-profile-overview,
	.ercr-about-section,
	.ercr-snapshot,
	.ercr-reviews,
	.ercr-review-form{
		padding:22px;
	}

	.ercr-company-grid{
		grid-template-columns:1fr;
	}

	.ercr-section-heading{
		display:block;
	}

	.ercr-section-heading>p{
		margin-top:9px;
	}

	.ercr-guidelines{
		grid-template-columns:1fr;
	}
}

@media(max-width:480px){
	.ercr-brand-line{
		align-items:flex-start;
	}

	.ercr-company-logo{
		width:64px;
		height:64px;
		border-radius:16px;
	}

	.ercr-snapshot dl>div{
		grid-template-columns:1fr;
		gap:3px;
	}

	.ercr-snapshot dd{
		text-align:left;
	}
}


/* -------------------------------------------------------------------------
   Theme compatibility for Company profiles
   ------------------------------------------------------------------------- */

/*
 * Kadence and similar editorial themes normally keep the article body inside
 * a narrow reading card. Company profiles need the same hero/header but a
 * wider centered content area.
 */
body.ercr-company-article .content-container,
body.ercr-company-article .site-container,
body.ercr-company-article #primary,
body.ercr-company-article .content-area,
body.ercr-company-article .site-main,
body.ercr-company-article article.er_company,
body.ercr-company-article .entry-content-wrap,
body.ercr-company-article .entry-content,
body.ercr-company-article .single-content{
	box-sizing:border-box;
}

body.ercr-company-article .content-container{
	display:block!important;
	width:min(1180px,calc(100% - 32px))!important;
	max-width:1180px!important;
	margin-left:auto!important;
	margin-right:auto!important;
}

body.ercr-company-article #primary,
body.ercr-company-article .content-area,
body.ercr-company-article .site-main,
body.ercr-company-article article.er_company{
	width:100%!important;
	max-width:1180px!important;
	margin-left:auto!important;
	margin-right:auto!important;
}

body.ercr-company-article .entry-content-wrap{
	width:100%!important;
	max-width:1180px!important;
	margin-left:auto!important;
	margin-right:auto!important;
	padding:0!important;
	background:transparent!important;
	border:0!important;
	border-radius:0!important;
	box-shadow:none!important;
}

body.ercr-company-article .entry-content,
body.ercr-company-article .single-content{
	width:100%!important;
	max-width:none!important;
	margin-left:0!important;
	margin-right:0!important;
}

/*
 * The ordinary post template uses a transparent navigation row over the blue
 * hero. Custom post types do not always receive Kadence's transparent-header
 * conditions, so these declarations provide a scoped fallback.
 */
body.ercr-company-article #masthead,
body.ercr-company-article .site-header{
	position:absolute!important;
	top:0;
	left:0;
	right:0;
	z-index:1000;
	width:100%;
	background:rgba(13,70,166,.72)!important;
	border:0!important;
	box-shadow:none!important;
}

body.admin-bar.ercr-company-article #masthead,
body.admin-bar.ercr-company-article .site-header{
	top:32px;
}

body.ercr-company-article .site-main-header-wrap,
body.ercr-company-article .site-main-header-wrap .site-header-row-container-inner,
body.ercr-company-article .site-header-row-container,
body.ercr-company-article .site-header-row-container-inner,
body.ercr-company-article .site-header-inner-wrap,
body.ercr-company-article .site-header-upper-inner-wrap{
	background:transparent!important;
	border:0!important;
	box-shadow:none!important;
}

body.ercr-company-article #masthead .main-navigation a,
body.ercr-company-article #masthead .site-header-item,
body.ercr-company-article #masthead .site-header-item a,
body.ercr-company-article .site-header .main-navigation a,
body.ercr-company-article .site-header .site-header-item a{
	color:#fff!important;
}

body.ercr-company-article #masthead .menu-toggle-open,
body.ercr-company-article .site-header .menu-toggle-open{
	color:#fff!important;
}

/* Prevent a duplicated empty theme card from appearing above the profile. */
body.ercr-company-article .entry-content-wrap:empty{
	display:none!important;
}

@media(max-width:782px){
	body.admin-bar.ercr-company-article #masthead,
	body.admin-bar.ercr-company-article .site-header{
		top:46px;
	}
}

@media(max-width:700px){
	body.ercr-company-article .content-container{
		width:min(100%,calc(100% - 20px))!important;
	}
}


/* -------------------------------------------------------------------------
   1.4.2 — remove the narrow white article card behind company profiles
   ------------------------------------------------------------------------- */

body.ercr-company-article main,
body.ercr-company-article #main,
body.ercr-company-article #primary,
body.ercr-company-article .content-area,
body.ercr-company-article .site-main,
body.ercr-company-article article,
body.ercr-company-article article.entry,
body.ercr-company-article article.er_company,
body.ercr-company-article .entry,
body.ercr-company-article .post-inner,
body.ercr-company-article .content-bg,
body.ercr-company-article .entry-content-wrap,
body.ercr-company-article .entry-content,
body.ercr-company-article .single-content {
	background:transparent!important;
	background-color:transparent!important;
	border:0!important;
	border-radius:0!important;
	box-shadow:none!important;
}

/*
 * Kadence places the article body inside .entry-content-wrap. Using
 * display:contents removes only that visual wrapper while retaining the
 * Gutenberg profile block and all of its content.
 */
body.ercr-company-article .entry-content-wrap {
	display:contents!important;
	padding:0!important;
	margin:0!important;
}

body.ercr-company-article .entry-content-wrap::before,
body.ercr-company-article .entry-content-wrap::after,
body.ercr-company-article article.entry::before,
body.ercr-company-article article.entry::after,
body.ercr-company-article .content-bg::before,
body.ercr-company-article .content-bg::after {
	display:none!important;
	content:none!important;
}

/* Remove the theme's reading-column spacing before the company block. */
body.ercr-company-article article.entry,
body.ercr-company-article article.er_company,
body.ercr-company-article .site-main > article {
	width:100%!important;
	max-width:none!important;
	margin:0!important;
	padding:0!important;
}

body.ercr-company-article .entry-content,
body.ercr-company-article .single-content {
	width:100%!important;
	max-width:none!important;
	margin:0!important;
	padding:0!important;
}

/* Keep the actual profile centered independently of the article wrapper. */
body.ercr-company-article .ercr-company-profile {
	position:relative!important;
	left:auto!important;
	right:auto!important;
	transform:none!important;
	width:min(1180px,calc(100vw - 32px))!important;
	max-width:1180px!important;
	margin:34px auto 46px!important;
}

/* Remove empty paragraphs/blocks sometimes left before the dynamic profile. */
body.ercr-company-article .entry-content > p:empty,
body.ercr-company-article .entry-content > .wp-block-spacer:empty,
body.ercr-company-article .single-content > p:empty {
	display:none!important;
	margin:0!important;
	padding:0!important;
}

@media(max-width:700px) {
	body.ercr-company-article .ercr-company-profile {
		width:calc(100vw - 20px)!important;
		margin-top:22px!important;
	}
}


/* -------------------------------------------------------------------------
   1.4.3 — force true centering and remove leftover sidebar offsets
   ------------------------------------------------------------------------- */

/* Some theme layouts reserve a sidebar column even when none is visible. */
body.ercr-company-article .content-container,
body.ercr-company-article .site-container,
body.ercr-company-article .content-wrap,
body.ercr-company-article .site-main-section,
body.ercr-company-article .site-content{
	display:flex!important;
	justify-content:center!important;
	align-items:flex-start!important;
	gap:0!important;
	width:100%!important;
	max-width:none!important;
	margin-left:auto!important;
	margin-right:auto!important;
	padding-left:16px!important;
	padding-right:16px!important;
	grid-template-columns:minmax(0,1fr)!important;
}

body.ercr-company-article #primary,
body.ercr-company-article .content-area,
body.ercr-company-article .site-main,
body.ercr-company-article article,
body.ercr-company-article article.entry,
body.ercr-company-article article.er_company{
	float:none!important;
	flex:0 1 1180px!important;
	width:100%!important;
	max-width:1180px!important;
	margin-left:auto!important;
	margin-right:auto!important;
}

body.ercr-company-article #secondary,
body.ercr-company-article .sidebar,
body.ercr-company-article .sidebar-container,
body.ercr-company-article .secondary-sidebar,
body.ercr-company-article aside.widget-area{
	display:none!important;
	width:0!important;
	max-width:0!important;
	margin:0!important;
	padding:0!important;
	flex:0 0 0!important;
}

/* Center the actual company profile block in every case. */
body.ercr-company-article .entry-content,
body.ercr-company-article .single-content{
	display:flex!important;
	flex-direction:column!important;
	align-items:center!important;
}

body.ercr-company-article .ercr-company-profile{
	align-self:center!important;
	margin-left:auto!important;
	margin-right:auto!important;
}

@media(max-width:700px){
	body.ercr-company-article .content-container,
	body.ercr-company-article .site-container,
	body.ercr-company-article .content-wrap,
	body.ercr-company-article .site-main-section,
	body.ercr-company-article .site-content{
		padding-left:10px!important;
		padding-right:10px!important;
	}
}


/* -------------------------------------------------------------------------
   1.4.4 — exact visual centering inside the site's visible canvas
   ------------------------------------------------------------------------- */

body.ercr-company-article .ercr-company-profile {
	position:relative!important;
	left:auto!important;
	right:auto!important;
	width:min(1180px,calc(100vw - 32px))!important;
	max-width:1180px!important;
	margin:34px auto 46px!important;
	transform:translateX(var(--ercr-center-shift,0px))!important;
	will-change:transform;
}

@media(max-width:700px) {
	body.ercr-company-article .ercr-company-profile {
		width:calc(100vw - 20px)!important;
	}
}


/* -------------------------------------------------------------------------
   1.4.5 — wide, centered company directory and improved cards
   ------------------------------------------------------------------------- */

.ercr-company-directory{
	position:relative!important;
	left:auto!important;
	right:auto!important;
	box-sizing:border-box!important;
	width:min(1180px,calc(100vw - 32px))!important;
	max-width:1180px!important;
	margin:34px auto 60px!important;
	transform:translateX(var(--ercr-center-shift,0px))!important;
	will-change:transform;
}

.ercr-directory-heading{
	max-width:780px!important;
	margin:0 auto 30px!important;
	text-align:center;
}

.ercr-directory-heading .ercr-eyebrow{
	margin-bottom:8px;
}

.ercr-directory-heading h2{
	margin-bottom:12px!important;
}

.ercr-company-grid{
	display:grid!important;
	grid-template-columns:repeat(3,minmax(0,1fr))!important;
	gap:24px!important;
	width:100%!important;
	max-width:none!important;
	margin:0!important;
}

.ercr-company-grid--count-1{
	grid-template-columns:minmax(340px,430px)!important;
	justify-content:center!important;
}

.ercr-company-grid--count-2{
	grid-template-columns:repeat(2,minmax(320px,430px))!important;
	justify-content:center!important;
}

.ercr-company-card-link{
	min-height:390px;
	padding:27px!important;
	border-radius:20px!important;
}

.ercr-company-card-top{
	align-items:center!important;
}

.ercr-card-type{
	margin-bottom:5px!important;
	line-height:1.35;
}

.ercr-card-description{
	display:-webkit-box;
	min-height:138px;
	margin:21px 0!important;
	overflow:hidden;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:6;
}

.ercr-company-card .glsr-summary-percentages{
	display:none!important;
}

.ercr-company-card .glsr-summary{
	margin-top:0!important;
}

.ercr-company-card .ercr-card-rating{
	padding:14px 0 0!important;
	border-top:1px solid var(--ercr-line);
}

.ercr-card-footer{
	margin-top:auto!important;
}

/* Keep the page's shortcode output from inheriting the narrow reading column. */
body:has(.ercr-company-directory) .entry-content,
body:has(.ercr-company-directory) .single-content{
	overflow:visible!important;
}

/* The restored page already has a hero introduction, so the directory itself
   uses a clean centered heading below it. */
@media(max-width:960px){
	.ercr-company-grid,
	.ercr-company-grid--count-2{
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
	}

	.ercr-company-grid--count-1{
		grid-template-columns:minmax(320px,430px)!important;
	}
}

@media(max-width:700px){
	.ercr-company-directory{
		width:calc(100vw - 20px)!important;
		margin-top:24px!important;
	}

	.ercr-directory-heading{
		text-align:left;
	}

	.ercr-company-grid,
	.ercr-company-grid--count-1,
	.ercr-company-grid--count-2{
		grid-template-columns:1fr!important;
	}

	.ercr-company-card-link{
		min-height:0;
	}

	.ercr-card-description{
		min-height:0;
		-webkit-line-clamp:8;
	}
}


/* -------------------------------------------------------------------------
   1.5.0 — Bayesian EcomReality User Score
   ------------------------------------------------------------------------- */

.ercr-user-score{width:100%}
.ercr-user-score-label{margin:0 0 13px;color:var(--ercr-muted);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.ercr-user-score-main{display:flex;align-items:center;gap:13px}
.ercr-user-score-number{display:flex;align-items:baseline;gap:2px;white-space:nowrap}
.ercr-user-score-number strong{color:var(--ercr-ink);font-size:34px;line-height:1;letter-spacing:-.04em}
.ercr-user-score-number span{color:var(--ercr-muted);font-size:14px;font-weight:700}
.ercr-score-stars{position:relative;display:inline-block;overflow:hidden;width:92px;height:21px;font-size:20px;line-height:1;letter-spacing:0;white-space:nowrap}
.ercr-score-stars-base,.ercr-score-stars-fill{position:absolute;top:0;left:0;display:block}
.ercr-score-stars-base{color:#d8dbe5}
.ercr-score-stars-fill{overflow:hidden;color:#f5a800}
.ercr-user-score-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px 9px;margin-top:9px;color:var(--ercr-muted);font-size:12px}
.ercr-confidence{display:inline-flex;align-items:center;padding:4px 8px;border:1px solid #dddff0;border-radius:999px;background:#f6f7fb;color:#52566d;font-size:10px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}
.ercr-confidence--low{border-color:#eadbb3;background:#fff9ea;color:#866215}
.ercr-confidence--developing{border-color:#d6dcf6;background:#f4f6ff;color:#46558d}
.ercr-confidence--moderate{border-color:#cae3df;background:#effaf7;color:#29695f}
.ercr-confidence--high,.ercr-confidence--very-high{border-color:#b9ddc9;background:#edf9f1;color:#24613d}
.ercr-score-distribution{display:grid;gap:6px;margin-top:18px}
.ercr-score-row{display:grid;grid-template-columns:62px minmax(70px,1fr) 31px;align-items:center;gap:8px;color:var(--ercr-muted);font-size:11px}
.ercr-score-row strong{text-align:right;color:var(--ercr-muted);font-size:10px}
.ercr-score-bar{display:block;height:8px;overflow:hidden;border-radius:999px;background:#dddfea}
.ercr-score-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6657dd,#8a7ff0)}
.ercr-user-score-details{display:grid;gap:5px;margin-top:15px;padding-top:13px;border-top:1px solid #dcd9f4;color:var(--ercr-muted);font-size:11px;line-height:1.45}
.ercr-user-score-details small{color:var(--ercr-muted);font-size:10px;line-height:1.45}
.ercr-user-score-empty{display:grid;gap:5px;padding:13px 14px;border:1px dashed #d3d5e3;border-radius:11px;background:rgba(255,255,255,.55)}
.ercr-user-score-empty strong{color:var(--ercr-ink);font-size:16px}
.ercr-user-score-empty span{color:var(--ercr-muted);font-size:11px;line-height:1.45}
.ercr-user-score--compact{padding:0}
.ercr-user-score--compact .ercr-user-score-label{margin-bottom:8px;font-size:10px}
.ercr-user-score--compact .ercr-user-score-number strong{font-size:27px}
.ercr-user-score--compact .ercr-score-stars{width:78px;height:18px;font-size:17px}
.ercr-user-score--compact .ercr-user-score-meta{margin-top:7px}
.ercr-user-score--compact .ercr-user-score-details{margin-top:10px;padding-top:9px}
.ercr-user-score--compact .ercr-confidence{font-size:9px}
.ercr-company-card .glsr-summary{display:none!important}
@media(max-width:480px){.ercr-user-score-main{align-items:flex-start;flex-direction:column;gap:8px}}


/* -------------------------------------------------------------------------
   1.5.1 — keep the Site Reviews form inside the company card
   ------------------------------------------------------------------------- */

.ercr-company-profile .ercr-review-form,
.ercr-company-profile .ercr-review-form .glsr,
.ercr-company-profile .ercr-review-form .glsr-form-wrap,
.ercr-company-profile .ercr-review-form .glsr-form,
.ercr-company-profile .ercr-review-form form,
.ercr-company-profile .ercr-review-form .glsr-field,
.ercr-company-profile .ercr-review-form .glsr-field-group {
	box-sizing:border-box!important;
	width:100%!important;
	max-width:100%!important;
	min-width:0!important;
}

.ercr-company-profile .ercr-review-form .glsr-field {
	overflow:visible!important;
}

.ercr-company-profile .ercr-review-form input[type="text"],
.ercr-company-profile .ercr-review-form input[type="email"],
.ercr-company-profile .ercr-review-form input[type="url"],
.ercr-company-profile .ercr-review-form input[type="tel"],
.ercr-company-profile .ercr-review-form input[type="number"],
.ercr-company-profile .ercr-review-form textarea,
.ercr-company-profile .ercr-review-form select {
	display:block!important;
	box-sizing:border-box!important;
	width:100%!important;
	max-width:100%!important;
	min-width:0!important;
	margin-left:0!important;
	margin-right:0!important;
}

.ercr-company-profile .ercr-review-form textarea {
	min-height:150px!important;
	overflow-x:hidden!important;
	overflow-y:auto!important;
	resize:vertical!important;
	white-space:pre-wrap!important;
	overflow-wrap:anywhere!important;
	word-break:break-word!important;
}

.ercr-company-profile .ercr-review-form input {
	overflow:hidden!important;
	text-overflow:ellipsis;
}

.ercr-company-profile .ercr-review-form label,
.ercr-company-profile .ercr-review-form .glsr-label,
.ercr-company-profile .ercr-review-form .glsr-description {
	max-width:100%!important;
	overflow-wrap:anywhere!important;
	word-break:break-word!important;
}

/* Neutralise flex/grid min-content expansion caused by a long unbroken word. */
.ercr-company-profile .ercr-review-form * {
	min-inline-size:0;
}

@media(max-width:700px) {
	.ercr-company-profile .ercr-review-form textarea {
		min-height:180px!important;
	}
}


/* -------------------------------------------------------------------------
   1.5.2 — verified-only public reviews and rating calculations
   ------------------------------------------------------------------------- */

.ercr-reviews .glsr-review .glsr-tag-value[data-tag="verified"]{
	font-weight:700;
}

.ercr-user-score-label::after{
	content:"Verified reviews only";
	display:inline-flex;
	margin-left:8px;
	padding:3px 7px;
	border:1px solid #c7dfd4;
	border-radius:999px;
	background:#eff9f4;
	color:#27634a;
	font-size:8px;
	font-weight:800;
	letter-spacing:.04em;
	vertical-align:middle;
}
