/* ==========================================================================
   SearchEV Reviews — frontend styles
   ========================================================================== */

:root {
	--evrr-accent: #4f46e5;
	--evrr-accent-2: #6366f1;
	--evrr-star: #f5a623;
	--evrr-ink: #16181d;
	--evrr-muted: #6b7280;
	--evrr-line: #e6e7eb;
	--evrr-bg: #ffffff;
	--evrr-bg-soft: #f6f6f8;
	--evrr-radius: 16px;
	--evrr-radius-sm: 10px;
	--evrr-shadow: 0 1px 2px rgba(16, 18, 29, .04), 0 8px 30px rgba(16, 18, 29, .06);
}

.evrr-app,
.evrr-summary,
.evrr-compact,
.evrr-reviews,
.evrr-form-wrap {
	box-sizing: border-box;
	font-family: inherit;
	color: var(--evrr-ink);
}

.evrr-app *,
.evrr-summary *,
.evrr-compact *,
.evrr-reviews *,
.evrr-form-wrap * {
	box-sizing: border-box;
}

/* Ensure the [hidden] attribute always wins over display rules below
   (grid/flex declarations would otherwise keep hidden elements visible). */
.evrr-app [hidden],
.evrr-summary [hidden],
.evrr-reviews [hidden],
.evrr-form-wrap [hidden],
.evrr-overlay [hidden] {
	display: none !important;
}

/* --- Buttons ------------------------------------------------------------- */
.evrr-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 11px 20px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: transform .12s ease, background .15s ease, box-shadow .15s ease, opacity .15s ease;
	text-decoration: none;
	background: none;
}
.evrr-btn:active { transform: translateY(1px); }
.evrr-btn:disabled { opacity: .55; cursor: default; }
.evrr-btn--primary {
	background: var(--evrr-accent);
	color: #fff;
	box-shadow: 0 4px 14px color-mix(in srgb, var(--evrr-accent) 30%, transparent);
}
.evrr-btn--primary:hover { background: color-mix(in srgb, var(--evrr-accent) 88%, #000); }
.evrr-btn--ghost {
	background: var(--evrr-bg);
	color: var(--evrr-ink);
	border-color: var(--evrr-line);
}
.evrr-btn--ghost:hover { border-color: var(--evrr-accent); color: var(--evrr-accent); }
.evrr-btn__icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- Stars -------------------------------------------------------------- */
.evrr-stars { display: inline-flex; gap: 2px; line-height: 0; color: var(--evrr-star); vertical-align: middle; }
.evrr-star { width: 18px; height: 18px; }
.evrr-star--full { fill: var(--evrr-star); }
.evrr-star--empty { fill: none; stroke: var(--evrr-star); stroke-width: 1.4; opacity: .4; }
.evrr-star--partial { stroke-width: 1.4; }

/* --- App wrapper -------------------------------------------------------- */
.evrr-app { margin: 28px 0; }
.evrr-app__head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.evrr-app__title { font-size: 24px; font-weight: 800; margin: 0; letter-spacing: -.01em; }

/* ==========================================================================
   Summary card (full width)
   ========================================================================== */
/* Two-column page layout: sticky summary (left) + reviews (right). */
.evrr-layout {
	display: grid;
	grid-template-columns: minmax(280px, 340px) 1fr;
	gap: 26px;
	align-items: start;
}
.evrr-layout__side {
	position: -webkit-sticky;
	position: sticky;
	top: 20px;
	align-self: start;
}
.evrr-layout__main { min-width: 0; }
.evrr-layout__main .evrr-reviews { margin-top: 0; }

.evrr-summary {
	display: block;
	background: var(--evrr-bg);
	border: 1px solid var(--evrr-line);
	border-radius: var(--evrr-radius);
	box-shadow: var(--evrr-shadow);
	overflow: hidden;
}
.evrr-summary__overall {
	padding: 26px 28px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--evrr-accent) 6%, #fff), var(--evrr-bg));
	border-bottom: 1px solid var(--evrr-line);
}
.evrr-summary__score-big { display: flex; align-items: baseline; gap: 4px; }
.evrr-summary__num { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.evrr-summary__den { font-size: 22px; font-weight: 600; color: var(--evrr-muted); }
.evrr-summary__overall .evrr-stars { margin-top: 10px; }
.evrr-summary__overall .evrr-star { width: 22px; height: 22px; }
.evrr-summary__count { margin: 8px 0 0; color: var(--evrr-muted); font-size: 14px; }

.evrr-summary__dist { margin-top: 20px; display: grid; gap: 7px; }
.evrr-dist-row { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 8px; }
.evrr-dist-star { font-size: 12px; font-weight: 600; color: var(--evrr-muted); }
.evrr-dist-bar { height: 7px; border-radius: 999px; background: var(--evrr-bg-soft); overflow: hidden; }
.evrr-dist-fill { display: block; height: 100%; background: var(--evrr-star); border-radius: 999px; width: 0; transition: width .8s cubic-bezier(.16,1,.3,1); }
.evrr-dist-count { font-size: 12px; color: var(--evrr-muted); text-align: right; }

.evrr-summary__params { padding: 24px 28px; }
.evrr-summary__params-grid {
	display: grid; grid-template-columns: repeat(2, 1fr);
	gap: 18px 32px; width: 100%;
}
/* Mobile-only "Show detailed ratings" toggle for the parameter bars. */
.evrr-summary__toggle {
	display: none;
	width: 100%;
	align-items: center; justify-content: space-between;
	gap: 8px; padding: 14px 28px;
	background: none; border: none; border-bottom: 1px solid var(--evrr-line);
	font: inherit; font-weight: 600; font-size: 15px; color: var(--evrr-accent);
	cursor: pointer;
}
.evrr-summary__toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.evrr-summary__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.evrr-param__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.evrr-param__label { font-weight: 600; font-size: 15px; }
.evrr-param__score { font-weight: 700; font-size: 15px; }
.evrr-param__max { color: var(--evrr-muted); font-weight: 500; font-size: 12px; }
.evrr-param__bar { height: 8px; border-radius: 999px; background: var(--evrr-bg-soft); overflow: hidden; }
.evrr-param__fill {
	display: block; height: 100%; border-radius: 999px; width: 0;
	background: linear-gradient(90deg, var(--evrr-accent), var(--evrr-accent-2));
	transition: width .9s cubic-bezier(.16,1,.3,1);
}
.evrr-summary__cta { text-align: center; width: 100%; }
.evrr-summary__cta p { color: var(--evrr-muted); margin: 0 0 14px; }
.evrr-summary--empty .evrr-summary__num { color: var(--evrr-muted); }

/* ==========================================================================
   Compact card
   ========================================================================== */
.evrr-compact {
	display: inline-flex; align-items: center; gap: 14px;
	background: var(--evrr-bg); border: 1px solid var(--evrr-line);
	border-radius: var(--evrr-radius-sm); padding: 12px 16px; box-shadow: var(--evrr-shadow);
}
.evrr-compact__score { display: flex; align-items: baseline; gap: 2px; }
.evrr-compact__num { font-size: 30px; font-weight: 800; line-height: 1; }
.evrr-compact__den { font-size: 14px; color: var(--evrr-muted); }
.evrr-compact__meta { display: flex; flex-direction: column; gap: 3px; }
.evrr-compact__count { font-size: 12px; color: var(--evrr-muted); }
.evrr-compact .evrr-btn { padding: 7px 14px; font-size: 13px; }

/* ==========================================================================
   Inline score (plain text)
   ========================================================================== */
.evrr-inline-score { font-weight: 700; display: inline-flex; align-items: baseline; gap: 2px; }
.evrr-inline-score__max { color: var(--evrr-muted); font-weight: 500; font-size: .8em; }
.evrr-inline-score__star { color: var(--evrr-star); }
.evrr-inline-score__count { color: var(--evrr-muted); font-weight: 500; font-size: .85em; }
.evrr-inline-score--empty { color: var(--evrr-muted); font-weight: 500; }

/* ==========================================================================
   Reviews list
   ========================================================================== */
.evrr-reviews { margin-top: 30px; }
.evrr-reviews__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.evrr-reviews__title { font-size: 19px; font-weight: 800; margin: 0; }
.evrr-sort__select {
	border: 1px solid var(--evrr-line); border-radius: 999px; padding: 8px 14px;
	font-size: 13px; background: var(--evrr-bg); color: var(--evrr-ink); cursor: pointer;
}
.evrr-reviews__list { display: grid; gap: 14px; }

.evrr-review {
	background: var(--evrr-bg); border: 1px solid var(--evrr-line);
	border-radius: var(--evrr-radius); padding: 20px 22px; box-shadow: var(--evrr-shadow);
}
.evrr-review__head { display: flex; align-items: center; gap: 12px; }
.evrr-review__avatar {
	width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
	color: #fff; font-weight: 700; font-size: 17px;
	display: flex; align-items: center; justify-content: center;
}
.evrr-review__who { flex: 1 1 auto; min-width: 0; }
.evrr-review__name { font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.evrr-review__meta { display: block; color: var(--evrr-muted); font-size: 13px; margin-top: 2px; }
.evrr-review__rating { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: 0 0 auto; }
.evrr-review__rating-num { font-weight: 800; font-size: 16px; }
.evrr-badge {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 11px; font-weight: 600; color: #059669;
	background: #ecfdf5; padding: 3px 8px; border-radius: 999px;
}
.evrr-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.evrr-review__title { font-size: 16px; font-weight: 700; margin: 14px 0 6px; }
.evrr-review__body { color: #33363d; font-size: 15px; line-height: 1.6; }
.evrr-review__body p { margin: 0 0 8px; }
.evrr-review__toggle {
	margin-top: 12px; background: none; border: none; padding: 0; cursor: pointer;
	color: var(--evrr-accent); font-weight: 600; font-size: 13px;
}
.evrr-review__breakdown {
	margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--evrr-line);
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px;
}
.evrr-review__bd-item { display: flex; align-items: center; justify-content: space-between; }
.evrr-review__bd-label { font-size: 13px; color: var(--evrr-muted); }
.evrr-review__bd-item .evrr-star { width: 14px; height: 14px; }
.evrr-review__reply {
	margin-top: 14px; padding: 12px 14px; background: var(--evrr-bg-soft);
	border-radius: var(--evrr-radius-sm); border-left: 3px solid var(--evrr-accent);
}
.evrr-review__reply-label { font-size: 12px; font-weight: 700; color: var(--evrr-accent); text-transform: uppercase; letter-spacing: .04em; }
.evrr-review__reply div p { margin: 4px 0 0; font-size: 14px; }
.evrr-review__foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--evrr-line); }
.evrr-review__helpful-label { font-size: 13px; color: var(--evrr-muted); margin-right: 2px; }
.evrr-helpful {
	display: inline-flex; align-items: center; gap: 6px;
	border: 1px solid var(--evrr-line); background: var(--evrr-bg);
	border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600;
	color: var(--evrr-ink); cursor: pointer; transition: all .15s ease;
}
.evrr-helpful svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.evrr-helpful:hover { border-color: var(--evrr-accent); color: var(--evrr-accent); }
.evrr-helpful.is-voted { background: color-mix(in srgb, var(--evrr-accent) 10%, #fff); border-color: var(--evrr-accent); color: var(--evrr-accent); }
.evrr-helpful[disabled] { opacity: .6; cursor: default; }
.evrr-reviews__empty { text-align: center; color: var(--evrr-muted); padding: 30px; background: var(--evrr-bg-soft); border-radius: var(--evrr-radius); }
.evrr-reviews__more { text-align: center; margin-top: 18px; }

/* ==========================================================================
   Modal + form
   ========================================================================== */
#evrr-modal-root { position: relative; z-index: 99999; }
.evrr-overlay {
	position: fixed; inset: 0; background: rgba(16, 18, 29, .55);
	backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center;
	padding: 20px; z-index: 100000; opacity: 0; transition: opacity .2s ease;
}
.evrr-overlay.is-open { opacity: 1; }

.evrr-form-wrap--modal { width: 100%; max-width: 560px; }
.evrr-form-wrap--inline { max-width: 620px; margin: 24px 0; }

.evrr-form {
	background: var(--evrr-bg); border-radius: 20px; overflow: hidden;
	box-shadow: 0 20px 60px rgba(16, 18, 29, .3);
	display: flex; flex-direction: column; max-height: 92vh;
}
.evrr-form-wrap--modal .evrr-form { transform: translateY(12px) scale(.98); transition: transform .25s cubic-bezier(.16,1,.3,1); }
.evrr-overlay.is-open .evrr-form { transform: none; }
.evrr-form-wrap--inline .evrr-form { border: 1px solid var(--evrr-line); box-shadow: var(--evrr-shadow); }

.evrr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.evrr-form__header { padding: 22px 26px 0; position: relative; }
.evrr-form__close {
	position: absolute; top: 16px; right: 18px; width: 34px; height: 34px;
	border: none; background: var(--evrr-bg-soft); border-radius: 50%;
	font-size: 22px; line-height: 1; color: var(--evrr-muted); cursor: pointer;
}
.evrr-form__close:hover { background: var(--evrr-line); color: var(--evrr-ink); }
.evrr-form-wrap--inline .evrr-form__close { display: none; }
.evrr-form__title { font-size: 20px; font-weight: 800; margin: 0 34px 16px 0; letter-spacing: -.01em; }

.evrr-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.evrr-step { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; opacity: .5; transition: opacity .2s; }
.evrr-step.is-active, .evrr-step.is-done { opacity: 1; }
.evrr-step__dot {
	width: 24px; height: 24px; border-radius: 50%; background: var(--evrr-bg-soft);
	color: var(--evrr-muted); font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.evrr-step.is-active .evrr-step__dot { background: var(--evrr-accent); color: #fff; }
.evrr-step.is-done .evrr-step__dot { background: #059669; color: #fff; }
.evrr-step__label { font-size: 13px; font-weight: 600; }
.evrr-step:not(:last-child)::after { content: ""; }

.evrr-progress { height: 4px; background: var(--evrr-bg-soft); border-radius: 999px; overflow: hidden; }
.evrr-progress__bar { display: block; height: 100%; background: var(--evrr-accent); border-radius: 999px; transition: width .3s ease; }

.evrr-form__body { padding: 22px 26px; overflow-y: auto; }
.evrr-panel { animation: sevfade .25s ease; }
.evrr-panel[hidden] { display: none; }
@keyframes sevfade { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.evrr-panel__lead { color: var(--evrr-muted); margin: 0 0 16px; font-size: 15px; }

/* Rate rows */
.evrr-rate-list { display: grid; gap: 6px; }
.evrr-rate-row {
	display: grid; grid-template-columns: 1fr auto 40px; align-items: center; gap: 12px;
	padding: 10px 12px; border-radius: var(--evrr-radius-sm); transition: background .15s;
}
.evrr-rate-row:hover { background: var(--evrr-bg-soft); }
.evrr-rate-label { font-weight: 600; font-size: 15px; }
.evrr-rate-stars { display: inline-flex; gap: 4px; }
.evrr-rate-star { background: none; border: none; padding: 0; cursor: pointer; line-height: 0; }
.evrr-rate-star svg { width: 28px; height: 28px; fill: none; stroke: var(--evrr-star); stroke-width: 1.3; transition: transform .1s, fill .1s; }
.evrr-rate-star:hover svg { transform: scale(1.15); }
.evrr-rate-star.is-on svg { fill: var(--evrr-star); }
.evrr-rate-value { font-weight: 700; color: var(--evrr-muted); text-align: right; font-size: 14px; }
.evrr-rate-row.is-rated .evrr-rate-value { color: var(--evrr-star); }

.evrr-live-overall {
	margin-top: 18px; padding: 14px 16px; border-radius: var(--evrr-radius-sm);
	background: color-mix(in srgb, var(--evrr-accent) 7%, #fff);
	display: flex; align-items: center; justify-content: space-between;
}
.evrr-live-overall__label { font-weight: 600; }
.evrr-live-overall__value { font-weight: 800; font-size: 18px; color: var(--evrr-accent); }

/* Fields */
.evrr-field { margin-bottom: 16px; }
.evrr-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.evrr-field input[type="text"],
.evrr-field input[type="email"],
.evrr-field input[type="tel"],
.evrr-field textarea {
	width: 100%; border: 1px solid var(--evrr-line); border-radius: var(--evrr-radius-sm);
	padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--evrr-ink);
	background: var(--evrr-bg); transition: border-color .15s, box-shadow .15s;
}
.evrr-field input:focus, .evrr-field textarea:focus {
	outline: none; border-color: var(--evrr-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--evrr-accent) 18%, transparent);
}
.evrr-field textarea { resize: vertical; min-height: 120px; }
.evrr-field__hint { display: block; margin-top: 6px; font-size: 12px; color: var(--evrr-muted); }
.evrr-field.has-error input, .evrr-field.has-error textarea { border-color: #dc2626; }
.evrr-req { color: #dc2626; }
.evrr-optional { color: var(--evrr-muted); font-weight: 400; font-size: 12px; }
.evrr-check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.evrr-consent { font-size: 12px; color: var(--evrr-muted); margin: 4px 0 0; }

.evrr-form__error {
	margin: 14px 0 0; padding: 11px 14px; background: #fef2f2; color: #b91c1c;
	border-radius: var(--evrr-radius-sm); font-size: 14px; font-weight: 500;
}
.evrr-form__error[hidden] { display: none; }

.evrr-form__footer {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 26px 22px; border-top: 1px solid var(--evrr-line);
}
.evrr-form__footer-right { margin-left: auto; }

/* Success */
.evrr-panel--success { text-align: center; padding: 20px 0; }
.evrr-success__check { width: 76px; height: 76px; margin: 0 auto 18px; }
.evrr-success__check svg { width: 76px; height: 76px; }
.evrr-success__check circle { stroke: #059669; stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: sevcircle .5s ease forwards; }
.evrr-success__check path { stroke: #059669; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: sevcheck .35s .45s ease forwards; }
@keyframes sevcircle { to { stroke-dashoffset: 0; } }
@keyframes sevcheck { to { stroke-dashoffset: 0; } }
.evrr-success__title { font-size: 21px; font-weight: 800; margin: 0 0 8px; }
.evrr-success__msg { color: var(--evrr-muted); margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
	.evrr-layout { grid-template-columns: 1fr; gap: 20px; }
	.evrr-layout__side { position: static; top: auto; }

	/* On mobile the parameter bars collapse behind a toggle. */
	.evrr-summary__toggle { display: flex; }
	.evrr-summary--collapsible .evrr-summary__params { display: none; }
	.evrr-summary--collapsible.is-params-open .evrr-summary__params { display: block; }

	.evrr-summary__params-grid { grid-template-columns: 1fr; gap: 16px; }
	.evrr-review__breakdown { grid-template-columns: 1fr; }
	.evrr-step__label { display: none; }
	.evrr-app__title { font-size: 20px; }
	.evrr-summary__num { font-size: 46px; }
}

@media (max-width: 480px) {
	.evrr-review__head { flex-wrap: wrap; }
	.evrr-review__rating { flex-direction: row; align-items: center; width: 100%; justify-content: flex-start; margin-top: 4px; }
	.evrr-rate-star svg { width: 26px; height: 26px; }
	.evrr-form__footer { padding: 14px 18px 18px; }
	.evrr-form__body { padding: 18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.evrr-app *, .evrr-summary *, .evrr-compact *, .evrr-reviews *, .evrr-form-wrap *, .evrr-overlay * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   Theme-conflict hardening
   Themes (esp. Elementor) style <button>, inputs and containers globally,
   which can recolor our buttons, put boxes behind the star icons, and break
   the modal's scroll so the footer/Continue button becomes unreachable.
   These high-specificity !important rules isolate the plugin from the theme.
   ========================================================================== */

/* Buttons — force our styling over theme button rules */
.evrr-app .evrr-btn,
.evrr-reviews .evrr-btn,
.evrr-summary .evrr-btn,
.evrr-compact .evrr-btn,
.evrr-overlay .evrr-btn,
.evrr-form .evrr-btn {
	-webkit-appearance: none !important;
	appearance: none !important;
	font-family: inherit !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	line-height: 1 !important;
	min-height: 0 !important;
	width: auto !important;
	text-shadow: none !important;
	border-radius: 999px !important;
	cursor: pointer !important;
}
.evrr-app .evrr-btn--primary,
.evrr-reviews .evrr-btn--primary,
.evrr-summary .evrr-btn--primary,
.evrr-overlay .evrr-btn--primary,
.evrr-form .evrr-btn--primary {
	background: var(--evrr-accent) !important;
	color: #fff !important;
	border: 1px solid transparent !important;
}
.evrr-app .evrr-btn--ghost,
.evrr-reviews .evrr-btn--ghost,
.evrr-summary .evrr-btn--ghost,
.evrr-overlay .evrr-btn--ghost,
.evrr-form .evrr-btn--ghost {
	background: #fff !important;
	color: var(--evrr-ink) !important;
	border: 1px solid var(--evrr-line) !important;
}

/* Star rating buttons — strip theme button chrome (removes the green boxes) */
.evrr-form .evrr-rate-star,
.evrr-overlay .evrr-rate-star,
.evrr-app .evrr-rate-star {
	-webkit-appearance: none !important;
	appearance: none !important;
	background: none !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	min-height: 0 !important;
	width: auto !important;
	line-height: 0 !important;
}
.evrr-form .evrr-rate-star svg,
.evrr-overlay .evrr-rate-star svg {
	display: block !important;
}
.evrr-form .evrr-helpful,
.evrr-reviews .evrr-helpful,
.evrr-summary__toggle,
.evrr-review__toggle {
	-webkit-appearance: none !important;
	appearance: none !important;
	text-transform: none !important;
	min-height: 0 !important;
	width: auto !important;
}

/* Modal — capped to the viewport with header/footer pinned and the body
   scrolling internally, so Continue/Submit is ALWAYS visible regardless of theme. */
.evrr-overlay {
	position: fixed !important;
	inset: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: auto !important;
	-webkit-overflow-scrolling: touch !important;
	z-index: 2147483000 !important;
	padding: 16px !important;
	margin: 0 !important;
}
.evrr-overlay .evrr-form-wrap {
	margin: auto !important;
	width: 100% !important;
	max-width: 560px !important;
	display: block !important;
	float: none !important;
}
.evrr-overlay .evrr-form {
	display: flex !important;
	flex-direction: column !important;
	max-height: calc(100vh - 32px) !important;
	overflow: hidden !important;
	background: #fff !important;
	width: 100% !important;
}
.evrr-overlay .evrr-form__header { flex: 0 0 auto !important; }
.evrr-overlay .evrr-form__body {
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch !important;
	flex: 1 1 auto !important;
	min-height: 0 !important;
}
.evrr-overlay .evrr-form__footer {
	display: flex !important;
	flex: 0 0 auto !important;
	position: static !important;
	background: #fff !important;
	align-items: center !important;
}
/* Step indicators must always render (some themes hide [aria-hidden] or <ol> items) */
.evrr-overlay .evrr-steps,
.evrr-form .evrr-steps {
	display: flex !important;
	visibility: visible !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 14px !important;
}
.evrr-overlay .evrr-step,
.evrr-form .evrr-step {
	display: flex !important;
	visibility: visible !important;
	float: none !important;
}
.evrr-overlay .evrr-form__close {
	background: var(--evrr-bg-soft) !important;
	color: var(--evrr-muted) !important;
	border: 0 !important;
	border-radius: 50% !important;
}

/* Form fields — neutralise theme input styling */
.evrr-form .evrr-field input,
.evrr-form .evrr-field textarea,
.evrr-overlay .evrr-field input,
.evrr-overlay .evrr-field textarea {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 100% !important;
	background: #fff !important;
	color: var(--evrr-ink) !important;
	border: 1px solid var(--evrr-line) !important;
	border-radius: var(--evrr-radius-sm) !important;
	font-family: inherit !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
}

/* Card/list containers — keep our background even if the theme tints sections */
.evrr-summary,
.evrr-review,
.evrr-compact,
.evrr-form {
	color: var(--evrr-ink);
}
