/**
 * Sycomp Endpoint Lifecycle Calculator
 *
 * The original stylesheet was ~2,000 lines of accreted override layers: SVG
 * icon masks added then fully reverted to emoji, per-item tooltips added then
 * disabled in both CSS and JS, three separate "premium polish" passes, and
 * roughly 200 !important declarations fighting each other. This is the
 * resolved final visual state expressed once, so the rendered result matches
 * but the file is maintainable.
 *
 * Everything is scoped under .sycomp-elc-calc. This matters: the site runs the
 * Themeco Pro parent theme with a Sycomp child theme and the Cornerstone
 * builder, all of which set aggressive element styles. Scoping stops the theme
 * leaking in and stops the calculator leaking out.
 */

.sycomp-elc-calc {
	--sycomp-elc-bg: #f5f8fb;
	--sycomp-elc-ink: #071b3a;
	--sycomp-elc-muted: #53657c;
	--sycomp-elc-line: #dde7f0;
	--sycomp-elc-blue: #2742b8;
	--sycomp-elc-navy: #071d56;
	--sycomp-elc-green: #1f6b2e;
	--sycomp-elc-purple: #6130b8;
	--sycomp-elc-orange: #b45309;
	--sycomp-elc-teal: #2b7880;
	--sycomp-elc-shadow: 0 18px 44px rgba(15, 35, 70, .07);
	--sycomp-elc-radius: 16px;

	box-sizing: border-box;
	color: var(--sycomp-elc-ink);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	line-height: 1.5;
}

.sycomp-elc-calc *,
.sycomp-elc-calc *::before,
.sycomp-elc-calc *::after {
	box-sizing: border-box;
}

.sycomp-elc-calc button,
.sycomp-elc-calc input,
.sycomp-elc-calc select {
	font: inherit;
}

.sycomp-elc-calc button {
	border: 0;
	cursor: pointer;
}

.sycomp-elc-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Honeypot: removed from flow and from the a11y tree, but not display:none,
   since some bots skip hidden inputs. */
.sycomp-elc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- shared panels ---------- */

.sycomp-elc-hero,
.sycomp-elc-inputs-card,
.sycomp-elc-lifecycle-card,
.sycomp-elc-summary-preview,
.sycomp-elc-context,
.sycomp-elc-report-cta {
	margin: 0 0 16px;
	background: rgba(255, 255, 255, .92);
	border: 1px solid rgba(200, 216, 230, .85);
	border-radius: var(--sycomp-elc-radius);
	box-shadow: var(--sycomp-elc-shadow), inset 0 1px 0 rgba(255, 255, 255, .72);
}

/* ---------- hero ---------- */

.sycomp-elc-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 670px);
	gap: 30px;
	padding: 34px;
}

.sycomp-elc-eyebrow {
	color: var(--sycomp-elc-green);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.sycomp-elc-calc .sycomp-elc-h1 {
	max-width: 660px;
	margin: 14px 0 22px;
	font-size: clamp(32px, 4.4vw, 60px);
	line-height: 1;
	letter-spacing: -.05em;
}

.sycomp-elc-hero-left p {
	max-width: 650px;
	margin: 0;
	color: #31445b;
	font-size: 16px;
	line-height: 1.7;
}

.sycomp-elc-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.sycomp-elc-trust span {
	padding: 8px 13px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
}

.sycomp-elc-trust span::before {
	content: "\2713";
	margin-right: 6px;
	font-weight: 900;
}

.sycomp-elc-trust span:nth-child(1) { color: var(--sycomp-elc-green); background: #eaf8ee; }
.sycomp-elc-trust span:nth-child(2) { color: var(--sycomp-elc-purple); background: #f2eafb; }
.sycomp-elc-trust span:nth-child(3) { color: var(--sycomp-elc-blue); background: #eaf2ff; }

.sycomp-elc-hero-right {
	display: grid;
	grid-template-columns: 1.08fr .88fr .88fr;
	gap: 16px;
	align-content: start;
}

.sycomp-elc-kpi {
	display: grid;
	align-content: center;
	gap: 8px;
	min-height: 148px;
	padding: 22px;
	border: 1px solid transparent;
	border-radius: 12px;
}

.sycomp-elc-kpi span { font-size: 13px; font-weight: 900; line-height: 1.2; }
.sycomp-elc-kpi strong { font-size: 32px; font-weight: 900; line-height: 1; letter-spacing: -.035em; }
.sycomp-elc-kpi em { font-style: normal; font-size: 13px; font-weight: 800; }

.sycomp-elc-kpi-primary {
	color: #fff;
	background: linear-gradient(135deg, var(--sycomp-elc-navy), var(--sycomp-elc-blue));
	box-shadow: 0 18px 34px rgba(39, 66, 184, .18);
}

.sycomp-elc-kpi-green {
	color: var(--sycomp-elc-green);
	background: linear-gradient(180deg, #f0f8f2, #e7f3ea);
	border-color: #d5ebdb;
}

.sycomp-elc-kpi-orange {
	color: var(--sycomp-elc-orange);
	background: linear-gradient(180deg, #fff5e9, #ffecd6);
	border-color: #f3d6b6;
}

.sycomp-elc-included-bar {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	padding: 15px 22px;
	border: 1px solid #dfe8f0;
	border-radius: 10px;
	background: #fff;
}

.sycomp-elc-included-bar strong { font-size: 13px; }

.sycomp-elc-included-bar span {
	color: #31445b;
	font-size: 12px;
	font-weight: 800;
}

.sycomp-elc-included-bar span::before {
	content: "\2713";
	margin-right: 8px;
	color: var(--sycomp-elc-green);
	font-weight: 900;
}

/* ---------- inputs ---------- */

.sycomp-elc-inputs-card {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
	padding: 24px 28px;
}

.sycomp-elc-inputs-intro h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.1; }
.sycomp-elc-inputs-intro p { margin: 0; color: var(--sycomp-elc-muted); font-size: 13px; }

.sycomp-elc-input-strip {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
}

.sycomp-elc-input-strip label {
	display: grid;
	gap: 9px;
	min-width: 0;
}

.sycomp-elc-input-strip label > span:first-child {
	color: #31445b;
	font-size: 12px;
	font-weight: 900;
}

.sycomp-elc-unit-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.sycomp-elc-unit-wrap input,
.sycomp-elc-input-strip select {
	width: 100%;
	height: 54px;
	padding: 0 76px 0 16px;
	border: 1px solid #d7e3ef;
	border-radius: 8px;
	color: var(--sycomp-elc-ink);
	background: rgba(255, 255, 255, .92);
	font-size: 15px;
	font-weight: 800;
	outline: none;
	box-shadow: 0 6px 14px rgba(15, 35, 70, .035);
}

.sycomp-elc-input-strip select { padding: 0 16px; }

.sycomp-elc-unit-wrap input:focus,
.sycomp-elc-input-strip select:focus,
.sycomp-elc-context-grid input:focus,
.sycomp-elc-context-grid select:focus,
.sycomp-elc-report-fields input:focus {
	border-color: var(--sycomp-elc-blue);
	box-shadow: 0 0 0 4px rgba(39, 66, 184, .10);
}

.sycomp-elc-unit-wrap em,
.sycomp-elc-unit-wrap b {
	position: absolute;
	color: #63758c;
	font-style: normal;
	font-size: 12px;
	font-weight: 800;
	pointer-events: none;
}

.sycomp-elc-unit-wrap em { right: 14px; }
.sycomp-elc-money input { padding-left: 38px; }
.sycomp-elc-money b { left: 16px; }

/* Comp-mode switching: exactly one of the two groups is ever visible. */
.sycomp-elc-calc[data-it-mode="annual"] .sycomp-elc-hourly-field,
.sycomp-elc-calc[data-it-mode="hourly"] .sycomp-elc-salary-field { display: none; }
.sycomp-elc-calc[data-it-mode="annual"] .sycomp-elc-salary-field,
.sycomp-elc-calc[data-it-mode="hourly"] .sycomp-elc-hourly-field { display: grid; }

/* ---------- lifecycle rows ---------- */

.sycomp-elc-lifecycle-card { padding: 28px 30px 30px; }

.sycomp-elc-section-head { margin-bottom: 22px; }
.sycomp-elc-section-head h3 { margin: 0 0 8px; font-size: 28px; line-height: 1.05; }
.sycomp-elc-section-head p { margin: 0; color: var(--sycomp-elc-muted); font-size: 14px; }

.sycomp-elc-lifecycle-list { display: grid; gap: 12px; }

.sycomp-elc-life-row {
	position: relative;
	border: 1px solid;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(15, 35, 70, .045), inset 0 1px 0 rgba(255, 255, 255, .7);
	transition: transform .16s ease, box-shadow .16s ease;
}

.sycomp-elc-life-row:hover { transform: translateY(-2px); }

.sycomp-elc-life-row summary {
	display: grid;
	grid-template-columns: 44px 70px minmax(220px, 1fr) 130px 130px 140px 170px 32px;
	gap: 18px;
	align-items: center;
	min-height: 110px;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
}

.sycomp-elc-life-row summary::-webkit-details-marker { display: none; }

.sycomp-elc-life-index {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: #fff;
	font-weight: 900;
}

.sycomp-elc-life-icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	font-size: 29px;
}

.sycomp-elc-life-copy { display: block; min-width: 0; }

.sycomp-elc-life-title {
	display: block;
	margin-bottom: 7px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.1;
}

.sycomp-elc-life-blurb {
	display: block;
	max-width: 410px;
	color: #31445b;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

.sycomp-elc-life-metric,
.sycomp-elc-life-time {
	display: grid;
	align-content: center;
	min-height: 68px;
	padding-left: 18px;
	border-left: 1px solid rgba(148, 163, 184, .36);
}

.sycomp-elc-life-metric strong { font-size: 21px; font-weight: 900; line-height: 1; }

.sycomp-elc-life-metric span,
.sycomp-elc-life-time > span,
.sycomp-elc-life-time-label {
	display: block;
	margin-top: 7px;
	color: #64748b;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .06em;
}

.sycomp-elc-life-time {
	min-height: 78px;
	padding: 10px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .82);
	border: 1px solid rgba(207, 219, 231, .78);
	box-shadow: 0 10px 22px rgba(15, 35, 70, .055);
}

.sycomp-elc-life-time-label {
	margin: 0 0 7px;
	font-size: 9px;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.sycomp-elc-life-time input {
	width: 76px;
	padding: 4px 6px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
	color: currentColor;
	font-size: 21px;
	font-weight: 900;
	line-height: 1;
	text-align: center;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.sycomp-elc-life-time input:hover { border-color: #94a3b8; background: #fff; }

.sycomp-elc-life-time b { margin-left: 6px; font-size: 15px; font-weight: 900; }

.sycomp-elc-life-total {
	display: grid;
	align-content: center;
	min-height: 72px;
	padding: 13px 16px;
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 9px;
	color: #fff;
	box-shadow: 0 16px 28px rgba(15, 23, 42, .14);
}

.sycomp-elc-life-total strong { font-size: 24px; font-weight: 900; line-height: 1; letter-spacing: -.025em; }
.sycomp-elc-life-total span { margin-top: 5px; font-size: 11px; font-weight: 800; opacity: .9; }

.sycomp-elc-chevron::before { content: "\2304"; font-size: 25px; font-weight: 900; }
.sycomp-elc-life-row[open] .sycomp-elc-chevron::before { content: "\2303"; }

/* Per-stage colour identities */
.sycomp-elc-row-1 { color: var(--sycomp-elc-green); border-color: #cfe9d8; background: linear-gradient(90deg, rgba(240, 250, 243, .92), rgba(255, 255, 255, .96) 38%); }
.sycomp-elc-row-1 .sycomp-elc-life-index { background: linear-gradient(135deg, #0b8c39, #047a2d); }
.sycomp-elc-row-1 .sycomp-elc-life-total { background: linear-gradient(135deg, #155e2b, #1f7a37); }
.sycomp-elc-row-1 .sycomp-elc-life-icon { background: #e9f8ee; }
.sycomp-elc-row-1 .sycomp-elc-life-icon::before { content: "\1F4E6"; }

.sycomp-elc-row-2 { color: var(--sycomp-elc-blue); border-color: #cbdcfb; background: linear-gradient(90deg, rgba(241, 245, 255, .92), rgba(255, 255, 255, .96) 38%); }
.sycomp-elc-row-2 .sycomp-elc-life-index { background: linear-gradient(135deg, #1557d4, #0d48b5); }
.sycomp-elc-row-2 .sycomp-elc-life-total { background: linear-gradient(135deg, #1e2f7a, #2949b8); }
.sycomp-elc-row-2 .sycomp-elc-life-icon { background: #eaf2ff; }
.sycomp-elc-row-2 .sycomp-elc-life-icon::before { content: "\1F4BB"; }

.sycomp-elc-row-3 { color: var(--sycomp-elc-purple); border-color: #e0d2f7; background: linear-gradient(90deg, rgba(247, 241, 255, .92), rgba(255, 255, 255, .96) 38%); }
.sycomp-elc-row-3 .sycomp-elc-life-index { background: linear-gradient(135deg, #8a48d9, #7230c6); }
.sycomp-elc-row-3 .sycomp-elc-life-total { background: linear-gradient(135deg, #54238f, #6d35bc); }
.sycomp-elc-row-3 .sycomp-elc-life-icon { background: #f3eaff; }
.sycomp-elc-row-3 .sycomp-elc-life-icon::before { content: "\1F69B"; }

.sycomp-elc-row-4 { color: var(--sycomp-elc-orange); border-color: #f1d5b2; background: linear-gradient(90deg, rgba(255, 247, 237, .92), rgba(255, 255, 255, .96) 38%); }
.sycomp-elc-row-4 .sycomp-elc-life-index { background: linear-gradient(135deg, #ff8a00, #ed7300); }
.sycomp-elc-row-4 .sycomp-elc-life-total { background: linear-gradient(135deg, #9f4200, #c85f00); }
.sycomp-elc-row-4 .sycomp-elc-life-icon { background: #fff0dc; }
.sycomp-elc-row-4 .sycomp-elc-life-icon::before { content: "\1F501"; }

.sycomp-elc-row-5 { color: var(--sycomp-elc-teal); border-color: #c8eeee; background: linear-gradient(90deg, rgba(239, 250, 250, .92), rgba(255, 255, 255, .96) 38%); }
.sycomp-elc-row-5 .sycomp-elc-life-index { background: linear-gradient(135deg, #0a9399, #047b82); }
.sycomp-elc-row-5 .sycomp-elc-life-total { background: linear-gradient(135deg, #185f68, #2b7880); }
.sycomp-elc-row-5 .sycomp-elc-life-icon { background: #e6fbfb; }
.sycomp-elc-row-5 .sycomp-elc-life-icon::before { content: "\267B\FE0F"; }

/* Expanded detail */
.sycomp-elc-life-detail {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 20px;
	margin: 0 24px 20px 58px;
	padding: 18px 22px;
	border: 1px solid rgba(213, 225, 236, .88);
	border-radius: 10px;
	background: rgba(255, 255, 255, .78);
}

.sycomp-elc-life-detail h4 { margin: 0 0 14px; color: currentColor; font-size: 14px; }

.sycomp-elc-included ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(140px, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sycomp-elc-included li {
	position: relative;
	padding: 12px 16px 12px 34px;
	border: 1px solid rgba(207, 219, 231, .88);
	border-radius: 10px;
	background: rgba(255, 255, 255, .88);
	color: #334155;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(15, 35, 70, .045);
}

.sycomp-elc-included li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: currentColor;
}

.sycomp-elc-impact {
	display: grid;
	gap: 12px;
	align-content: start;
	padding: 16px;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 9px;
	background: #f7fafc;
}

.sycomp-elc-impact h4 { grid-column: 1 / -1; margin-bottom: 6px; }

.sycomp-elc-impact div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid rgba(207, 219, 231, .88);
	border-radius: 10px;
	background: rgba(255, 255, 255, .88);
}

.sycomp-elc-impact span {
	color: #64748b;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sycomp-elc-impact strong { font-size: 18px; font-weight: 900; text-align: right; white-space: nowrap; }

/* ---------- report preview / context ---------- */

.sycomp-elc-summary-preview { padding: 26px 32px; }
.sycomp-elc-summary-preview h3 { margin: 0 0 18px; font-size: 24px; }

.sycomp-elc-summary-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.sycomp-elc-summary-grid div {
	min-height: 120px;
	padding: 18px;
	border: 1px solid rgba(207, 219, 231, .88);
	border-radius: 14px;
	background: linear-gradient(180deg, #f8fbff, #fff);
}

.sycomp-elc-summary-grid strong { display: block; margin-bottom: 8px; color: var(--sycomp-elc-blue); font-size: 15px; }
.sycomp-elc-summary-grid span { display: block; color: #475569; font-size: 13px; font-weight: 700; line-height: 1.45; }

.sycomp-elc-context {
	border-left: 7px solid #2f55d4;
	border-radius: 18px;
	background: linear-gradient(90deg, #f8fbff 0%, #fff 100%);
}

.sycomp-elc-context summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 72px;
	padding: 22px 26px;
	cursor: pointer;
	list-style: none;
}

.sycomp-elc-context summary::-webkit-details-marker { display: none; }
.sycomp-elc-context summary strong { display: block; font-size: 18px; font-weight: 900; }
.sycomp-elc-context summary span span { display: block; margin-top: 3px; color: var(--sycomp-elc-muted); font-size: 13px; font-weight: 700; }

.sycomp-elc-context summary::after {
	content: "\002B";
	flex: 0 0 auto;
	padding: 9px 15px;
	border-radius: 999px;
	color: var(--sycomp-elc-blue);
	background: #eef5ff;
	font-size: 14px;
	font-weight: 900;
}

.sycomp-elc-context[open] summary::after { content: "\2212"; }

.sycomp-elc-context-note {
	margin: 0 26px 18px;
	padding: 16px 18px;
	border: 1px solid #d8e6ff;
	border-radius: 12px;
	background: #eef5ff;
	color: #23428c;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.sycomp-elc-context-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	padding: 0 26px 26px;
}

.sycomp-elc-context-grid label { display: grid; gap: 8px; }
.sycomp-elc-context-grid label > span { color: #31445b; font-size: 12px; font-weight: 900; }

.sycomp-elc-context-grid input,
.sycomp-elc-context-grid select {
	width: 100%;
	height: 52px;
	padding: 0 14px;
	border: 1px solid #d8e3ee;
	border-radius: 8px;
	color: var(--sycomp-elc-ink);
	background: #fff;
	font-size: 14px;
	font-weight: 800;
	outline: none;
}

/* ---------- report CTA ---------- */

.sycomp-elc-report-cta {
	display: grid;
	grid-template-columns: 86px minmax(220px, 1fr) minmax(0, 720px);
	gap: 24px;
	align-items: center;
	padding: 26px 32px;
	background: linear-gradient(90deg, #eef6ff, #fff);
}

.sycomp-elc-report-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #dbeaff;
	font-size: 34px;
	box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .45);
}

.sycomp-elc-report-icon::before { content: "\1F4C4"; }

.sycomp-elc-report-copy h3 { margin: 0 0 8px; color: var(--sycomp-elc-blue); font-size: 22px; }
.sycomp-elc-report-copy p { margin: 0; color: #31445b; font-size: 13px; line-height: 1.45; }

.sycomp-elc-report-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 190px;
	gap: 10px;
	align-items: center;
}

.sycomp-elc-report-fields input {
	height: 54px;
	padding: 0 18px;
	border: 1px solid #cfe0f2;
	border-radius: 8px;
	outline: none;
}

.sycomp-elc-report-fields button {
	width: 100%;
	height: 54px;
	padding: 0 24px;
	border-radius: 8px;
	color: #fff;
	background: linear-gradient(135deg, var(--sycomp-elc-navy), var(--sycomp-elc-blue));
	font-weight: 900;
	box-shadow: 0 18px 34px rgba(39, 66, 184, .18);
}

.sycomp-elc-report-fields button:disabled { opacity: .6; cursor: progress; }

.sycomp-elc-status {
	grid-column: 1 / -1;
	margin: 8px 0 0;
	color: var(--sycomp-elc-blue);
	font-size: 12px;
	font-weight: 800;
	min-height: 1em;
}

.sycomp-elc-report-preview {
	display: none;
	grid-column: 1 / -1;
	max-height: 720px;
	margin-top: 20px;
	padding: 20px;
	border: 1px solid var(--sycomp-elc-line);
	border-radius: 16px;
	background: rgba(255, 255, 255, .95);
	overflow: auto;
}

.sycomp-elc-report-preview:not(:empty) { display: block; }

/* ---------- generated report ---------- */

.sycomp-elc-report-block { margin: 0 0 26px; }
.sycomp-elc-report-block h2 { margin: 0 0 14px; font-size: 24px; }
.sycomp-elc-report-block h3 { margin: 20px 0 8px; color: var(--sycomp-elc-blue); font-size: 17px; }

.sycomp-elc-report-kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
}

.sycomp-elc-report-kpis div {
	padding: 16px;
	border: 1px solid var(--sycomp-elc-line);
	border-radius: 12px;
	background: #f8fbff;
}

.sycomp-elc-report-kpis span { display: block; color: #64748b; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sycomp-elc-report-kpis strong { display: block; margin-top: 6px; font-size: 26px; font-weight: 900; }

.sycomp-elc-report-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.sycomp-elc-report-table th,
.sycomp-elc-report-table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--sycomp-elc-line);
	text-align: left;
}

.sycomp-elc-report-table th { color: #64748b; font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.sycomp-elc-report-table td:not(:first-child),
.sycomp-elc-report-table th:not(:first-child) { text-align: right; white-space: nowrap; }

.sycomp-elc-report-drivers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.sycomp-elc-report-drivers li {
	position: relative;
	padding-left: 18px;
	color: #334155;
	font-size: 13px;
	font-weight: 700;
}

.sycomp-elc-report-drivers li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: var(--sycomp-elc-blue);
}

.sycomp-elc-report-narrative {
	margin: 0 0 26px;
	padding: 28px;
	border: 1px solid #d8e6f5;
	border-radius: var(--sycomp-elc-radius);
	background: linear-gradient(180deg, #f8fbff, #fff);
}

.sycomp-elc-report-narrative h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.1; }
.sycomp-elc-report-narrative h3 { margin: 22px 0 10px; color: var(--sycomp-elc-blue); font-size: 18px; }
.sycomp-elc-report-narrative p { color: #334155; font-size: 15px; line-height: 1.65; font-weight: 600; }

.sycomp-elc-report-score {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	margin: 22px 0;
	padding: 20px;
	border: 1px solid var(--sycomp-elc-line);
	border-radius: 14px;
	background: #fff;
}

.sycomp-elc-report-score strong { display: block; color: var(--sycomp-elc-blue); font-size: 40px; line-height: 1; }
.sycomp-elc-report-score > div:first-child span { display: block; margin-top: 6px; color: #64748b; font-size: 12px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }

.sycomp-elc-report-pill {
	display: inline-flex;
	padding: 8px 12px;
	border-radius: 999px;
	background: #eaf2ff;
	color: var(--sycomp-elc-blue);
	font-size: 12px;
	font-weight: 900;
}

.sycomp-elc-report-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.sycomp-elc-report-cards > div {
	padding: 18px;
	border: 1px solid var(--sycomp-elc-line);
	border-radius: 14px;
	background: #fff;
}

.sycomp-elc-report-cards strong { display: block; margin-bottom: 8px; font-size: 15px; }
.sycomp-elc-report-cards p { margin: 0; color: #475569; font-size: 13px; line-height: 1.55; }

.sycomp-elc-report-reco {
	display: grid;
	gap: 9px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.sycomp-elc-report-reco li {
	position: relative;
	padding-left: 22px;
	color: #334155;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.sycomp-elc-report-reco li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--sycomp-elc-blue);
}

.sycomp-elc-report-assumptions ul { margin: 0; padding-left: 20px; color: #475569; font-size: 13px; line-height: 1.7; }

/* ---------- responsive ---------- */

@media (max-width: 1220px) {
	.sycomp-elc-hero,
	.sycomp-elc-inputs-card,
	.sycomp-elc-report-cta { grid-template-columns: 1fr; }

	.sycomp-elc-hero-right,
	.sycomp-elc-input-strip,
	.sycomp-elc-report-fields,
	.sycomp-elc-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.sycomp-elc-life-row summary { grid-template-columns: 44px 60px minmax(0, 1fr) 32px; }
	.sycomp-elc-life-metric,
	.sycomp-elc-life-time,
	.sycomp-elc-life-total { grid-column: 1 / -1; }
	.sycomp-elc-chevron { grid-column: 4; grid-row: 1; }
	.sycomp-elc-life-detail { grid-template-columns: 1fr; margin-left: 24px; }
	.sycomp-elc-included ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sycomp-elc-context-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sycomp-elc-report-score,
	.sycomp-elc-report-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.sycomp-elc-hero-right,
	.sycomp-elc-input-strip,
	.sycomp-elc-report-fields,
	.sycomp-elc-summary-grid,
	.sycomp-elc-included ul,
	.sycomp-elc-context-grid { grid-template-columns: 1fr; }

	.sycomp-elc-hero,
	.sycomp-elc-inputs-card,
	.sycomp-elc-lifecycle-card,
	.sycomp-elc-summary-preview,
	.sycomp-elc-report-cta { padding: 20px; }

	.sycomp-elc-calc .sycomp-elc-h1 { font-size: 32px; }
	.sycomp-elc-life-detail { margin: 0 16px 16px; }
	.sycomp-elc-report-table { font-size: 12px; }
}

/* ---------- accessibility floor ---------- */

.sycomp-elc-calc :focus-visible {
	outline: 2px solid var(--sycomp-elc-blue);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.sycomp-elc-life-row,
	.sycomp-elc-life-time input { transition: none; }
	.sycomp-elc-life-row:hover { transform: none; }
}
