/* Advisible GBP Grader — every rule is scoped under .agbpg so nothing leaks into the theme. */
.agbpg{
	--agbpg-bg:#0b0b0c;
	--agbpg-card:#141416;
	--agbpg-line:#26262a;
	--agbpg-text:#f4f4f5;
	--agbpg-muted:#a1a1aa;
	--agbpg-accent:#F76B0C;
	--agbpg-accent-2:#ff8a3d;
	--agbpg-good:#22c55e;
	--agbpg-mid:#eab308;
	--agbpg-bad:#ef4444;
	box-sizing:border-box;
	width:100%;
	max-width:960px;
	margin:0 auto;
	color:var(--agbpg-text);
	font-size:16px;
	line-height:1.5;
	text-align:left;
}
/* Themes (e.g. Astra) force full width on content children; keep the card readable. */
.entry-content .agbpg,div.agbpg{max-width:960px !important;margin-left:auto !important;margin-right:auto !important;margin-top:24px;margin-bottom:48px}
.agbpg *,.agbpg *::before,.agbpg *::after{box-sizing:border-box}
.agbpg [hidden]{display:none !important}

.agbpg .agbpg-card{
	background:var(--agbpg-bg);
	background-image:radial-gradient(ellipse at top right,rgba(247,107,12,.16),transparent 55%);
	border:1px solid var(--agbpg-line);
	border-radius:20px;
	padding:clamp(20px,4vw,44px);
	box-shadow:0 30px 60px -30px rgba(0,0,0,.6);
}
.agbpg .agbpg-head{margin:0 0 24px}
.agbpg .agbpg-badge{
	display:inline-block;margin:0 0 12px;padding:4px 12px;border-radius:999px;
	background:rgba(247,107,12,.14);color:var(--agbpg-accent-2);
	font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
}
.agbpg .agbpg-title{
	margin:0 0 8px;padding:0;color:var(--agbpg-text);
	font-size:clamp(24px,3.4vw,36px);line-height:1.15;font-weight:800;letter-spacing:-.01em;text-transform:none;
}
.agbpg .agbpg-sub{margin:0;color:var(--agbpg-muted);font-size:16px;max-width:640px}

/* Form */
.agbpg .agbpg-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin:0 0 18px}
.agbpg .agbpg-span2{grid-column:1 / -1}
.agbpg .agbpg-field{display:block;margin:0;padding:0}
.agbpg .agbpg-label{display:block;margin:0 0 6px;color:var(--agbpg-muted);font-size:13px;font-weight:600;letter-spacing:.02em}
.agbpg .agbpg-input{
	-webkit-appearance:none;appearance:none;display:block;width:100%;height:48px;margin:0;
	padding:0 14px;border:1px solid var(--agbpg-line);border-radius:12px;
	background:var(--agbpg-card);color:var(--agbpg-text);
	font:inherit;font-size:16px;line-height:48px;box-shadow:none;outline:none;
	transition:border-color .15s,box-shadow .15s;
}
.agbpg .agbpg-input::placeholder{color:#6b6b73;opacity:1}
.agbpg .agbpg-input:focus{border-color:var(--agbpg-accent);box-shadow:0 0 0 3px rgba(247,107,12,.22)}
.agbpg .agbpg-input.agbpg-invalid{border-color:var(--agbpg-bad)}
.agbpg .agbpg-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}

.agbpg .agbpg-btn,
.agbpg a.agbpg-btn{
	-webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;
	width:100%;min-height:52px;margin:0;padding:12px 24px;border:0;border-radius:12px;
	background:linear-gradient(135deg,var(--agbpg-accent),var(--agbpg-accent-2));color:#fff;
	font:inherit;font-size:17px;font-weight:700;line-height:1.2;letter-spacing:.01em;text-transform:none;text-decoration:none;
	cursor:pointer;box-shadow:0 10px 24px -10px rgba(247,107,12,.7);transition:transform .12s,filter .15s;
}
.agbpg .agbpg-btn:hover{filter:brightness(1.07);color:#fff;text-decoration:none}
.agbpg .agbpg-btn:active{transform:translateY(1px)}
.agbpg .agbpg-btn:disabled{opacity:.6;cursor:wait}
.agbpg .agbpg-btn-ghost,
.agbpg a.agbpg-btn-ghost{background:transparent;border:1px solid var(--agbpg-line);box-shadow:none;color:var(--agbpg-text)}
.agbpg .agbpg-btn-ghost:hover{border-color:var(--agbpg-accent);color:var(--agbpg-text)}
.agbpg .agbpg-note{margin:10px 0 0;color:#71717a;font-size:13px;text-align:center}
.agbpg .agbpg-error{
	margin:14px 0 0;padding:12px 14px;border-radius:10px;
	background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.4);color:#fca5a5;font-size:14px;
}

/* Candidate picker */
.agbpg .agbpg-pick-title{margin:0 0 4px;font-size:20px;font-weight:700;color:var(--agbpg-text)}
.agbpg .agbpg-pick-sub{margin:0 0 16px;color:var(--agbpg-muted);font-size:14px}
.agbpg .agbpg-pick-list{display:grid;gap:10px;margin:0 0 16px;padding:0;list-style:none}
.agbpg .agbpg-pick-item{margin:0;padding:0}
.agbpg .agbpg-pick-btn{
	-webkit-appearance:none;appearance:none;display:block;width:100%;margin:0;padding:14px 16px;text-align:left;
	background:var(--agbpg-card);border:1px solid var(--agbpg-line);border-radius:12px;color:var(--agbpg-text);
	font:inherit;font-size:15px;line-height:1.4;text-transform:none;cursor:pointer;transition:border-color .15s,background .15s;
}
.agbpg .agbpg-pick-btn:hover,.agbpg .agbpg-pick-btn:focus{border-color:var(--agbpg-accent);background:#1a1a1d;color:var(--agbpg-text);outline:none}
.agbpg .agbpg-pick-name{display:block;font-weight:700}
.agbpg .agbpg-pick-addr{display:block;color:var(--agbpg-muted);font-size:13px}

/* Loading */
.agbpg .agbpg-loading{padding:48px 0;text-align:center}
.agbpg .agbpg-spinner{
	width:56px;height:56px;margin:0 auto 16px;border-radius:50%;
	border:4px solid var(--agbpg-line);border-top-color:var(--agbpg-accent);
	animation:agbpg-spin .9s linear infinite;
}
.agbpg .agbpg-loading-text{margin:0;color:var(--agbpg-muted)}
@keyframes agbpg-spin{to{transform:rotate(360deg)}}

/* Results */
.agbpg .agbpg-hero{display:grid;grid-template-columns:auto 1fr;gap:28px;align-items:center;margin:0 0 28px}
.agbpg .agbpg-ring{position:relative;width:150px;height:150px}
.agbpg .agbpg-ring svg{display:block;width:150px;height:150px;transform:rotate(-90deg)}
.agbpg .agbpg-ring-track{fill:none;stroke:var(--agbpg-line);stroke-width:12}
.agbpg .agbpg-ring-val{fill:none;stroke-width:12;stroke-linecap:round;transition:stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1)}
.agbpg .agbpg-ring-num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.agbpg .agbpg-ring-score{font-size:44px;font-weight:800;line-height:1;color:var(--agbpg-text)}
.agbpg .agbpg-ring-of{font-size:13px;color:var(--agbpg-muted)}
.agbpg .agbpg-biz{margin:0 0 4px;font-size:clamp(20px,2.6vw,28px);font-weight:800;line-height:1.2;color:var(--agbpg-text)}
.agbpg .agbpg-addr{margin:0 0 12px;color:var(--agbpg-muted);font-size:14px}
.agbpg .agbpg-pills{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.agbpg .agbpg-pill{padding:6px 12px;border-radius:999px;background:var(--agbpg-card);border:1px solid var(--agbpg-line);font-size:13px;font-weight:600;color:var(--agbpg-text)}
.agbpg .agbpg-pill-accent{background:rgba(247,107,12,.14);border-color:rgba(247,107,12,.4);color:var(--agbpg-accent-2)}

.agbpg .agbpg-pill-muted{color:var(--agbpg-muted);font-weight:500}
.agbpg .agbpg-muted{color:var(--agbpg-muted)}
.agbpg .agbpg-match{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px}
.agbpg .agbpg-match-label{color:var(--agbpg-muted);font-size:13px;font-weight:600;margin-right:2px}
.agbpg .agbpg-comps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.agbpg .agbpg-comp{display:flex;align-items:flex-start;gap:12px;margin:0;padding:14px 16px;border-radius:12px;background:var(--agbpg-card);border:1px solid var(--agbpg-line)}
.agbpg .agbpg-comp-num{flex:0 0 26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(247,107,12,.14);color:var(--agbpg-accent-2);font-size:13px;font-weight:800}
.agbpg .agbpg-comp-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.agbpg .agbpg-comp-name{font-weight:700;color:var(--agbpg-text);line-height:1.3;overflow-wrap:anywhere}
.agbpg .agbpg-comp-site,.agbpg a.agbpg-comp-site{font-size:13px;color:var(--agbpg-accent-2);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agbpg a.agbpg-comp-site:hover{text-decoration:underline;color:var(--agbpg-accent-2)}
.agbpg .agbpg-comp-why{font-size:12px;color:var(--agbpg-muted)}
.agbpg .agbpg-comp-score{font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}
.agbpg .agbpg-online-only{margin:12px 0 0;font-size:13px;color:#d4d4d8}
.agbpg .agbpg-mini-load{display:flex;align-items:center;gap:12px;padding:18px;border:1px dashed var(--agbpg-line);border-radius:12px;color:var(--agbpg-muted);font-size:14px}
.agbpg .agbpg-spinner.agbpg-spinner-sm{width:22px;height:22px;margin:0;border-width:3px;flex:0 0 22px}
.agbpg .agbpg-pos-mid{color:var(--agbpg-mid);font-weight:700}
.agbpg .agbpg-table td.agbpg-kw{color:var(--agbpg-text);font-weight:600;white-space:normal;min-width:180px}
.agbpg .agbpg-rk-table td{white-space:nowrap}
.agbpg .agbpg-tag-sm{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:var(--agbpg-line);color:var(--agbpg-muted);font-size:11px;font-weight:700;vertical-align:middle}
.agbpg .agbpg-tag-map{background:rgba(34,197,94,.14);color:var(--agbpg-good)}
.agbpg .agbpg-ins-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.agbpg .agbpg-ins-card{padding:16px 18px;border-radius:14px;background:var(--agbpg-card);border:1px solid var(--agbpg-line)}
.agbpg .agbpg-ins-title{margin:0 0 10px;font-weight:700;color:var(--agbpg-text)}
.agbpg .agbpg-kv{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--agbpg-line);font-size:14px}
.agbpg .agbpg-kv:last-of-type{border-bottom:0}
.agbpg .agbpg-kv span:first-child{color:var(--agbpg-muted)}
.agbpg .agbpg-kv span:first-child{flex:1;min-width:0}
.agbpg .agbpg-kv span:last-child{text-align:right;font-weight:600;white-space:nowrap}
.agbpg .agbpg-fine{margin:10px 0 0;color:#71717a;font-size:12px}
.agbpg .agbpg-bigs{display:flex;gap:28px}
.agbpg .agbpg-big{display:flex;flex-direction:column}
.agbpg .agbpg-big-num{font-size:38px;font-weight:800;line-height:1}
.agbpg .agbpg-big-label{color:var(--agbpg-muted);font-size:13px}
.agbpg .agbpg-serp{margin:0;padding:0;list-style:none;counter-reset:agbpg-serp}
.agbpg .agbpg-serp li{position:relative;margin:0;padding:8px 0 8px 30px;border-bottom:1px solid var(--agbpg-line);counter-increment:agbpg-serp}
.agbpg .agbpg-serp li:last-child{border-bottom:0}
.agbpg .agbpg-serp li::before{content:counter(agbpg-serp);position:absolute;left:0;top:9px;width:20px;height:20px;border-radius:50%;background:var(--agbpg-line);color:var(--agbpg-muted);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.agbpg .agbpg-serp li.agbpg-serp-you::before{background:rgba(247,107,12,.25);color:var(--agbpg-accent-2)}
.agbpg .agbpg-serp-dom{display:block;font-size:13px;font-weight:700;color:var(--agbpg-text)}
.agbpg .agbpg-serp-title{display:block;font-size:12px;color:var(--agbpg-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agbpg .agbpg-tag-you{background:rgba(247,107,12,.18);color:var(--agbpg-accent-2)}
.agbpg .agbpg-paa{margin:0;padding:0 0 0 18px}
.agbpg .agbpg-paa li{margin:0 0 8px;color:#d4d4d8;font-size:14px}
.agbpg .agbpg-ins-grid>*{min-width:0}
.agbpg .agbpg-ins-card{min-width:0;overflow:hidden}
.agbpg .agbpg-ins-card .agbpg-pills{gap:6px;justify-content:flex-start}
.agbpg .agbpg-ins-card .agbpg-pill{font-weight:500;font-size:12px}
.agbpg .agbpg-gsc-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:14px;background:var(--agbpg-card);border:1px solid var(--agbpg-line)}
.agbpg .agbpg-gsc-cta .agbpg-btn{width:auto;flex:0 0 auto;background:#fff;color:#1f1f1f;box-shadow:none}
.agbpg .agbpg-gsc-cta .agbpg-btn:hover{color:#1f1f1f;filter:brightness(.95)}
.agbpg .agbpg-gsc-msg{margin:0 0 10px;padding:10px 14px;border-radius:10px;background:rgba(247,107,12,.1);border:1px solid rgba(247,107,12,.35);color:#fdba74;font-size:14px}
.agbpg .agbpg-gsc-tiles{flex-wrap:wrap;gap:22px 36px}
.agbpg .agbpg-gsc-tiles .agbpg-big-num{font-size:30px;color:var(--agbpg-text)}
.agbpg .agbpg-gsc-table td{white-space:nowrap}
.agbpg .agbpg-h3{margin:0 0 12px;padding:0;font-size:18px;font-weight:700;color:var(--agbpg-text);text-transform:none;letter-spacing:0}
.agbpg .agbpg-section{margin:0 0 28px}

.agbpg .agbpg-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--agbpg-line);border-radius:14px}
.agbpg .agbpg-table{width:100%;min-width:560px;margin:0;border-collapse:collapse;background:transparent;font-size:14px;border:0}
.agbpg .agbpg-table th,.agbpg .agbpg-table td{
	padding:12px 14px;border:0;border-bottom:1px solid var(--agbpg-line);
	background:transparent;color:var(--agbpg-text);text-align:center;vertical-align:middle;
}
.agbpg .agbpg-table tr:last-child td{border-bottom:0}
.agbpg .agbpg-table th{color:var(--agbpg-muted);font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.05em;background:var(--agbpg-card)}
.agbpg .agbpg-table th:first-child,.agbpg .agbpg-table td:first-child{text-align:left;color:var(--agbpg-muted);font-weight:600;white-space:nowrap}
.agbpg .agbpg-table .agbpg-me{background:rgba(247,107,12,.08)}
.agbpg .agbpg-table th.agbpg-me{color:var(--agbpg-accent-2)}
.agbpg .agbpg-colname{display:block;max-width:150px;margin:0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:none;letter-spacing:0;font-size:13px}
.agbpg .agbpg-yes{color:var(--agbpg-good);font-weight:700}
.agbpg .agbpg-no{color:var(--agbpg-bad);font-weight:700}
.agbpg .agbpg-best{color:var(--agbpg-good);font-weight:700}
.agbpg .agbpg-total td{font-weight:800;font-size:16px}

.agbpg .agbpg-bars{display:grid;gap:12px}
.agbpg .agbpg-bar-row{display:grid;grid-template-columns:120px 1fr 64px;gap:12px;align-items:center;font-size:14px}
.agbpg .agbpg-bar-label{color:var(--agbpg-muted)}
.agbpg .agbpg-bar{height:10px;border-radius:999px;background:var(--agbpg-line);overflow:hidden}
.agbpg .agbpg-bar span{display:block;height:100%;width:0;border-radius:999px;transition:width 1s cubic-bezier(.2,.8,.2,1)}
.agbpg .agbpg-bar-val{text-align:right;font-weight:700;font-variant-numeric:tabular-nums}

.agbpg .agbpg-tips{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.agbpg .agbpg-tip{margin:0;padding:16px 18px;border-radius:12px;background:var(--agbpg-card);border:1px solid var(--agbpg-line);border-left:4px solid var(--agbpg-muted)}
.agbpg .agbpg-tip-high{border-left-color:var(--agbpg-bad)}
.agbpg .agbpg-tip-medium{border-left-color:var(--agbpg-mid)}
.agbpg .agbpg-tip-low{border-left-color:var(--agbpg-good)}
.agbpg .agbpg-tip-title{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-weight:700;color:var(--agbpg-text)}
.agbpg .agbpg-tip-tag{padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;background:var(--agbpg-line);color:var(--agbpg-muted)}
.agbpg .agbpg-tip-text{margin:0;color:#d4d4d8;font-size:14px}

.agbpg .agbpg-cta{
	margin:0;padding:24px;border-radius:16px;text-align:center;
	background:linear-gradient(135deg,rgba(247,107,12,.18),rgba(247,107,12,.04));border:1px solid rgba(247,107,12,.35);
}
.agbpg .agbpg-cta-title{margin:0 0 6px;font-size:20px;font-weight:800;color:var(--agbpg-text)}
.agbpg .agbpg-cta-text{margin:0 0 16px;color:#d4d4d8}
.agbpg .agbpg-cta-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:560px;margin:0 auto}
.agbpg .agbpg-foot{margin:16px 0 0;color:#71717a;font-size:12px;text-align:center}
.agbpg .agbpg-again{display:inline-block;margin:16px auto 0;padding:0;border:0;background:none;color:var(--agbpg-muted);font:inherit;font-size:14px;text-decoration:underline;cursor:pointer}
.agbpg .agbpg-again:hover{color:var(--agbpg-text);background:none}
.agbpg .agbpg-center{text-align:center}

@media (max-width:640px){
	.agbpg .agbpg-grid{grid-template-columns:1fr}
	.agbpg .agbpg-hero{grid-template-columns:1fr;justify-items:center;text-align:center;gap:16px}
	.agbpg .agbpg-pills{justify-content:center}
	.agbpg .agbpg-bar-row{grid-template-columns:96px 1fr 56px;gap:8px;font-size:13px}
	.agbpg .agbpg-cta-actions{grid-template-columns:1fr}
	.agbpg .agbpg-comps{grid-template-columns:1fr}
	.agbpg .agbpg-ins-grid{grid-template-columns:1fr}
	.agbpg .agbpg-gsc-cta{flex-direction:column;align-items:stretch}
	.agbpg .agbpg-gsc-cta .agbpg-btn{width:100%}
}
@media (prefers-reduced-motion:reduce){
	.agbpg .agbpg-spinner{animation-duration:2.5s}
	.agbpg .agbpg-ring-val,.agbpg .agbpg-bar span{transition:none}
}
