/* Teal and yellow; Settings → Review Boxes can override accent, dark and button. */
.sbrb {
	--sbrb-accent: #0f766e;
	--sbrb-accent-2: #14b8a6;
	--sbrb-dark: #0f766e;
	--sbrb-button: #f2c14e;
	--sbrb-button-ink: #1f2937;
	--sbrb-ink: #1f2937;
	--sbrb-muted: #6b7280;
	--sbrb-line: #e5e7eb;
	--sbrb-soft: #f0fdfa;
	--sbrb-gold: #f5b301;
	color: var(--sbrb-ink);
	margin: 2em 0;
	font-size: 16px;
	line-height: 1.6;
	box-sizing: border-box;
}
.sbrb *, .sbrb *::before, .sbrb *::after { box-sizing: border-box; }
.sbrb p { margin: 0; }
.sbrb h3, .sbrb h4 { margin: 0; padding: 0; font-family: inherit; letter-spacing: normal; text-transform: none; color: inherit; line-height: 1.3; }
.sbrb-hl__bar-title { font-size: 1em; font-weight: 700; color: #fff !important; }
.sbrb h4.sbrb-title { font-size: 1.05em; font-weight: 700; color: var(--sbrb-accent); padding-bottom: .5em; }
.sbrb .sbrb-hl__scores h4.sbrb-title { padding: 0; }
.sbrb h3.sbrb-rv__title { color: #fff; }
.sbrb ul { margin: 0; padding: 0; list-style: none; }
.sbrb img { max-width: 100%; height: auto; display: block; }

.sbrb-title { font-weight: 700; color: var(--sbrb-accent); font-size: 1.05em; padding-bottom: .5em; margin-bottom: .9em !important; border-bottom: 2px solid var(--sbrb-accent); }
.sbrb-kicker { display: block; font-size: .72em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sbrb-accent); }
.sbrb a:not(.sbrb-btn):not(.sbrb-by__action) { color: var(--sbrb-accent); }
.sbrb-note { font-size: .82em; color: var(--sbrb-muted); margin-top: .8em !important; }

/* Stars: grey row with a gold row clipped to the score */
.sbrb-stars { position: relative; display: inline-block; font-size: 1.05em; line-height: 1; letter-spacing: 2px; color: #d1d5db; vertical-align: middle; }
.sbrb-stars::before { content: "\2605\2605\2605\2605\2605"; }
.sbrb-stars::after { content: "\2605\2605\2605\2605\2605"; position: absolute; left: 0; top: 0; width: var(--sbrb-fill, 0%); overflow: hidden; color: var(--sbrb-gold); white-space: nowrap; }

.sbrb-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: var(--sbrb-button); color: var(--sbrb-button-ink) !important; font-weight: 800; padding: .8em 1.5em; border-radius: 6px; border: 0; text-decoration: none !important; cursor: pointer; font-size: 1em; box-shadow: 0 2px 6px rgba(0,0,0,.12); transition: transform .15s, filter .15s; }
.sbrb-btn:hover { filter: brightness(.96); transform: translateY(-1px); }
.sbrb-disclosure { font-size: .74em; color: var(--sbrb-muted); margin-top: .6em !important; line-height: 1.4; }

/* 1. Brand Highlights */
.sbrb-hl { border: 1px solid var(--sbrb-line); border-radius: 8px; overflow: hidden; background: #fff; }
.sbrb-hl__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5em 1em; background: var(--sbrb-dark); color: #fff; padding: .85em 1.25em; font-weight: 700; }
.sbrb-hl__bar .sbrb-stars { color: rgba(255,255,255,.35); }
.sbrb-hl__bar b { margin-left: .4em; }
.sbrb-hl__body { display: grid; grid-template-columns: 260px 1fr; }
.sbrb-hl__product { padding: 1.5em; border-right: 1px solid var(--sbrb-line); text-align: center; display: flex; flex-direction: column; align-items: center; }
.sbrb-hl__product img { max-height: 240px; width: auto; margin: 0 auto 1em; }
.sbrb-hl__name { font-weight: 800; margin-bottom: 1em !important; }
.sbrb-hl__facts { padding: 1.5em; }
.sbrb-hl__facts li { padding-left: 1.1em; position: relative; margin-bottom: .6em; }
.sbrb-hl__facts li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--sbrb-ink); }
.sbrb-hl__scores { background: var(--sbrb-soft); padding: 1.25em 1.5em; border-top: 1px solid var(--sbrb-line); }
.sbrb-hl__scores .sbrb-title { border: 0; padding: 0; margin-bottom: .7em !important; }
.sbrb-score { display: grid; grid-template-columns: 1fr 1.4fr 3.5em; align-items: center; gap: 1em; padding: .3em 0; }
.sbrb-score__bar { height: 8px; background: #fff; border-radius: 99px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--sbrb-line); }
.sbrb-score__bar span { display: block; height: 100%; background: var(--sbrb-accent); border-radius: 99px; }
.sbrb-score__val { font-weight: 700; text-align: right; }

/* 2. Pros & Cons */
.sbrb-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5em; }
.sbrb-pc__col { border-radius: 12px; padding: 1.75em 1.75em 1.25em; }
.sbrb-pc__pros { background: #effaf3; border: 1px solid #86d4a5; }
.sbrb-pc__cons { background: #fef2f2; border: 1px solid #f5b5b5; }
.sbrb-pc__title { font-weight: 800; font-size: 1.15em; margin-bottom: 1em !important; display: flex; align-items: center; gap: .5em; }
.sbrb-pc__pros .sbrb-pc__title { color: #166534; }
.sbrb-pc__cons .sbrb-pc__title { color: #b91c1c; }
.sbrb-ico { display: inline-flex; align-items: center; justify-content: center; width: 1.5em; height: 1.5em; border-radius: 50%; border: 2px solid currentColor; font-size: .8em; }
.sbrb-pc li { position: relative; padding-left: 1.8em; margin-bottom: .8em; }
.sbrb-pc li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.sbrb-pc__pros li::before { content: "\2713"; color: #16a34a; }
.sbrb-pc__cons li::before { content: "\2715"; color: #dc2626; }

/* 3. Customer Reviews */
.sbrb-rv__head { background: var(--sbrb-dark); color: #fff; text-align: center; padding: 1.75em 1.25em; border-radius: 6px; }
.sbrb-rv__head .sbrb-kicker { color: #fff; }
.sbrb-rv__title { font-size: 1.9em; font-weight: 800; line-height: 1.2; margin: .3em 0 .3em !important; }
.sbrb-rv__head p:last-child { font-size: .92em; opacity: .9; }
.sbrb-rv__summary { display: grid; grid-template-columns: 180px 1fr 220px; gap: 1.25em; align-items: center; background: var(--sbrb-soft); border: 1px solid var(--sbrb-line); border-radius: 6px; padding: 1.5em; margin: 1.5em 0; }
.sbrb-rv__img { background: #fff; border: 1px solid var(--sbrb-line); border-radius: 6px; padding: .75em; }
.sbrb-rv__name { font-size: 1.5em; font-weight: 800; line-height: 1.2; margin: .2em 0 .4em !important; }
.sbrb-rv__buy > p:not(.sbrb-rv__name):not(.sbrb-disclosure) { color: var(--sbrb-muted); font-size: .92em; margin-bottom: 1em !important; }
.sbrb-rv__avg { background: #fff; border: 1px solid var(--sbrb-line); border-radius: 6px; padding: 1.25em; text-align: center; }
.sbrb-rv__avg-title { font-weight: 800; color: var(--sbrb-accent); }
.sbrb-rv__avg-num { font-size: 2.2em; font-weight: 800; line-height: 1.2; margin: .2em 0 !important; }
.sbrb-rv__avg-count { font-size: .85em; color: var(--sbrb-muted); margin-top: .4em !important; }
.sbrb-rv__card { background: #fff; border: 1px solid var(--sbrb-line); border-radius: 6px; padding: 1.5em; margin-bottom: 1em; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.sbrb-rv__card header { display: flex; align-items: center; gap: .9em; padding-bottom: 1em; margin-bottom: 1em; border-bottom: 1px solid var(--sbrb-line); }
.sbrb-rv__card header .sbrb-stars { margin-left: auto; }
.sbrb-avatar { flex: none; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--sbrb-dark); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.sbrb-rv__who { display: flex; flex-direction: column; line-height: 1.3; }
.sbrb-rv__who time { font-size: .85em; color: var(--sbrb-muted); }
.sbrb-rv__headline { font-weight: 800; font-size: 1.15em; margin-bottom: .4em !important; }
.sbrb-rv__text { color: #4b5563; }
.sbrb-rv__text p { margin-bottom: .6em; }
.sbrb-badge { display: inline-block; margin-top: .6em; font-size: .75em; font-weight: 700; color: var(--sbrb-accent); border: 1px solid var(--sbrb-line); border-radius: 4px; padding: .25em .6em; }
.sbrb-empty { text-align: center; color: var(--sbrb-muted); padding: 1em; border: 1px dashed var(--sbrb-line); border-radius: 6px; }
.sbrb-empty a { font-weight: 700; }

/* 4. Write a Review */
.sbrb-form { text-align: center; }
.sbrb-form__title { font-size: 1.9em; font-weight: 800; line-height: 1.2; margin: .2em 0 .4em !important; }
.sbrb-form__intro { color: var(--sbrb-muted); max-width: 40em; margin: 0 auto 1.5em !important; }
.sbrb-form__box { text-align: left; background: #fff; border: 1px solid var(--sbrb-line); border-radius: 6px; padding: 2em; max-width: 52em; margin: 0 auto; }
.sbrb-field { display: block; font-weight: 700; font-size: .92em; margin: 0 0 1.4em; border: 0; padding: 0; min-width: 0; }
.sbrb-field legend { padding: 0; font-weight: 700; }
.sbrb-field > span, .sbrb-field legend span { color: #dc2626; }
.sbrb-field input[type=text], .sbrb-field input[type=email], .sbrb-field textarea { display: block; width: 100%; margin-top: .5em; padding: .75em .9em; border: 1px solid #d1d5db; border-radius: 4px; font: inherit; font-weight: 400; background: #fff; color: var(--sbrb-ink); }
.sbrb-field input:focus, .sbrb-field textarea:focus { outline: 2px solid var(--sbrb-accent-2); outline-offset: 0; border-color: var(--sbrb-accent-2); }
.sbrb-field small { display: block; font-weight: 400; font-size: .85em; color: var(--sbrb-accent); margin-top: .4em; }
.sbrb-rate { display: inline-flex; flex-direction: row-reverse; gap: .15em; margin-top: .3em; }
.sbrb-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sbrb-rate label { font-size: 2em; line-height: 1; color: #d1d5db; cursor: pointer; transition: color .1s; }
.sbrb-rate label:hover, .sbrb-rate label:hover ~ label, .sbrb-rate input:checked ~ label { color: var(--sbrb-gold); }
.sbrb-rate input:focus-visible + label { outline: 2px solid var(--sbrb-accent-2); border-radius: 3px; }
.sbrb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sbrb-form .sbrb-btn { background: var(--sbrb-accent); color: #fff !important; }

/* 0. "Evaluated by" bar */
.sbrb-by { display: grid; grid-template-columns: 1fr auto; gap: 1em 1.5em; padding: 1.1em 0; margin: 0 0 1.75em; border-top: 1px solid var(--sbrb-line); border-bottom: 1px solid var(--sbrb-line); }
.sbrb-by__team { display: flex; align-items: center; gap: .8em; margin-bottom: 1em; }
.sbrb-by__avatars { display: flex; flex: none; }
.sbrb-by__avatars img { width: 46px !important; height: 46px !important; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--sbrb-line); object-fit: cover; margin: 0 !important; }
.sbrb-by__avatars img + img { margin-left: -12px !important; }
.sbrb-by__teamtext { display: flex; flex-direction: column; line-height: 1.25; }
.sbrb-by__label { font-size: .82em; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sbrb-muted); }
.sbrb-by__teamname { font-size: 1.1em; font-weight: 800; color: var(--sbrb-ink) !important; text-decoration: none; }
.sbrb-by__roles { display: flex; flex-wrap: wrap; gap: .75em 0; margin: 0; }
.sbrb-by__roles > div { padding: 0 1.4em 0 .8em; border-left: 3px solid var(--sbrb-accent); }
.sbrb-by__roles dt { font-weight: 700; font-size: .95em; color: var(--sbrb-ink); margin: 0; }
.sbrb-by__roles dd { margin: 0; font-size: .9em; font-style: italic; color: var(--sbrb-muted); }
.sbrb-by__roles dd a { text-decoration: none; }
.sbrb-by__actions { display: flex; flex-direction: column; gap: .6em; min-width: 220px; }
.sbrb-by__action { display: flex; align-items: center; gap: .75em; padding: .65em 1em; border: 1px solid var(--sbrb-line); border-radius: 8px; background: var(--sbrb-soft); color: var(--sbrb-ink) !important; text-decoration: none !important; line-height: 1.25; transition: border-color .15s; }
.sbrb-by__action:hover { border-color: var(--sbrb-accent); }
.sbrb-by__action b { display: block; font-size: .95em; font-weight: 800; }
.sbrb-by__action small { display: block; font-size: .76em; color: var(--sbrb-muted); }
.sbrb-by__icon { flex: none; width: 2.1em; height: 2.1em; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--sbrb-accent); color: #fff; font-size: .95em; }
.sbrb-by__icon--star { background: #fff4d6; color: var(--sbrb-gold); }
.sbrb-by__disclosure { grid-column: 1 / -1; font-size: .82em; color: var(--sbrb-muted); line-height: 1.5; }
.sbrb-by__disclosure strong { color: var(--sbrb-ink); }
.sbrb-by__disclosure a { font-weight: 700; text-decoration: none; }
.sbrb-notice { max-width: 52em; margin: 0 auto 1em !important; padding: .9em 1.1em; border-radius: 6px; text-align: left; font-weight: 600; }
.sbrb-notice--ok { background: #effaf3; border: 1px solid #86d4a5; color: #166534; }
.sbrb-notice--err { background: #fef2f2; border: 1px solid #f5b5b5; color: #b91c1c; }

@media (max-width: 860px) {
	.sbrb-rv__summary { grid-template-columns: 140px 1fr; }
	.sbrb-rv__avg { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
	.sbrb-by { grid-template-columns: 1fr; }
	.sbrb-by__roles > div { flex: 1 1 45%; }
	.sbrb-by__actions { flex-direction: row; min-width: 0; }
	.sbrb-by__action { flex: 1; }
	.sbrb-hl__body, .sbrb-pc, .sbrb-rv__summary { grid-template-columns: 1fr; }
	.sbrb-hl__product { border-right: 0; border-bottom: 1px solid var(--sbrb-line); }
	.sbrb-rv__img { max-width: 200px; margin: 0 auto; }
	.sbrb-score { grid-template-columns: 1fr 1fr 3em; gap: .6em; font-size: .92em; }
	.sbrb-rv__title, .sbrb-form__title { font-size: 1.5em; }
	.sbrb-form__box { padding: 1.25em; }
	.sbrb-rv__card header { flex-wrap: wrap; }
}
