/* B2B GEO Index. Mobile first: cards on phones and tablets, the full table
   from a 1040px wide block. Same tokens as the theme and the calculators. */
.bv-gi { container-type: inline-size; font: 16px/1.6 var(--wp--preset--font-family--sans, system-ui, sans-serif); color: var(--wp--preset--color--contrast, #0c1a2e); }
.bv-gi *, .bv-gi *::before, .bv-gi *::after { box-sizing: border-box; }
.bv-gi [hidden] { display: none !important; }
.bv-gi .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bv-gi button, .bv-gi summary { -webkit-tap-highlight-color: transparent; }
.bv-gi :focus-visible { outline: 2px solid var(--wp--preset--color--booming-500, #0ea5e9); outline-offset: 2px; }

/* ---------- Tabs: one segmented control ---------- */
.bv-gi__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; padding: 0.25rem; margin: 0 0 1rem; background: var(--wp--preset--color--base-50, #f8fafc); border: 1px solid var(--wp--preset--color--border, #e2e8f0); border-radius: 999px; }
.bv-gi__tab { min-height: 44px; padding: 0.5rem 0.75rem; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 0.875rem; font-weight: 600; line-height: 1.25; color: var(--wp--preset--color--contrast, #0c1a2e); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.bv-gi__tab[aria-selected="true"] { background: linear-gradient(135deg, #0284c7, #14b8a6); color: #fff; box-shadow: 0 1px 3px rgba(12, 26, 46, 0.15); }

/* ---------- How the ranking works ---------- */
.bv-gi__how { margin: 0 0 1rem; background: #fff; border: 1px solid var(--wp--preset--color--border, #e2e8f0); border-radius: 1rem; }
.bv-gi__how > summary { display: flex; align-items: center; gap: 0.625rem; min-height: 48px; padding: 0.625rem 1rem; list-style: none; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
.bv-gi__how > summary::-webkit-details-marker { display: none; }
.bv-gi__how > summary::before { content: "i"; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 1.375rem; height: 1.375rem; border-radius: 999px; background: linear-gradient(135deg, #0284c7, #14b8a6); font: italic 700 0.8125rem/1 Georgia, serif; color: #fff; }
.bv-gi__how > summary::after { content: ""; width: 0.5rem; height: 0.5rem; margin: -0.25rem 0.125rem 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.15s; }
.bv-gi__how[open] > summary::after { margin-top: 0.25rem; transform: rotate(-135deg); }
.bv-gi__how ol { display: grid; gap: 0.625rem; margin: 0; padding: 0 1rem; list-style: none; counter-reset: bv-how; }
.bv-gi__how li { position: relative; padding-left: 2.125rem; font-size: 0.875rem; line-height: 1.5; color: var(--wp--preset--color--contrast-2, #1f2937); counter-increment: bv-how; }
.bv-gi__how li::before { content: counter(bv-how); position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: var(--wp--preset--color--booming-50, #f0f9ff); font-size: 0.75rem; font-weight: 700; color: var(--wp--preset--color--booming-700, #0369a1); }
.bv-gi__how li strong { color: var(--wp--preset--color--contrast, #0c1a2e); }
.bv-gi__how p { margin: 0; padding: 0.75rem 1rem 1rem; font-size: 0.875rem; }
.bv-gi__how a { font-weight: 600; color: var(--wp--preset--color--booming-700, #0369a1); }

/* ---------- Filters ---------- */
.bv-gi__filters { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.75rem; margin-bottom: 1rem; background: var(--wp--preset--color--base-50, #f8fafc); border: 1px solid var(--wp--preset--color--border, #e2e8f0); border-radius: 1rem; }
.bv-gi__q, .bv-gi__sector, .bv-gi__sort { width: 100%; min-width: 0; min-height: 44px; padding: 0.625rem 0.75rem; font: inherit; font-size: 1rem; line-height: 1.3; border: 1.5px solid #cbd5e1; border-radius: 0.625rem; background-color: #fff; color: inherit; }
.bv-gi__q { grid-column: 1 / -1; }
.bv-gi__field { display: grid; gap: 0.25rem; min-width: 0; }
.bv-gi__field > span { font-size: 0.75rem; font-weight: 600; line-height: 1.2; color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__q:focus, .bv-gi__sector:focus, .bv-gi__sort:focus, .bv-gi__form input:focus { outline: none; border-color: var(--wp--preset--color--booming-500, #0ea5e9); box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18); }

.bv-gi__more { grid-column: 1 / -1; }
.bv-gi__more > summary { display: flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0.875rem; list-style: none; border: 1.5px solid #cbd5e1; border-radius: 0.625rem; background: #fff; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
.bv-gi__more > summary::-webkit-details-marker { display: none; }
.bv-gi__more > summary::after { content: ""; width: 0.5rem; height: 0.5rem; margin: -0.25rem 0.125rem 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.15s; }
.bv-gi__more[open] > summary::after { margin-top: 0.25rem; transform: rotate(-135deg); }
.bv-gi__active { display: inline-flex; align-items: center; justify-content: center; min-width: 1.375rem; height: 1.375rem; padding: 0 0.375rem; border-radius: 999px; background: var(--wp--preset--color--booming-600, #0284c7); color: #fff; font-size: 0.75rem; font-weight: 700; }
.bv-gi__chips { display: grid; gap: 0.75rem; margin-top: 0.75rem; }
.bv-gi__cg { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; }
.bv-gi__cgl { flex-basis: 100%; font-size: 0.75rem; font-weight: 600; line-height: 1.2; color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__chip { min-height: 36px; padding: 0.375rem 0.75rem; border: 1.5px solid #cbd5e1; border-radius: 999px; background: #fff; font: inherit; font-size: 0.8125rem; font-weight: 600; line-height: 1.2; color: var(--wp--preset--color--contrast, #0c1a2e); cursor: pointer; }
.bv-gi__chip--ai { border-color: #5eead4; }
.bv-gi__chip[aria-pressed="true"] { background: var(--wp--preset--color--booming-50, #f0f9ff); border-color: var(--wp--preset--color--booming-500, #0ea5e9); color: var(--wp--preset--color--booming-700, #0369a1); }
.bv-gi__opts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 0.75rem; margin-top: 0.75rem; }
.bv-gi__mode { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-size: 0.875rem; cursor: pointer; }
.bv-gi__mode input { width: 1.125rem; height: 1.125rem; margin: 0; accent-color: var(--wp--preset--color--booming-600, #0284c7); }
.bv-gi__reset { min-height: 44px; padding: 0.5rem 0.25rem; border: 0; background: none; font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--wp--preset--color--booming-700, #0369a1); text-decoration: underline; cursor: pointer; }
.bv-gi__count { grid-column: 1 / -1; margin: 0; font-size: 0.8125rem; color: var(--wp--preset--color--muted, #5b6b80); }

/* ---------- Title and key figures ---------- */
.bv-gi__title { margin: 0 0 0.75rem; font-size: 1.125rem; line-height: 1.3; }
.bv-gi__stats { display: flex; gap: 0.5rem; margin-bottom: 1rem; padding-bottom: 0.125rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bv-gi__stats::-webkit-scrollbar { display: none; }
.bv-gi__stats > div { flex: 0 0 auto; width: 9.25rem; padding: 0.75rem 0.875rem; scroll-snap-align: start; background: #fff; border: 1px solid var(--wp--preset--color--border, #e2e8f0); border-radius: 0.875rem; }
.bv-gi__stats strong { display: block; font: 700 1.5rem/1.1 var(--wp--preset--font-family--display, system-ui); color: var(--wp--preset--color--booming-700, #0369a1); }
.bv-gi__stats span { display: block; margin-top: 0.25rem; font-size: 0.75rem; line-height: 1.35; color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__next { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 0.75rem; padding: 0.625rem 1.25rem; border: 1.5px solid var(--wp--preset--color--booming-500, #0ea5e9); border-radius: 0.625rem; background: #fff; font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--wp--preset--color--booming-700, #0369a1); cursor: pointer; }
.bv-gi__next:hover { background: var(--wp--preset--color--booming-50, #f0f9ff); }
.bv-gi__empty { padding: 1.25rem; background: var(--wp--preset--color--base-50, #f8fafc); border-radius: 1rem; }

/* ---------- Shared marks ---------- */
.bv-gi__table { width: 100%; border-collapse: collapse; }
.bv-gi__bar { display: inline-block; font-weight: 700; color: #fff; text-align: center; background: hsl(calc(var(--s) * 1.4), 62%, 36%); }
.bv-gi__y { color: #047857; font-weight: 700; }
.bv-gi__n { color: #b91c1c; font-weight: 700; }
.bv-gi__u { color: #94a3b8; }
.bv-gi__p { color: #b45309; font-weight: 700; }
.bv-gi__up { color: #047857; font-weight: 700; }
.bv-gi__down { color: #b91c1c; font-weight: 700; }
.bv-gi__flat { color: var(--wp--preset--color--muted, #5b6b80); font-weight: 600; }

/* ---------- Phones and tablets: one card per company ---------- */
@container (max-width: 1039.98px) {
	.bv-gi__table, .bv-gi__table tbody { display: block; }
	.bv-gi__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.bv-gi__table tbody { display: grid; gap: 0.625rem; }
	.bv-gi__table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.25rem; padding: 0.75rem; background: #fff; border: 1px solid var(--wp--preset--color--border, #e2e8f0); border-radius: 1rem; box-shadow: 0 1px 2px rgba(12, 26, 46, 0.05); }
	.bv-gi__table tr::before, .bv-gi__table tr::after { flex-basis: 100%; margin-top: 0.25rem; font-size: 0.6875rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--muted, #5b6b80); }
	.bv-gi__table tr::before { order: 3; content: var(--bv-gi-cap-ai, none); }
	.bv-gi__table tr::after { order: 5; content: var(--bv-gi-cap-web, ""); }
	.bv-gi__table td { display: block; padding: 0; border: 0; text-align: left; }

	/* Row 1: rank, company, score */
	.bv-gi__table .bv-gi__rank { order: 0; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: 1px solid var(--wp--preset--color--border, #e2e8f0); border-radius: 999px; background: var(--wp--preset--color--base-50, #f8fafc); font-size: 0.8125rem; font-weight: 700; color: var(--wp--preset--color--muted, #5b6b80); }
	.bv-gi__table .bv-gi__rank--top { border-color: transparent; background: linear-gradient(135deg, #0284c7, #14b8a6); color: #fff; }
	.bv-gi__table .bv-gi__co { order: 0; flex: 1 1 calc(100% - 7rem); min-width: 0; margin-left: 0.25rem; }
	.bv-gi__co strong { display: block; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
	.bv-gi__cot > span { display: block; margin-top: 0.125rem; font-size: 0.75rem; line-height: 1.35; color: var(--wp--preset--color--muted, #5b6b80); overflow-wrap: anywhere; }
	.bv-gi__table .bv-gi__score { order: 0; flex: 0 0 auto; }
	.bv-gi__table .bv-gi__bar { min-width: 3rem; padding: 0.375rem 0.5rem; border-radius: 0.625rem; font-size: 1.0625rem; line-height: 1.2; }

	/* Row 2: four equal tiles with the scores and crawler access */
	.bv-gi__table .bv-gi__chg, .bv-gi__table .bv-gi__num, .bv-gi__table .bv-gi__crawl { order: 2; flex: 1 1 0; display: flex; flex-direction: column; min-width: 3.75rem; margin-top: 0.375rem; padding: 0.375rem 0.5rem; border-radius: 0.625rem; background: var(--wp--preset--color--base-50, #f8fafc); font-size: 0.9375rem; font-weight: 700; line-height: 1.25; }
	.bv-gi__table .bv-gi__chg::before, .bv-gi__table .bv-gi__num::before, .bv-gi__table .bv-gi__crawl::before { content: attr(data-label); margin-bottom: 0.0625rem; font-size: 0.6875rem; font-weight: 600; color: var(--wp--preset--color--muted, #5b6b80); white-space: nowrap; }

	/* Rows 3 and 4: equal tiles, named by each AI, then the website checks */
	.bv-gi__table .bv-gi__pill { order: 6; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0.25rem 0.125rem 0.3125rem; border: 1px solid var(--wp--preset--color--border, #e2e8f0); border-radius: 0.5rem; background: #fff; font-size: 0.875rem; font-weight: 700; line-height: 1.15; text-align: center; }
	.bv-gi__table .bv-gi__pill::after { content: attr(data-label); max-width: 100%; overflow: hidden; font-size: 0.6875rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; color: var(--wp--preset--color--contrast-2, #1f2937); }
	.bv-gi__table .bv-gi__pill.bv-gi__y { background: #f0fdf4; border-color: #bbf7d0; }
	.bv-gi__table .bv-gi__pill.bv-gi__u::after { color: var(--wp--preset--color--muted, #5b6b80); }
	.bv-gi__table .bv-gi__ai { order: 4; }
	.bv-gi__table .bv-gi__ai.bv-gi__y { background: #f0fdfa; border-color: #99f6e4; }
}
@container (min-width: 640px) and (max-width: 1039.98px) {
	.bv-gi__table tbody { grid-template-columns: 1fr 1fr; }
}

/* ---------- Wide screens: the full table ---------- */
@container (min-width: 1040px) {
	.bv-gi__scroll { overflow-x: auto; background: #fff; border: 1px solid var(--wp--preset--color--border, #e2e8f0); border-radius: 1rem; }
	.bv-gi__table { min-width: 1000px; font-size: 0.875rem; line-height: 1.4; }
	.bv-gi__table th, .bv-gi__table td { padding: 0.625rem 0.5rem; border-bottom: 1px solid #e2e8f0; text-align: center; vertical-align: middle; }
	.bv-gi__table tbody tr:last-child td { border-bottom: 0; }
	.bv-gi__table thead th { background: var(--wp--preset--color--booming-50, #f0f9ff); font-size: 0.8125rem; font-weight: 700; }
	.bv-gi__table thead tr:first-child th:nth-child(2), .bv-gi__table td.bv-gi__co { text-align: left; }
	.bv-gi__table abbr { text-decoration: none; cursor: help; }
	.bv-gi__grp { border-bottom: 1px solid #cbd5e1; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--muted, #5b6b80); }
	.bv-gi__co strong { display: block; }
	.bv-gi__cot > span { display: block; font-size: 0.75rem; color: var(--wp--preset--color--muted, #5b6b80); }
	.bv-gi__rank { width: 2.5rem; font-weight: 700; color: var(--wp--preset--color--muted, #5b6b80); }
	.bv-gi__rank--top { color: var(--wp--preset--color--booming-700, #0369a1); }
	.bv-gi__bar { min-width: 3.25rem; padding: 0.25rem 0.5rem; border-radius: 0.5rem; }
	.bv-gi__num { font-weight: 600; }
	.bv-gi__flat { font-size: 0.75rem; }
	.bv-gi__table tbody tr:hover td { background: #f8fafc; }
}

/* Browsers without container queries get the plain table with a scrollbar. */
@supports not (container-type: inline-size) {
	.bv-gi__scroll { overflow-x: auto; }
	.bv-gi__table { min-width: 1000px; font-size: 0.875rem; }
	.bv-gi__table th, .bv-gi__table td { padding: 0.5rem; border-bottom: 1px solid #e2e8f0; text-align: center; }
}

/* ---------- Footer notes ---------- */
.bv-gi__meta { margin: 0.875rem 0; font-size: 0.8125rem; color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__legend { display: grid; gap: 0.25rem 1rem; margin-bottom: 1.75rem; font-size: 0.8125rem; line-height: 1.45; color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__legend strong { color: var(--wp--preset--color--contrast, #0c1a2e); }

/* ---------- Check your own company ---------- */
.bv-gi__check { padding: 1.25rem; background: linear-gradient(135deg, #e0f2fe, #ccfbf1); border-radius: 1rem; }
.bv-gi__check h3 { margin: 0 0 0.25rem; font-size: 1.25rem; line-height: 1.3; }
.bv-gi__check > p { margin: 0; }
.bv-gi__form { display: grid; gap: 0.5rem; margin: 1rem 0 0; }
.bv-gi__form input { width: 100%; min-width: 0; min-height: 48px; padding: 0.75rem 1rem; font: inherit; font-size: 1rem; border: 1.5px solid #cbd5e1; border-radius: 0.625rem; background: #fff; }
.bv-gi__btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0.75rem 1.5rem; border: 0; border-radius: 0.625rem; background: linear-gradient(135deg, #0284c7, #14b8a6); font: inherit; font-weight: 600; color: #fff; cursor: pointer; }
.bv-gi__btn[disabled] { opacity: 0.6; cursor: wait; }
.bv-gi__result, .bv-gi__gate, .bv-gi__plan { margin-top: 1rem; padding: 1rem 1.125rem; background: #fff; border-radius: 0.75rem; }
.bv-gi__big { margin: 0; font-size: 1rem; }
.bv-gi__big strong { font: 700 2.5rem/1 var(--wp--preset--font-family--display, system-ui); color: var(--wp--preset--color--booming-700, #0369a1); }
.bv-gi__for { margin: 0.25rem 0 0.75rem; font-size: 0.875rem; color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__checks { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; font-size: 0.875rem; line-height: 1.4; }
.bv-gi__checks li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.5rem; }
.bv-gi__checks span { font-weight: 700; }
.bv-gi__li--yes span { color: #047857; }
.bv-gi__li--no span { color: #b91c1c; }
.bv-gi__li--na span { color: #94a3b8; }
.bv-gi__gate h4 { margin: 0 0 0.25rem; }
.bv-gi__plan ol { display: grid; gap: 0.5rem; margin: 0; padding-left: 1.25rem; font-size: 0.9375rem; }

/* ---------- Larger blocks ---------- */
@container (min-width: 720px) {
	.bv-gi__tabs { display: inline-grid; grid-template-columns: auto auto; }
	.bv-gi__how[open] > summary { padding-bottom: 0.25rem; }
	.bv-gi__how ol { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; padding-top: 0.5rem; }
	.bv-gi__how li { padding: 2rem 0 0; }
	.bv-gi__tab { padding: 0.625rem 1.25rem; font-size: 0.9375rem; }
	.bv-gi__filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem; padding: 1rem; }
	.bv-gi__field { flex: 0 1 14rem; }
	.bv-gi__field:last-of-type { flex-basis: 11rem; }
	.bv-gi__next { width: auto; margin: 1rem auto 0; }
	.bv-gi__q { flex: 1 1 200px; width: auto; font-size: 0.9375rem; }
	.bv-gi__sector, .bv-gi__sort { font-size: 0.9375rem; }
	.bv-gi__more { flex-basis: 100%; }
	.bv-gi__more[open] > summary { display: none; }
	.bv-gi__more[open] .bv-gi__chips { margin-top: 0; gap: 0.5rem; }
	.bv-gi__cgl { flex: 0 0 8.5rem; font-size: 0.8125rem; }
	.bv-gi__count { margin-left: auto; }
	.bv-gi__title { font-size: 1.25rem; }
	.bv-gi__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1.25rem; overflow: visible; }
	.bv-gi__stats > div { width: auto; padding: 1rem; border-radius: 1rem; }
	.bv-gi__stats strong { font-size: 1.75rem; }
	.bv-gi__stats span { font-size: 0.8125rem; }
	.bv-gi__legend { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 2rem; }
	.bv-gi__check { padding: 1.75rem; }
	.bv-gi__form { display: flex; gap: 0.75rem; }
	.bv-gi__form input { flex: 1 1 auto; width: auto; }
	.bv-gi__btn { width: auto; }
}
@container (min-width: 1040px) {
	.bv-gi__stats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
}

/* Companies that have no result yet (first measurement of a new list): kept in
 * the list so both lists always show all 100 companies and all 20 sectors. */
.bv-gi__pending .bv-gi__co strong, .bv-gi__pending .bv-gi__rank { color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__wait { display: inline-block; padding: 0.125rem 0.5rem; font-size: 0.75rem; font-weight: 600; white-space: nowrap; color: var(--wp--preset--color--muted, #5b6b80); background: var(--wp--preset--color--base-50, #f8fafc); border: 1px dashed var(--wp--preset--color--border, #e2e8f0); border-radius: 999px; }

/* ---------- Method 2 (1.24.0): margins, groups, details and insights ---------- */
.bv-gi__pm { display: inline-block; margin-left: 0.25rem; font-size: 0.75rem; font-weight: 600; color: var(--wp--preset--color--muted, #5b6b80); white-space: nowrap; }
.bv-gi__ns { color: var(--wp--preset--color--muted, #5b6b80); font-weight: 600; text-decoration: underline dotted; text-underline-offset: 2px; cursor: help; }
.bv-gi__table .bv-gi__rank--grp { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.bv-gi__g-strong { color: #047857; }
.bv-gi__g-mid { color: #b45309; }
.bv-gi__g-low { color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__cow { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; min-width: 0; }
.bv-gi__cot { min-width: 0; }
.bv-gi__dls { display: none; }
.bv-gi__dbtn { --bv-gi-e: cubic-bezier(0.2, 0.8, 0.2, 1); flex: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 34px; padding: 0.3125rem 0.375rem 0.3125rem 0.875rem; border: 1px solid var(--wp--preset--color--border, #e2e8f0); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(12, 26, 46, 0.06); font: inherit; font-size: 0.75rem; font-weight: 600; line-height: 1.2; white-space: nowrap; color: var(--wp--preset--color--booming-700, #0369a1); cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease, transform 0.15s ease; -webkit-tap-highlight-color: transparent; }
.bv-gi__dbtn:hover { border-color: var(--wp--preset--color--booming-300, #7dd3fc); background: var(--wp--preset--color--booming-50, #f0f9ff); box-shadow: 0 3px 10px rgba(2, 132, 199, 0.14); }
.bv-gi__dbtn:active { transform: scale(0.97); }
.bv-gi__dbtn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.35); }
.bv-gi__dico { display: inline-grid; flex: none; place-items: center; width: 1.375rem; height: 1.375rem; border-radius: 999px; background: var(--wp--preset--color--booming-50, #f0f9ff); transition: background-color 0.2s ease, transform 0.35s var(--bv-gi-e); }
.bv-gi__dico::before { content: ""; width: 0.375rem; height: 0.375rem; margin-top: -0.1875rem; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: rotate(45deg); }
.bv-gi__dbtn[aria-expanded="true"] { border-color: transparent; background: linear-gradient(135deg, #0284c7, #14b8a6); box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28); color: #fff; }
.bv-gi__dbtn[aria-expanded="true"] .bv-gi__dico { background: rgba(255, 255, 255, 0.22); transform: rotate(180deg); }
.bv-gi__dgrid { display: grid; gap: 0.75rem; text-align: left; }
.bv-gi__dblk { min-width: 0; padding: 0.75rem 0.875rem; background: #fff; border: 1px solid var(--wp--preset--color--border, #e2e8f0); border-radius: 0.75rem; font-size: 0.8125rem; line-height: 1.5; }
.bv-gi__dblk h4 { margin: 0 0 0.375rem; font-size: 0.8125rem; font-weight: 700; color: var(--wp--preset--color--contrast, #0c1a2e); }
.bv-gi__dblk p { margin: 0 0 0.375rem; }
.bv-gi__dblk p:last-child { margin-bottom: 0; }
.bv-gi__facts { display: grid; gap: 0.25rem; margin: 0; padding-left: 1rem; }
.bv-gi__warn { padding: 0.375rem 0.5rem; border-radius: 0.5rem; background: #fffbeb; color: #92400e; }
.bv-gi__small { font-size: 0.75rem; color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__hosts, .bv-gi__host { font-family: var(--wp--preset--font-family--mono, ui-monospace, monospace); font-size: 0.75rem; overflow-wrap: anywhere; }
.bv-gi__bars { display: grid; gap: 0.375rem; margin: 0; padding: 0; list-style: none; }
.bv-gi__bars li { display: grid; grid-template-columns: 5.5rem 1fr auto; align-items: center; gap: 0.5rem; font-size: 0.75rem; }
.bv-gi__bl { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bv-gi__bv { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__mini { position: relative; height: 0.5rem; border-radius: 999px; background: var(--wp--preset--color--base-50, #f1f5f9); overflow: hidden; }
.bv-gi__mini::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 1%); border-radius: inherit; background: linear-gradient(90deg, #0284c7, #14b8a6); }

/* Detail rows: a card under the company card on phones, a full-width cell in the table. */
.bv-gi__table tr.bv-gi__detail td { background: var(--wp--preset--color--base-50, #f8fafc); }
@container (max-width: 1039.98px) {
	.bv-gi__table tr.bv-gi__detail { display: block; margin-top: -0.375rem; padding: 0; background: var(--wp--preset--color--base-50, #f8fafc); border-style: dashed; }
	.bv-gi__detail .bv-gi__din > .bv-gi__dgrid { padding: 0.625rem; }
	.bv-gi__table tr.bv-gi__detail::before, .bv-gi__table tr.bv-gi__detail::after { content: none; display: none; }
	.bv-gi__table tr.bv-gi__detail td { display: block; background: transparent; }
	.bv-gi__table .bv-gi__rank--grp { width: auto; min-width: 2rem; padding: 0 0.5rem; }
	.bv-gi__table .bv-gi__score { display: flex; flex-direction: column; align-items: flex-end; gap: 0.125rem; }
	.bv-gi__pm { margin-left: 0; }
}
@container (min-width: 640px) and (max-width: 1039.98px) {
	.bv-gi__table tr.bv-gi__detail { grid-column: 1 / -1; }
	.bv-gi__dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (min-width: 1040px) {
	.bv-gi__table tr.bv-gi__detail td { padding: 0; }
	.bv-gi__detail .bv-gi__din > .bv-gi__dgrid { padding: 0.875rem 1rem 1rem; }
	.bv-gi__table tbody tr.bv-gi__detail:hover td { background: var(--wp--preset--color--base-50, #f8fafc); }
	.bv-gi__dgrid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
	.bv-gi__table .bv-gi__rank--grp { width: auto; }
	/* The button sits at the right edge of the company column, in the same spot on every row. */
	.bv-gi__table td.bv-gi__co { min-width: 17rem; }
	.bv-gi__dlf { display: none; }
	.bv-gi__dls { display: inline; }
	.bv-gi__cow { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
	.bv-gi__cow .bv-gi__dbtn { margin-left: auto; }
}

/* Insights below each list. */
.bv-gi__ins { margin: 1.75rem 0 0; }
.bv-gi__ins > h3 { margin: 0 0 0.25rem; font-size: 1.125rem; line-height: 1.3; }
.bv-gi__ins-lead { margin: 0 0 1rem; font-size: 0.875rem; color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__ins-grid { display: grid; gap: 0.75rem; }
.bv-gi__icard { min-width: 0; padding: 1rem; background: #fff; border: 1px solid var(--wp--preset--color--border, #e2e8f0); border-radius: 1rem; font-size: 0.875rem; line-height: 1.5; }
.bv-gi__icard h4 { margin: 0 0 0.625rem; font-size: 0.9375rem; line-height: 1.3; }
.bv-gi__icard p { margin: 0.625rem 0 0; }
.bv-gi__quad { display: grid; grid-template-columns: 1fr 1fr; gap: 0.375rem; }
.bv-gi__quad > div { display: flex; flex-direction: column; gap: 0.125rem; padding: 0.625rem; border-radius: 0.625rem; background: var(--wp--preset--color--base-50, #f8fafc); font-size: 0.75rem; line-height: 1.35; }
.bv-gi__quad strong { font: 700 1.375rem/1.1 var(--wp--preset--font-family--display, system-ui); color: var(--wp--preset--color--booming-700, #0369a1); }
.bv-gi__quad .bv-gi__q-both { background: #ecfdf5; }
.bv-gi__quad .bv-gi__q-web { background: #eff6ff; }
.bv-gi__quad .bv-gi__q-ai { background: #f0fdfa; }
.bv-gi__pairs { display: grid; gap: 0.25rem; margin: 0.375rem 0 0; padding: 0; list-style: none; font-size: 0.8125rem; }
.bv-gi__pairs li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.25rem 0; border-bottom: 1px solid var(--wp--preset--color--border, #e2e8f0); }
.bv-gi__pairs li:last-child { border-bottom: 0; }
.bv-gi__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.bv-gi__duo > div { display: flex; flex-direction: column; gap: 0.125rem; padding: 0.75rem; border-radius: 0.75rem; background: var(--wp--preset--color--base-50, #f8fafc); font-size: 0.75rem; line-height: 1.35; }
.bv-gi__duo strong { font: 700 1.625rem/1.1 var(--wp--preset--font-family--display, system-ui); color: var(--wp--preset--color--booming-700, #0369a1); }
.bv-gi__fold { margin-top: 0.625rem; border-top: 1px solid var(--wp--preset--color--border, #e2e8f0); }
.bv-gi__fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0; list-style: none; font-weight: 600; cursor: pointer; }
.bv-gi__fold > summary::-webkit-details-marker { display: none; }
.bv-gi__fold > summary span { margin-left: auto; white-space: nowrap; font-size: 0.75rem; font-weight: 500; color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__fold > summary::after { content: ""; flex: none; width: 0.4375rem; height: 0.4375rem; margin: -0.25rem 0.125rem 0 0.25rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.15s; }
.bv-gi__fold[open] > summary::after { margin-top: 0.25rem; transform: rotate(-135deg); }
.bv-gi__mt { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.bv-gi__mt th, .bv-gi__mt td { padding: 0.375rem 0.25rem; border-bottom: 1px solid var(--wp--preset--color--border, #e2e8f0); text-align: right; font-weight: 400; }
.bv-gi__mt th[scope="row"], .bv-gi__mt thead th:first-child { text-align: left; }
.bv-gi__mt thead th { font-size: 0.75rem; font-weight: 700; color: var(--wp--preset--color--muted, #5b6b80); }
.bv-gi__src { margin-top: 0.75rem; }
.bv-gi__srcs { display: grid; column-gap: 1.25rem; }
.bv-gi__srcs ol { display: grid; gap: 0.25rem; margin: 0 0 0.75rem; padding-left: 1.25rem; font-size: 0.8125rem; }
.bv-gi__srcs li { padding-left: 0.125rem; }
.bv-gi__srcs li strong { float: right; margin-left: 0.5rem; font-variant-numeric: tabular-nums; }
.bv-gi__srcs li em { font-size: 0.75rem; font-style: normal; color: var(--wp--preset--color--muted, #5b6b80); }
@container (min-width: 720px) {
	.bv-gi__ins-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
	.bv-gi__srcs { grid-template-columns: 1fr 1fr; }
}

/* The public check: sector choice and the gap with the leader. */
.bv-gi__csec { width: 100%; min-width: 0; min-height: 48px; padding: 0.75rem 1rem; font: inherit; font-size: 1rem; border: 1.5px solid #cbd5e1; border-radius: 0.625rem; background: #fff; color: inherit; }
.bv-gi__inidx { margin: 0.875rem 0 0; padding: 0.625rem 0.75rem; border-radius: 0.625rem; background: var(--wp--preset--color--booming-50, #f0f9ff); font-size: 0.875rem; }
.bv-gi__gap { margin-top: 0.875rem; padding-top: 0.875rem; border-top: 1px solid var(--wp--preset--color--border, #e2e8f0); font-size: 0.875rem; }
.bv-gi__gap h4 { margin: 0 0 0.375rem; font-size: 1rem; }
.bv-gi__gap p { margin: 0.375rem 0; }
.bv-gi__gapl { display: grid; gap: 0.25rem; margin: 0.25rem 0 0.5rem; padding-left: 1.25rem; }
@container (min-width: 720px) {
	.bv-gi__csec { flex: 0 1 15rem; width: auto; }
}

/* 1.24.1: incomplete check (homepage refused the request) */
.bv-gi__inc { font-size: 0.875rem; font-weight: 600; color: #b45309; }
.bv-gi__warn { margin: 0 0 0.875rem; padding: 0.75rem 0.875rem; border-left: 3px solid #f59e0b; border-radius: 0.375rem; background: #fffbeb; font-size: 0.875rem; line-height: 1.45; }
.bv-gi__warn p { margin: 0 0 0.375rem; }
.bv-gi__warn p:last-child { margin-bottom: 0; }
.bv-gi__note { margin: 0.75rem 0 0; font-size: 0.8125rem; color: var(--wp--preset--color--muted, #5b6b80); }
#check { display: block; position: relative; top: -5rem; visibility: hidden; }

/* ---------- 1.25.0: PDF button and motion ---------- */
.bv-gi__dact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.bv-gi__pdf { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 40px; padding: 0.5rem 1rem; border-radius: 999px; background: linear-gradient(135deg, #0284c7, #14b8a6); box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25); font-size: 0.8125rem; font-weight: 700; line-height: 1.2; color: #fff; text-decoration: none; transition: box-shadow 0.25s ease, transform 0.15s ease, filter 0.2s ease; }
.bv-gi__pdf::before { content: ""; width: 0.875rem; height: 0.875rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-5-5m5 5l5-5M4 19h16'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-5-5m5 5l5-5M4 19h16'/%3E%3C/svg%3E") center / contain no-repeat; }
.bv-gi__pdf:hover { color: #fff; box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35); transform: translateY(-1px); }
.bv-gi__pdf:active { transform: translateY(0) scale(0.98); }
.bv-gi__pdf:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.4); }
.bv-gi__pdf.is-busy { filter: saturate(0.6); pointer-events: none; }
.bv-gi__plan .bv-gi__pdf { margin-top: 0.75rem; }
.bv-gi__secpdf { margin: 0.5rem 0 0; }
.bv-gi__secpdf:not([hidden]) { animation: bv-gi-up 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* Details open and close smoothly: the inner wrapper grows from 0 to its natural height. */
.bv-gi__table tr.bv-gi__detail { opacity: 0; transition: opacity 0.26s ease; }
.bv-gi__table tr.bv-gi__detail.is-open { opacity: 1; }
.bv-gi__dwrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.34s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bv-gi__detail.is-open .bv-gi__dwrap { grid-template-rows: 1fr; }
.bv-gi__din { min-height: 0; overflow: hidden; }
.bv-gi__detail.is-open .bv-gi__dblk, .bv-gi__detail.is-open .bv-gi__dact { animation: bv-gi-up 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.bv-gi__detail.is-open .bv-gi__dblk:nth-child(2) { animation-delay: 0.04s; }
.bv-gi__detail.is-open .bv-gi__dblk:nth-child(3) { animation-delay: 0.08s; }
.bv-gi__detail.is-open .bv-gi__dblk:nth-child(4) { animation-delay: 0.12s; }
.bv-gi__detail.is-open .bv-gi__dblk:nth-child(5) { animation-delay: 0.16s; }
.bv-gi__detail.is-open .bv-gi__dact { animation-delay: 0.2s; }
.bv-gi__detail.is-open .bv-gi__mini::before { transform-origin: left center; animation: bv-gi-grow 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s both; }

/* Tabs, filters and the check */
.bv-gi__list:not([hidden]) { animation: bv-gi-fade 0.32s ease both; }
.bv-gi__table tbody.bv-gi--sw { animation: bv-gi-soft 0.22s ease; }
.bv-gi__result.is-in { animation: bv-gi-up 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.bv-gi__checks li { animation: bv-gi-up 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 28ms); }
.bv-gi__result.is-loading { display: flex; align-items: center; gap: 0.625rem; }
.bv-gi__result.is-loading::before { content: ""; flex: none; width: 1.125rem; height: 1.125rem; border: 2px solid var(--wp--preset--color--booming-200, #bae6fd); border-top-color: var(--wp--preset--color--booming-600, #0284c7); border-radius: 999px; animation: bv-gi-spin 0.8s linear infinite; }
.bv-gi__gate:not([hidden]), .bv-gi__plan:not([hidden]) { animation: bv-gi-up 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.bv-gi__btn, .bv-gi__chip, .bv-gi__next, .bv-gi__reset { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease, transform 0.15s ease; }
.bv-gi__btn:hover { box-shadow: 0 6px 18px rgba(2, 132, 199, 0.28); transform: translateY(-1px); }
.bv-gi__btn:active, .bv-gi__chip:active, .bv-gi__next:active { transform: scale(0.97); }
.bv-gi__btn[disabled] { opacity: 0.7; transform: none; cursor: progress; }

/* Folding sections open smoothly where the browser supports it. */
.bv-gi { interpolate-size: allow-keywords; }
.bv-gi details::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), content-visibility 0.32s allow-discrete; }
.bv-gi details[open]::details-content { block-size: auto; }

@keyframes bv-gi-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bv-gi-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes bv-gi-soft { from { opacity: 0.6; } to { opacity: 1; } }
@keyframes bv-gi-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bv-gi-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
	.bv-gi *, .bv-gi *::before, .bv-gi *::after, .bv-gi details::details-content { animation: none !important; transition: none !important; }
	.bv-gi__table tr.bv-gi__detail { opacity: 1; }
}
