/* Star Servo Health Check — industrial tool styling (26th anniversary polish). */

:root {
	--shc-navy: #071B2F;
	--shc-navy-2: #0E2A4A;
	--shc-blue: #2563EB;
	--shc-cyan: #0EA5E9;
	--shc-orange: #F97316;
	--shc-green: #22C55E;
	--shc-amber: #F59E0B;
	--shc-red: #EF4444;
	--shc-bg: #F8FAFC;
	--shc-card: #FFFFFF;
	--shc-text: #0F172A;
	--shc-muted: #64748B;
	--shc-radius: 10px;
}

body.shc-page {
	font-family: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
	color: var(--shc-text);
	background: var(--shc-bg);
	margin: 0;
}

.shc-tool { max-width: 980px; margin: 0 auto; padding: 24px 16px 48px; }

/* ---------- Hero ---------- */
.shc-hero {
	background: linear-gradient(135deg, var(--shc-navy) 0%, var(--shc-navy-2) 55%, #103a63 100%);
	color: #fff;
	border-radius: 16px;
	padding: 34px 28px 28px;
	margin-bottom: 22px;
	box-shadow: 0 10px 30px rgba(7, 27, 47, .25);
}
.shc-hero-eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; color: #7DD3FC; margin: 0 0 10px; }
.shc-hero-title { font-size: clamp(24px, 4.2vw, 38px); line-height: 1.12; margin: 0 0 6px; font-weight: 800; color: #FFFFFF; }
.shc-hero-product { font-size: clamp(17px, 2.4vw, 22px); font-weight: 700; color: #FED7AA; margin: 0 0 10px; }
.shc-hero-sub { font-size: 15px; opacity: .95; margin: 0 0 18px; max-width: 620px; }
.shc-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.shc-trust-line { font-size: 12.5px; opacity: .85; margin: 0; max-width: 640px; }

/* ---------- Buttons ---------- */
.shc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 13px 22px; border-radius: var(--shc-radius); border: 1px solid transparent;
	font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
	box-shadow: 0 1px 3px rgba(15, 23, 42, .14); transition: filter .15s ease, transform .1s ease;
}
.shc-btn:hover { filter: brightness(.93); text-decoration: none; }
.shc-btn:active { transform: translateY(1px); }
.shc-btn-cta { background: var(--shc-orange); color: #fff; }
.shc-btn-navy { background: var(--shc-card); color: var(--shc-navy); border-color: var(--shc-navy); }
.shc-btn-wa { background: var(--shc-green); color: #fff; }
.shc-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }

/* ---------- Wizard ---------- */
.shc-wizard { background: var(--shc-card); border: 1px solid #E2E8F0; border-radius: 16px; padding: 22px; box-shadow: 0 2px 10px rgba(15,23,42,.06); }
.shc-steps { list-style: none; margin: 0 0 20px; padding: 0; display: flex; gap: 8px; }
.shc-steps li { flex: 1; text-align: center; font-size: 12px; font-weight: 700; color: var(--shc-muted); padding: 9px 4px; border-radius: 9px; background: #F1F5F9; }
.shc-steps li span { display: inline-block; width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: #CBD5E1; margin-right: 6px; font-size: 12px; color: #fff; }
.shc-steps .shc-step-active { background: var(--shc-navy); color: #fff; }
.shc-steps .shc-step-active span { background: var(--shc-orange); }
.shc-steps .shc-step-done { background: #DCFCE7; color: #166534; }

.shc-pane h2 { margin: 0 0 6px; font-size: 21px; }
.shc-hint { color: var(--shc-muted); font-size: 13px; margin: 0 0 16px; }
.shc-field { display: block; margin-bottom: 14px; }
.shc-field > span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.shc-field em { font-weight: 400; color: var(--shc-muted); }
.shc-field input, .shc-field select { width: 100%; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 9px; font-size: 15px; background: #fff; }
.shc-field input:focus { outline: 2px solid var(--shc-blue); border-color: transparent; }
.shc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shc-calc-preview { font-size: 13px; color: var(--shc-navy); background: #F1F5F9; padding: 9px 12px; border-radius: 9px; min-height: 18px; }

.shc-option {
	display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
	border: 1.5px solid #E2E8F0; border-radius: 11px; padding: 13px 14px; margin-bottom: 10px; background: #fff;
	transition: border-color .12s ease, box-shadow .12s ease;
}
.shc-option:hover { border-color: var(--shc-cyan); }
.shc-option:has(input:checked) { border-color: var(--shc-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.shc-option input { margin-top: 3px; accent-color: var(--shc-blue); }
.shc-option-body strong { display: block; font-size: 14.5px; }
.shc-option-body small { color: var(--shc-muted); font-size: 12.5px; }
.shc-sub { padding: 2px 4px 8px 26px; }

.shc-note-inline { background: #F1F5F9; border-radius: 9px; padding: 10px 12px; font-size: 14px; margin: 0 0 12px; }
.shc-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.shc-unsure-line { margin-top: 14px; }
.shc-unsure-line a { color: var(--shc-blue); font-weight: 700; text-decoration: underline; }

.shc-capture { background: #F1F5F9; border: 1px solid #E2E8F0; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.shc-capture .shc-field { margin-bottom: 12px; }
.shc-capture .shc-row { margin-bottom: 0; }

/* ---------- Result ---------- */
.shc-result-head { text-align: center; margin-bottom: 18px; }
.shc-result-title { font-size: clamp(24px, 4vw, 34px); margin: 6px 0; font-weight: 800; }
.shc-result-motor { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.shc-muted { color: var(--shc-muted); font-size: 13px; }
.shc-result-tagline { font-size: 13px; color: var(--shc-muted); margin: 0 auto; max-width: 660px; }

.shc-gauge-wrap { text-align: center; padding: 24px; border-radius: 14px; margin: 0 0 16px; background: var(--shc-card); border: 1px solid #E2E8F0; }
.shc-gauge { width: 176px; height: 176px; margin: 0 auto 12px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.shc-gauge-value { font-size: 24px; font-weight: 800; letter-spacing: .03em; padding: 0 14px; text-align: center; }
.shc-gauge-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .92; }
.shc-gauge-green .shc-gauge { background: radial-gradient(circle at 30% 30%, #4ADE80, var(--shc-green)); box-shadow: 0 0 0 8px rgba(34,197,94,.12); }
.shc-gauge-amber .shc-gauge { background: radial-gradient(circle at 30% 30%, #FBBF24, var(--shc-amber)); box-shadow: 0 0 0 8px rgba(245,158,11,.14); }
.shc-gauge-red .shc-gauge { background: radial-gradient(circle at 30% 30%, #F87171, var(--shc-red)); box-shadow: 0 0 0 8px rgba(239,68,68,.14); }
.shc-gauge-none .shc-gauge { background: radial-gradient(circle at 30% 30%, #94A3B8, #64748B); box-shadow: 0 0 0 8px rgba(100,116,139,.12); }
.shc-gauge-meta { font-size: 15px; margin: 0 0 4px; }
.shc-gauge-formula { font-size: 13px; color: var(--shc-muted); margin: 0; }

.shc-suggested-action { border-radius: 11px; padding: 13px 15px; font-weight: 600; margin: 0 0 16px; font-size: 14px; }
.shc-action-green { background: #DCFCE7; color: #166534; }
.shc-action-amber { background: #FEF3C7; color: #92400E; }
.shc-action-red { background: #FEE2E2; color: #991B1B; }

.shc-nba { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; padding: 16px; background: var(--shc-card); border: 1px solid #E2E8F0; border-radius: 12px; }

.shc-note { background: #F1F5F9; border: 1px solid #E2E8F0; border-radius: 11px; padding: 15px; margin-bottom: 18px; font-size: 14px; }

.shc-components h2 { font-size: 18px; margin: 0 0 12px; }
.shc-comp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 20px; }
.shc-comp-card { border: 1px solid #E2E8F0; border-left: 5px solid var(--shc-muted); border-radius: 11px; padding: 15px; background: var(--shc-card); }
.shc-comp-green { border-left-color: var(--shc-green); }
.shc-comp-amber { border-left-color: var(--shc-amber); }
.shc-comp-red { border-left-color: var(--shc-red); }
.shc-comp-info { border-left-color: var(--shc-cyan); }
.shc-comp-card h3 { margin: 0 0 4px; font-size: 15px; }
.shc-comp-status { font-weight: 800; font-size: 12.5px; letter-spacing: .06em; margin: 0 0 9px; }
.shc-comp-green .shc-comp-status { color: #15803D; }
.shc-comp-amber .shc-comp-status { color: #B45309; }
.shc-comp-red .shc-comp-status { color: #B91C1C; }
.shc-comp-info .shc-comp-status { color: #0369A1; }
.shc-comp-card dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 4px 8px; font-size: 13px; }
.shc-comp-card dt { color: var(--shc-muted); font-weight: 600; }
.shc-comp-card dd { margin: 0; }
.shc-comp-guide { font-size: 12.5px; }

.shc-explain { background: var(--shc-card); border: 1px solid #E2E8F0; border-radius: 12px; margin-bottom: 22px; }
.shc-accordion { width: 100%; text-align: left; background: none; border: none; padding: 15px 16px; font-size: 15px; font-weight: 700; cursor: pointer; color: var(--shc-navy); }
.shc-accordion::after { content: '+'; float: right; font-weight: 700; color: var(--shc-blue); }
.shc-accordion[aria-expanded="true"]::after { content: '−'; }
.shc-accordion-body { padding: 0 16px 16px; }
.shc-accordion-body ul { margin: 0; padding-left: 18px; font-size: 13.5px; display: grid; gap: 6px; }

.shc-cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }

/* ---------- Anniversary bar ---------- */
.shc-anniversary-bar {
	display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
	background: linear-gradient(90deg, #071B2F 0%, #0E2A4A 55%, #123a63 100%);
	color: #fff; padding: 11px 18px; font-size: 13.5px; text-align: center;
}
.shc-anniversary-main { font-weight: 500; }
.shc-anniversary-main strong { color: #FED7AA; }
.shc-anniversary-dot { margin: 0 4px; color: #7DD3FC; }
.shc-anniversary-product { color: #BFDBFE; }
.shc-anniversary-cta {
	background: var(--shc-orange); color: #fff; font-weight: 800; font-size: 12.5px;
	padding: 7px 14px; border-radius: 7px; text-decoration: none; letter-spacing: .03em;
}
.shc-anniversary-cta:hover { filter: brightness(.94); text-decoration: none; color: #fff; }

@media (max-width: 767px) {
	.shc-tool { padding: 14px 10px 40px; }
	.shc-hero { padding: 22px 18px; border-radius: 13px; }
	.shc-row { grid-template-columns: 1fr; }
	.shc-comp-grid { grid-template-columns: 1fr; }
	.shc-cta-grid { grid-template-columns: 1fr; }
	.shc-steps li span { display: none; }
	.shc-anniversary-experience { display: none; }
	.shc-anniversary-main, .shc-anniversary-product { font-size: 12.5px; }
	.shc-anniversary-cta { font-size: 12px; padding: 6px 12px; }
}
