/* ==========================================================================
   CoolHub SEO Checker — Seobility-Inspired Clean Light Audit UI
   Strictly scoped under .chsc-root to prevent theme style collisions.
   ========================================================================== */

.chsc-page-shell {
	background: #f5f7fb;
	min-height: 70vh;
}

.chsc-root {
	--chsc-primary: #0d6efd;
	--chsc-primary-hover: #0b5ed7;
	--chsc-primary-soft: #eff6ff;
	--chsc-ink: #0f172a;
	--chsc-muted: #475569;
	--chsc-subtle: #64748b;
	--chsc-border: #e2e8f0;
	--chsc-bg: #f5f7fb;
	--chsc-surface: #ffffff;
	--chsc-green: #10b981;
	--chsc-green-bg: #ecfdf5;
	--chsc-amber: #f59e0b;
	--chsc-amber-bg: #fffbeb;
	--chsc-red: #ef4444;
	--chsc-red-bg: #fef2f2;
	--chsc-radius: 10px;
	--chsc-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);

	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--chsc-ink);
	background: var(--chsc-bg);
	line-height: 1.55;
	font-size: 15px;
	padding-bottom: 40px;
}

.chsc-root[data-lang="de"] {
	hyphens: auto;
	-webkit-hyphens: auto;
	overflow-wrap: break-word;
}

.chsc-root *,
.chsc-root *::before,
.chsc-root *::after {
	box-sizing: border-box;
}

.chsc-root a::after {
	content: none !important;
}

.chsc-container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------------- 1. Top Tool Sub-Navigation ---------------- */
.chsc-subnav-wrap {
	background: var(--chsc-surface);
	border-bottom: 1px solid var(--chsc-border);
}

.chsc-subnav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	min-height: 54px;
}

.chsc-subnav-tabs {
	display: flex;
	align-items: center;
	gap: 6px;
	overflow-x: auto;
}

.chsc-subnav-tab {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 14px 14px;
	border: none;
	border-bottom: 2px solid transparent;
	background: transparent;
	color: var(--chsc-muted);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.chsc-subnav-tab:hover {
	color: var(--chsc-primary);
}

.chsc-subnav-tab.is-active {
	color: var(--chsc-primary);
	border-bottom-color: var(--chsc-primary);
}

.chsc-subnav-right {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
}

.chsc-quota-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
}

.chsc-quota-pill.is-member {
	background: #ecfdf5;
	color: #047857;
	border-color: #a7f3d0;
}

.chsc-quota-pill.is-empty {
	background: #fef2f2;
	color: #b91c1c;
	border-color: #fecaca;
}

.chsc-quota-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.chsc-auth-trigger {
	padding: 7px 14px;
	border-radius: 7px;
	border: 1px solid var(--chsc-primary);
	background: var(--chsc-surface);
	color: var(--chsc-primary);
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease;
}

.chsc-auth-trigger:hover {
	background: var(--chsc-primary);
	color: #ffffff;
}

.chsc-logout-link {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--chsc-subtle);
	text-decoration: underline;
	padding: 4px 6px;
}

.chsc-logout-link:hover {
	color: var(--chsc-red);
}

.chsc-adv-check {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	cursor: pointer;
}

.chsc-adv-check input {
	width: 16px;
	height: 16px;
	accent-color: var(--chsc-primary);
}

/* ---------------- 2. Yellow / Member Notice Strip ---------------- */
.chsc-notice-wrap {
	margin-top: 14px;
}

.chsc-notice-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 10px 16px;
	border-radius: 8px;
	background: #fef9c3;
	border: 1px solid #fde047;
	color: #713f12;
	font-size: 13px;
	font-weight: 500;
}

.chsc-notice-bar.is-member {
	background: #ecfdf5;
	border-color: #a7f3d0;
	color: #065f46;
}

.chsc-notice-link {
	border: none;
	background: transparent;
	color: #0d6efd;
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
}

/* ---------------- 3. Hero Analyzer Section ---------------- */
.chsc-hero {
	position: relative;
	padding: 48px 0 56px;
	background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
	border-bottom: 1px solid var(--chsc-border);
	overflow: hidden;
	text-align: center;
}

.chsc-hero.is-compact {
	padding: 24px 0 28px;
}

.chsc-confetti span {
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 2px;
	opacity: 0.45;
	pointer-events: none;
}

.chsc-confetti .c-b1 { top: 18%; left: 10%; background: #3b82f6; transform: rotate(18deg); }
.chsc-confetti .c-g1 { top: 26%; right: 12%; background: #10b981; transform: rotate(-15deg); }
.chsc-confetti .c-b2 { bottom: 20%; left: 18%; background: #60a5fa; width: 8px; height: 8px; }
.chsc-confetti .c-g2 { bottom: 24%; right: 20%; background: #34d399; width: 11px; height: 11px; transform: rotate(35deg); }
.chsc-confetti .c-b3 { top: 64%; left: 6%; background: #0d6efd; }
.chsc-confetti .c-g3 { top: 44%; right: 7%; background: #22c55e; width: 8px; height: 8px; }
.chsc-confetti .c-b4 { bottom: 10%; right: 34%; background: #93c5fd; width: 7px; height: 7px; }
.chsc-confetti .c-g4 { bottom: 14%; left: 32%; background: #6ee7b7; width: 9px; height: 9px; }

.chsc-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 720px;
}

.chsc-hero-title {
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--chsc-ink);
	margin: 0 0 10px;
}

.chsc-hero-title span {
	color: var(--chsc-primary);
}

.chsc-hero-sub {
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 8px;
}

.chsc-hero-desc {
	font-size: 14.5px;
	color: var(--chsc-muted);
	margin: 0 auto 28px;
	max-width: 610px;
}

.chsc-hero.is-compact .chsc-hero-sub,
.chsc-hero.is-compact .chsc-hero-desc {
	display: none;
}

.chsc-form-card {
	background: var(--chsc-surface);
	border: 1px solid var(--chsc-border);
	border-radius: 12px;
	padding: 22px 24px;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
	text-align: left;
}

.chsc-field-head {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
}

.chsc-field-label {
	font-size: 13px;
	font-weight: 700;
	color: #334155;
}

.chsc-tip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #e2e8f0;
	color: #475569;
	font-size: 11px;
	font-weight: 700;
	cursor: help;
}

.chsc-url-input {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	font-size: 15.5px;
	color: var(--chsc-ink);
	background: #ffffff;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chsc-url-input:focus {
	border-color: var(--chsc-primary);
	box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.14);
}

.chsc-submit-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
	margin-top: 12px;
}

.chsc-analyze-btn {
	flex: 1;
	height: 46px;
	border: none;
	border-radius: 8px;
	background: var(--chsc-primary);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.chsc-analyze-btn:hover:not(:disabled) {
	background: var(--chsc-primary-hover);
}

.chsc-analyze-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.chsc-gear-btn {
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
	color: #475569;
	cursor: pointer;
	transition: all 0.15s ease;
}

.chsc-gear-btn:hover,
.chsc-gear-btn[aria-expanded="true"] {
	border-color: var(--chsc-primary);
	color: var(--chsc-primary);
	background: var(--chsc-primary-soft);
}

.chsc-adv-drawer {
	margin-top: 14px;
	padding: 14px;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid var(--chsc-border);
}

.chsc-adv-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.chsc-adv-field label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 5px;
}

.chsc-adv-field input,
.chsc-adv-field select {
	width: 100%;
	height: 38px;
	padding: 0 10px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 13.5px;
	background: #ffffff;
	color: var(--chsc-ink);
}

.chsc-quota-subline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 10px;
	font-size: 12.5px;
	color: var(--chsc-subtle);
}

.chsc-inline-auth-link {
	border: none;
	background: transparent;
	color: var(--chsc-primary);
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	padding: 0;
}

.chsc-inline-auth-link:hover {
	text-decoration: underline;
}

/* Loader */
.chsc-loader-box {
	margin-top: 16px;
	padding: 14px;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid #dbeafe;
}

.chsc-loader-track {
	width: 100%;
	height: 7px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
	margin-bottom: 10px;
}

.chsc-loader-fill {
	height: 100%;
	width: 12%;
	background: linear-gradient(90deg, #0d6efd 0%, #22d3ee 100%);
	border-radius: 999px;
	transition: width 0.5s ease;
}

.chsc-loader-status {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	font-weight: 600;
	color: #1e40af;
}

.chsc-spinner {
	width: 16px;
	height: 16px;
	border: 2.5px solid #bfdbfe;
	border-top-color: #0d6efd;
	border-radius: 50%;
	animation: chsc-spin 0.8s linear infinite;
	flex-shrink: 0;
}

@keyframes chsc-spin {
	to { transform: rotate(360deg); }
}

/* Inline Alert / Quota Exhausted Box */
.chsc-inline-alert {
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 8px;
	background: var(--chsc-red-bg);
	border: 1px solid #fecaca;
	color: #991b1b;
	font-size: 13.5px;
}

.chsc-inline-alert.is-quota {
	background: #fff7ed;
	border-color: #fed7aa;
	color: #9a3412;
}

.chsc-alert-title {
	font-weight: 800;
	margin-bottom: 4px;
}

.chsc-alert-actions {
	margin-top: 10px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.chsc-alert-btn {
	padding: 8px 14px;
	border: none;
	border-radius: 7px;
	background: var(--chsc-primary);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

/* ---------------- 4. Report Workspace (Image 2 Style) ---------------- */
.chsc-report-section {
	padding: 28px 0 36px;
}

.chsc-report-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.chsc-report-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.chsc-report-heading h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	color: var(--chsc-ink);
}

.chsc-url-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 6px;
	background: #ffffff;
	border: 1px solid var(--chsc-border);
	font-size: 13px;
	font-weight: 600;
	color: var(--chsc-primary);
	text-decoration: none;
	max-width: 420px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.chsc-http-badge {
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: var(--chsc-green-bg);
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.chsc-http-badge.is-bad {
	background: var(--chsc-red-bg);
	color: #991b1b;
	border-color: #fecaca;
}

.chsc-report-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.chsc-act-btn {
	padding: 7px 12px;
	border-radius: 7px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #334155;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease;
}

.chsc-act-btn:hover {
	border-color: var(--chsc-primary);
	color: var(--chsc-primary);
}

.chsc-act-btn.is-primary {
	background: var(--chsc-primary);
	border-color: var(--chsc-primary);
	color: #ffffff;
}

/* Report Subtabs */
.chsc-report-tabs {
	display: flex;
	align-items: center;
	gap: 6px;
	border-bottom: 1px solid var(--chsc-border);
	margin-bottom: 18px;
	overflow-x: auto;
}

.chsc-rep-tab {
	padding: 10px 14px;
	border: none;
	border-bottom: 2px solid transparent;
	background: transparent;
	color: var(--chsc-muted);
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.chsc-rep-tab.is-active {
	color: var(--chsc-primary);
	border-bottom-color: var(--chsc-primary);
}

.chsc-rep-count {
	display: inline-block;
	margin-left: 5px;
	padding: 1px 6px;
	border-radius: 999px;
	background: #e2e8f0;
	color: #334155;
	font-size: 11px;
}

/* Generic Report Card */
.chsc-card {
	background: var(--chsc-surface);
	border: 1px solid var(--chsc-border);
	border-radius: var(--chsc-radius);
	box-shadow: var(--chsc-shadow);
	padding: 20px 22px;
	margin-bottom: 18px;
}

.chsc-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.chsc-card-head h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	color: var(--chsc-ink);
}

.chsc-grade-badge {
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.chsc-grade-badge.is-excellent,
.chsc-grade-badge.is-good {
	background: var(--chsc-green-bg);
	color: #065f46;
}

.chsc-grade-badge.is-fair {
	background: var(--chsc-amber-bg);
	color: #92400e;
}

.chsc-grade-badge.is-critical {
	background: var(--chsc-red-bg);
	color: #991b1b;
}

/* Overview Card Grid (Donut + 6 Bars) */
.chsc-overview-grid {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 28px;
	align-items: center;
}

.chsc-ring-wrap {
	position: relative;
	width: 150px;
	height: 150px;
	margin: 0 auto;
}

.chsc-ring-center {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.chsc-ring-score {
	font-size: 32px;
	font-weight: 800;
	line-height: 1;
	color: var(--chsc-ink);
}

.chsc-ring-label {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--chsc-subtle);
	margin-top: 4px;
}

.chsc-cat-bars {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 26px;
}

.chsc-cat-bar-item {
	cursor: pointer;
}

.chsc-cat-bar-top {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 5px;
	color: #334155;
}

.chsc-bar-track {
	height: 8px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
}

.chsc-bar-fill {
	height: 100%;
	border-radius: 999px;
	background: var(--chsc-primary);
	transition: width 0.55s ease;
}

.chsc-bar-fill.is-pass { background: #10b981; }
.chsc-bar-fill.is-warn { background: #f59e0b; }
.chsc-bar-fill.is-err  { background: #ef4444; }

/* SERP & Snapshot Card */
.chsc-serp-grid {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 22px;
	align-items: start;
}

.chsc-page-thumb {
	border: 1px solid var(--chsc-border);
	border-radius: 8px;
	overflow: hidden;
	background: #f8fafc;
}

.chsc-thumb-chrome {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 6px 10px;
	background: #e2e8f0;
	font-size: 11px;
	color: #475569;
}

.chsc-thumb-chrome i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #94a3b8;
	display: inline-block;
}

.chsc-thumb-body {
	padding: 12px;
	min-height: 125px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.chsc-thumb-body img.chsc-og-img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 5px;
}

.chsc-thumb-wireframe {
	width: 100%;
	text-align: left;
}

.chsc-thumb-wireframe strong {
	display: block;
	font-size: 12px;
	color: #0f172a;
	margin-bottom: 6px;
}

.chsc-wire-bar {
	height: 7px;
	background: #cbd5e1;
	border-radius: 4px;
	margin-bottom: 5px;
}

.chsc-serp-toggle {
	display: inline-flex;
	border: 1px solid var(--chsc-border);
	border-radius: 6px;
	overflow: hidden;
}

.chsc-serp-toggle button {
	padding: 4px 10px;
	border: none;
	background: #f8fafc;
	font-size: 12px;
	font-weight: 700;
	color: #475569;
	cursor: pointer;
}

.chsc-serp-toggle button.is-active {
	background: var(--chsc-primary);
	color: #ffffff;
}

.chsc-serp-box {
	padding: 14px 16px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid var(--chsc-border);
	margin-bottom: 14px;
}

.chsc-serp-box.is-mobile {
	max-width: 390px;
}

.chsc-serp-cite {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: #334155;
	margin-bottom: 3px;
}

.chsc-serp-cite img {
	width: 16px;
	height: 16px;
	border-radius: 3px;
}

.chsc-serp-title {
	font-size: 18px;
	font-weight: 600;
	color: #1a0dab;
	margin-bottom: 4px;
	line-height: 1.3;
	word-break: break-word;
}

.chsc-serp-desc {
	font-size: 13.5px;
	color: #475569;
	line-height: 1.48;
	word-break: break-word;
}

.chsc-metrics-strip {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.chsc-metric-tile {
	padding: 9px 10px;
	border-radius: 7px;
	background: #f8fafc;
	border: 1px solid var(--chsc-border);
}

.chsc-metric-tile span {
	display: block;
	font-size: 11px;
	color: var(--chsc-subtle);
	font-weight: 600;
}

.chsc-metric-tile strong {
	display: block;
	font-size: 14px;
	font-weight: 800;
	color: var(--chsc-ink);
	margin-top: 2px;
}

/* Task List Table */
.chsc-task-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
}

.chsc-task-table th {
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	color: var(--chsc-subtle);
	padding: 8px 12px;
	border-bottom: 1px solid var(--chsc-border);
}

.chsc-task-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #f1f5f9;
}

.chsc-task-row {
	cursor: pointer;
	transition: background 0.12s ease;
}

.chsc-task-row.is-error {
	background: #fff5f5;
}

.chsc-task-row.is-warning {
	background: #fffbeb;
}

.chsc-task-row:hover {
	filter: brightness(0.97);
}

.chsc-imp-pill {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
}

.chsc-imp-pill.is-error { background: #ef4444; color: #fff; }
.chsc-imp-pill.is-warning { background: #f59e0b; color: #fff; }
.chsc-imp-pill.is-info { background: #3b82f6; color: #fff; }

.chsc-task-cat-link {
	color: var(--chsc-primary);
	font-weight: 700;
	font-size: 12.5px;
}

/* Keywords Pills */
.chsc-kw-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chsc-kw-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	font-size: 12.5px;
	font-weight: 600;
	color: #1e293b;
}

.chsc-kw-pill em {
	font-style: normal;
	font-size: 11px;
	color: var(--chsc-primary);
	font-weight: 800;
}

/* Detailed Category Sections & Check Cards (Image 2 Core!) */
.chsc-cat-block {
	margin-top: 26px;
}

.chsc-cat-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #cbd5e1;
}

.chsc-cat-header h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	color: var(--chsc-ink);
}

.chsc-cat-mini-meter {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 170px;
}

.chsc-cat-mini-meter .chsc-bar-track {
	flex: 1;
	height: 7px;
}

.chsc-cat-mini-meter strong {
	font-size: 13px;
	font-weight: 800;
	color: #334155;
}

.chsc-check-card {
	background: #ffffff;
	border: 1px solid var(--chsc-border);
	border-left: 4px solid #10b981;
	border-radius: 8px;
	padding: 15px 18px;
	margin-bottom: 12px;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
	scroll-margin-top: 84px;
}

.chsc-check-card.is-warning {
	border-left-color: #f59e0b;
}

.chsc-check-card.is-error {
	border-left-color: #ef4444;
}

.chsc-check-card.is-info {
	border-left-color: #3b82f6;
}

.chsc-check-card.is-highlighted {
	box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.chsc-check-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.chsc-check-title {
	font-size: 14.5px;
	font-weight: 800;
	color: var(--chsc-ink);
}

.chsc-check-meta {
	display: flex;
	align-items: center;
	gap: 8px;
}

.chsc-status-tag {
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 800;
}

.chsc-status-tag.is-pass { background: #ecfdf5; color: #047857; }
.chsc-status-tag.is-warning { background: #fffbeb; color: #b45309; }
.chsc-status-tag.is-error { background: #fef2f2; color: #b91c1c; }
.chsc-status-tag.is-info { background: #eff6ff; color: #1d4ed8; }

.chsc-details-toggle {
	padding: 3px 10px;
	border-radius: 5px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	color: var(--chsc-primary);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.chsc-check-preview {
	padding: 9px 12px;
	border-radius: 6px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	font-size: 13px;
	color: #0f172a;
	margin-bottom: 10px;
	word-break: break-word;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.chsc-bullets {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.chsc-bullets li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13.5px;
	padding: 5px 8px;
	border-radius: 5px;
}

.chsc-bullets li.is-error { background: #fef2f2; color: #991b1b; }
.chsc-bullets li.is-warning { background: #fffbeb; color: #92400e; }
.chsc-bullets li.is-pass { color: #334155; }

.chsc-b-icon {
	font-weight: 900;
	flex-shrink: 0;
	margin-top: 1px;
}

.chsc-bullets li.is-pass .chsc-b-icon { color: #10b981; }
.chsc-bullets li.is-warning .chsc-b-icon { color: #f59e0b; }
.chsc-bullets li.is-error .chsc-b-icon { color: #ef4444; }

.chsc-details-box {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed #cbd5e1;
}

.chsc-details-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12.5px;
}

.chsc-details-table th,
.chsc-details-table td {
	text-align: left;
	padding: 6px 8px;
	border-bottom: 1px solid #f1f5f9;
	word-break: break-all;
}

.chsc-details-table th {
	color: var(--chsc-subtle);
	font-weight: 700;
}

.chsc-heading-tree {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.chsc-tree-node {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.chsc-tree-tag {
	padding: 1px 6px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 800;
	background: #e0f2fe;
	color: #0369a1;
}

.chsc-tree-tag.lvl-1 {
	background: #0d6efd;
	color: #ffffff;
}

/* ---------------- 5. History Panel ---------------- */
.chsc-history-section {
	padding: 28px 0;
}

.chsc-history-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.chsc-history-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 14px 16px;
	border-radius: 9px;
	background: #ffffff;
	border: 1px solid var(--chsc-border);
}

.chsc-history-left {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	flex: 1;
}

.chsc-history-score {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13.5px;
	font-weight: 800;
	flex-shrink: 0;
	border: 3px solid #10b981;
	color: #065f46;
	background: #ecfdf5;
}

.chsc-history-score.is-warn {
	border-color: #f59e0b;
	color: #92400e;
	background: #fffbeb;
}

.chsc-history-score.is-err {
	border-color: #ef4444;
	color: #991b1b;
	background: #fef2f2;
}

.chsc-history-url {
	font-weight: 700;
	font-size: 14px;
	color: var(--chsc-ink);
	word-break: break-all;
}

.chsc-history-meta {
	font-size: 12px;
	color: var(--chsc-subtle);
}

/* ---------------- 6. Promo Banner & Educational Bands (Image 1) ---------------- */
.chsc-promo-band {
	position: relative;
	padding: 52px 0;
	background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
	border-top: 1px solid var(--chsc-border);
	border-bottom: 1px solid var(--chsc-border);
	overflow: hidden;
}

.chsc-promo-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 36px;
	align-items: center;
}

.chsc-promo-eyebrow {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: var(--chsc-primary);
	margin-bottom: 6px;
}

.chsc-promo-copy h2 {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 800;
	color: var(--chsc-ink);
}

.chsc-promo-copy p {
	margin: 0 0 16px;
	color: var(--chsc-muted);
	font-size: 14.5px;
}

.chsc-promo-checks {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.chsc-promo-checks li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
}

.chsc-promo-checks li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #10b981;
	color: #ffffff;
	font-size: 11.5px;
	font-weight: 900;
	flex-shrink: 0;
}

.chsc-promo-tier-bar {
	border-top: 1px solid #cbd5e1;
	padding-top: 12px;
	margin-bottom: 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.chsc-tier-row {
	display: flex;
	justify-content: space-between;
	font-size: 13.5px;
	color: var(--chsc-muted);
}

.chsc-tier-row.is-highlight {
	color: #065f46;
	font-weight: 700;
}

.chsc-promo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border: none;
	border-radius: 8px;
	background: #10b981;
	color: #ffffff !important;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
	transition: background 0.15s ease;
}

.chsc-promo-btn:hover {
	background: #059669;
}

/* Real Daily Quota Comparison Card */
.chsc-tier-compare-card {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.chsc-tier-card-head {
	font-size: 14px;
	color: var(--chsc-ink);
	margin-bottom: 14px;
}

.chsc-tier-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 14px;
}

.chsc-tier-col {
	border: 1px solid var(--chsc-border);
	border-radius: 10px;
	padding: 14px;
	background: #f8fafc;
}

.chsc-tier-col.is-pro {
	background: #ecfdf5;
	border-color: #a7f3d0;
}

.chsc-tier-col.is-current {
	box-shadow: 0 0 0 2px var(--chsc-primary);
}

.chsc-tier-tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	background: #e2e8f0;
	color: #334155;
	margin-bottom: 6px;
}

.chsc-tier-tag.is-pro {
	background: #10b981;
	color: #ffffff;
}

.chsc-tier-num {
	font-size: 26px;
	font-weight: 800;
	color: var(--chsc-ink);
	line-height: 1.1;
	margin-bottom: 8px;
}

.chsc-tier-num small {
	font-size: 13px;
	font-weight: 600;
	color: var(--chsc-subtle);
}

.chsc-tier-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 12.5px;
	color: #334155;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.chsc-audit-pillars-mini {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--chsc-border);
}

.chsc-audit-pillars-mini span {
	padding: 4px 9px;
	border-radius: 6px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 11.5px;
	font-weight: 700;
}

/* Lab & Compare Controls */
.chsc-lab-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.chsc-lab-field {
	margin-bottom: 12px;
}

.chsc-lab-field label {
	display: flex;
	justify-content: space-between;
	font-size: 12.5px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 5px;
}

.chsc-lab-field input,
.chsc-lab-field textarea {
	width: 100%;
	padding: 9px 11px;
	border: 1.5px solid #cbd5e1;
	border-radius: 7px;
	font-size: 13.5px;
	color: var(--chsc-ink);
	background: #ffffff;
}

.chsc-filter-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.chsc-filter-input {
	flex: 1;
	min-width: 220px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid #cbd5e1;
	border-radius: 7px;
	font-size: 13.5px;
}

.chsc-compare-selects {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 16px;
}

.chsc-compare-selects label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 5px;
}

.chsc-compare-selects select {
	width: 100%;
	height: 40px;
	padding: 0 10px;
	border: 1px solid #cbd5e1;
	border-radius: 7px;
	background: #ffffff;
}

.chsc-delta-pos { color: #059669; font-weight: 800; }
.chsc-delta-neg { color: #dc2626; font-weight: 800; }
.chsc-delta-zero { color: #64748b; font-weight: 700; }

.chsc-pre-box {
	background: #0f172a;
	color: #e2e8f0;
	padding: 14px;
	border-radius: 8px;
	font-family: ui-monospace, monospace;
	font-size: 12.5px;
	overflow-x: auto;
	white-space: pre-wrap;
	margin: 0;
}

.chsc-tool-panel {
	padding: 28px 0 42px;
}

.chsc-tool-head {
	margin-bottom: 18px;
}

.chsc-tool-head h2 {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 800;
	color: var(--chsc-ink);
}

.chsc-tool-head p {
	margin: 0;
	color: var(--chsc-muted);
	font-size: 14.5px;
}

.chsc-hop-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 12px 16px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid var(--chsc-border);
	margin-bottom: 10px;
}

.chsc-hop-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--chsc-primary-soft);
	color: var(--chsc-primary);
	font-weight: 800;
	font-size: 12px;
}

@media (max-width: 860px) {
	.chsc-lab-grid,
	.chsc-compare-selects,
	.chsc-tier-cols {
		grid-template-columns: 1fr;
	}
}

/* Educational Sections */
.chsc-edu-band {
	padding: 56px 0;
}

.chsc-edu-band.is-white {
	background: #ffffff;
}

.chsc-edu-band.is-tinted {
	background: #f4f8fc;
}

.chsc-edu-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 40px;
	align-items: center;
}

.chsc-edu-grid.is-reversed .chsc-edu-art {
	order: -1;
}

.chsc-edu-copy h2 {
	margin: 0 0 6px;
	font-size: 25px;
	font-weight: 800;
	color: var(--chsc-ink);
}

.chsc-edu-sub {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--chsc-primary);
}

.chsc-edu-copy p {
	margin: 0 0 14px;
	color: var(--chsc-muted);
}

.chsc-edu-list {
	margin: 0;
	padding-left: 18px;
	color: #334155;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
}

.chsc-edu-art svg {
	width: 100%;
	max-width: 340px;
	height: auto;
	margin: 0 auto;
	display: block;
}

/* ---------------- 7. Auth Modal ---------------- */
.chsc-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.chsc-modal.is-open {
	display: flex;
}

.chsc-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
}

.chsc-modal-dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 440px;
	background: #ffffff;
	border-radius: 14px;
	padding: 26px 26px 24px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
	text-align: left;
	max-height: 92vh;
	overflow-y: auto;
}

.chsc-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 50%;
	background: #f1f5f9;
	color: #475569;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.chsc-modal-head {
	text-align: center;
	margin-bottom: 16px;
}

.chsc-modal-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: #ecfdf5;
	color: #047857;
	font-size: 11px;
	font-weight: 800;
	margin-bottom: 8px;
}

.chsc-modal-head h3 {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 800;
	color: var(--chsc-ink);
}

.chsc-modal-head p {
	margin: 0;
	font-size: 13px;
	color: var(--chsc-muted);
}

.chsc-google-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 10px 14px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #0f172a;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	margin-bottom: 14px;
}

.chsc-google-btn:hover {
	background: #f8fafc;
}

.chsc-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	padding: 4px;
	border-radius: 8px;
	background: #f1f5f9;
	margin-bottom: 14px;
}

.chsc-auth-tab {
	padding: 8px 10px;
	border: none;
	border-radius: 6px;
	background: transparent;
	color: #475569;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
}

.chsc-auth-tab.is-active {
	background: #ffffff;
	color: var(--chsc-primary);
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.chsc-auth-msg {
	padding: 9px 12px;
	border-radius: 7px;
	font-size: 12.5px;
	font-weight: 600;
	margin-bottom: 12px;
}

.chsc-auth-msg.is-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.chsc-auth-msg.is-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

.chsc-auth-pane {
	display: none;
}

.chsc-auth-pane.is-active {
	display: block;
}

.chsc-auth-field {
	margin-bottom: 12px;
}

.chsc-auth-field label {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 5px;
}

.chsc-auth-field input {
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	font-size: 14px;
	color: var(--chsc-ink);
	background: #ffffff;
}

.chsc-otp-input {
	font-size: 20px !important;
	font-weight: 800;
	letter-spacing: 6px;
	text-align: center;
}

.chsc-auth-submit {
	width: 100%;
	height: 44px;
	border: none;
	border-radius: 8px;
	background: var(--chsc-primary);
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.chsc-auth-submit.is-verify {
	background: #10b981;
}

/* ---------------- Responsive & Print ---------------- */
@media (max-width: 860px) {
	.chsc-overview-grid,
	.chsc-serp-grid,
	.chsc-promo-grid,
	.chsc-edu-grid {
		grid-template-columns: 1fr;
	}
	.chsc-edu-grid.is-reversed .chsc-edu-art {
		order: 0;
	}
	.chsc-cat-bars {
		grid-template-columns: 1fr;
	}
	.chsc-metrics-strip {
		grid-template-columns: repeat(2, 1fr);
	}
	.chsc-adv-grid {
		grid-template-columns: 1fr;
	}
}

@media print {
	.chsc-subnav-wrap,
	.chsc-notice-wrap,
	.chsc-hero,
	.chsc-promo-band,
	.chsc-edu-sections,
	.chsc-report-actions,
	.chsc-report-tabs,
	.chsc-modal {
		display: none !important;
	}
	.chsc-root {
		background: #ffffff;
	}
	.chsc-check-card,
	.chsc-card {
		break-inside: avoid;
		box-shadow: none;
	}
}
