/* Override for EMI Calculator red underline and shadow on hover/focus for rc-* classes */
.rc-link-card:hover,
.rc-link-card:focus-visible,
.rc-question-card:hover,
.rc-question-card:focus-visible {
	border-color: #e11d48 !important;
	box-shadow: 0 10px 24px rgba(225,29,72,0.12) !important;
}
/* =====================
   TOOLTIP ICON & CONTENT
====================== */
.tooltip-icon {
	display: inline-flex;
	align-items: center;
	position: relative;
	margin-left: 4px;
	color: #475569;
	font-size: 15px;
	cursor: pointer;
	vertical-align: middle;
	line-height: 1;
	user-select: none;
	transition: color 0.18s;
}
.tooltip-icon:focus {
	outline: none;
	color: #6366f1;
}
.tooltip-icon:hover,
.tooltip-icon:focus {
	color: #6366f1;
}
.custom-tooltip {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	left: calc(50% - 16px);
	top: 24px;
	transform: translateX(-50%) scale(0.96);
	min-width: 160px;
	max-width: 220px;
	background: rgba(15,23,42,0.96);
	color: #fff;
	font-size: 13px;
	line-height: 1.45;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(15,23,42,0.18);
	padding: 10px 14px;
	z-index: 10;
	white-space: normal;
	transition: opacity 0.18s, transform 0.18s;
	will-change: opacity, transform;
}
.tooltip-icon:hover .custom-tooltip,
.tooltip-icon:focus .custom-tooltip {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) scale(1);
	transition-delay: 0.2s;
}
.tooltip-icon .custom-tooltip {
	transition-delay: 0s;
}

/* Override for EMI Calculator red underline and shadow on hover/focus */
.retirement-corpus-link-card:hover,
.retirement-corpus-link-card:focus-visible,
.retirement-corpus-question-card:hover,
.retirement-corpus-question-card:focus-visible {
	border-color: #e11d48 !important;
	box-shadow: 0 10px 24px rgba(225,29,72,0.12) !important;
}
/* Override for EMI Calculator red underline and shadow on hover/focus */
.retirement-corpus-link-card:hover,
.retirement-corpus-link-card:focus-visible,
.retirement-corpus-question-card:hover,
.retirement-corpus-question-card:focus-visible {
	border-color: #e11d48 !important;
	box-shadow: 0 10px 24px rgba(225,29,72,0.12) !important;
}
*,
*::before,
*::after{
	box-sizing:border-box;
}

html,
body{
	width:100%;
	max-width:100%;
	margin:0;
	padding:0;
	overflow-x:hidden;
	font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
	background:#f1f5f9;
}

main.container{
	padding-bottom:18px;
}

:root{
	--bg:#ffffff;
	--muted:#64748b;
	--primary:#6366f1;
	--success:#16a34a;
	--warning:#d97706;
	--glass:rgba(15,23,42,0.02);
}

.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;
}

.rc-wrapper{
	max-width:1100px;
	margin:0 auto;
	padding:20px;
	display:grid;
	grid-template-columns:330px minmax(0,1fr);
	gap:6px;
	width:100%;
}

.rc-calculator-box{
	background:#f8fafc;
	border:1px solid #e5e7eb;
	border-radius:14px;
	padding:20px;
	width:320px;
	display:flex;
	flex-direction:column;
	box-shadow:0 6px 18px rgba(15,23,42,0.06);
	background:linear-gradient(180deg,var(--bg),#fbfdff 60%);
	position:sticky;
	top:90px;
	height:420px;
}

.rc-field{
	margin-bottom:16px;
	min-width:0;
}

.rc-field-row{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:12px;
	align-items:start;
	margin-bottom:16px;
}

.rc-field-row .rc-field{
	margin-bottom:0;
}

.rc-field-half{
	min-width:0;
}

.rc-field label{
	display:block;
	font-size:13px;
	font-weight:500;
	color:#334155;
	margin-bottom:6px;
	line-height:1.35;
}

.rc-input-row{
	display:grid;
	grid-template-columns:120px minmax(0,1fr);
	gap:12px;
	align-items:center;
}

.rc-input-row-single{
	grid-template-columns:minmax(0,1fr);
}

.rc-calculator input{
	width:100%;
	padding:6px 9px;
	font-size:14px;
	border-radius:6px;
	border:1px solid #cbd5e1;
	background:#ffffff;
}

.rc-calculator input[type="range"]{
	-webkit-appearance:none;
	appearance:none;
	height:6px;
	background:linear-gradient(90deg,var(--primary),rgba(99,102,241,0.6));
	border-radius:6px;
	padding:0;
	margin:0;
	width:100%;
	box-sizing:border-box;
}

.rc-calculator input[type="range"]::-webkit-slider-thumb{
	-webkit-appearance:none;
	width:18px;
	height:18px;
	border-radius:50%;
	background:var(--primary);
	box-shadow:0 2px 6px rgba(99,102,241,0.28);
	border:3px solid #fff;
	cursor:pointer;
	margin-top:-6px;
}

.rc-calculator input[type="range"]::-moz-range-thumb{
	width:18px;
	height:18px;
	border-radius:50%;
	background:var(--primary);
	border:none;
	cursor:pointer;
}

.rc-chart{
	background:#ffffff;
	border:1px solid #e5e7eb;
	border-radius:14px;
	padding:12px 18px 14px;
	width:590px;
	display:flex;
	flex-direction:column;
	align-items:stretch;
	position:sticky;
	top:90px;
	box-shadow:0 6px 18px rgba(15,23,42,0.06);
	height:420px;
}

.rc-chart-row{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:12px;
	width:100%;
	position:relative;
}

.rc-chart-side{
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	gap:8px;
}

.rc-chart-legend.vertical{
	display:flex;
	flex-direction:column;
	gap:10px;
	margin:0;
}

.rc-chart-legend.vertical .legend-item{
	display:flex;
	align-items:center;
	gap:8px;
	font-size:14px;
	color:#334155;
}

.rc-chart-legend.vertical .legend-item i{
	width:12px;
	height:12px;
	border-radius:50%;
	display:inline-block;
}

.rc-summary-row{
	width:100%;
	display:flex;
	flex-direction:column;
	gap:8px;
	margin-bottom:6px;
}

.rc-summary-title{
	font-size:15px;
	font-weight:600;
	color:#0f172a;
	white-space:nowrap;
}

.rc-summary{
	display:flex;
 	flex-wrap:nowrap;
 	gap:8px;
 	max-width:100%;
 	overflow:visible;
}

.rc-summary > span{
	padding:6px 12px;
	font-size:13px;
	font-weight:500;
	border-radius:999px;
	white-space:nowrap;
	display:inline-flex;
	align-items:center;
	max-width:none;
	flex:0 0 auto;
}

/* Ensure a visible gap between label text and the amount (₹...) */
.rc-summary > span b{
	display:inline-block;
	margin-left:4px;
}

.rc-summary .principal{
	background:#e0e7ff;
	color:#1e3a8a;
}

.rc-summary .interest{
	background:#dcfce7;
	color:#166534;
}

.rc-summary .maturity{
	background:#fef3c7;
	color:#92400e;
}

.rc-chart canvas{
	width:200px !important;
	height:200px !important;
	margin:2px 0 12px;
	border-radius:50%;
	cursor:pointer;
}

.rc-pie-tooltip{
	position:absolute;
	min-width:152px;
	max-width:210px;
	padding:8px 10px;
	border-radius:10px;
	background:rgba(15,23,42,0.94);
	color:#ffffff;
	font-size:12px;
	line-height:1.35;
	box-shadow:0 10px 24px rgba(15,23,42,0.22);
	pointer-events:none;
	opacity:0;
	transform:translate(10px,-10px) scale(.96);
	transform-origin:left bottom;
	transition:opacity 160ms ease,transform 160ms ease;
	z-index:3;
	white-space:nowrap;
}

.rc-pie-tooltip.visible{
	opacity:1;
	transform:translate(10px,-10px) scale(1);
}

.rc-chart-legend{
	display:flex;
	gap:10px;
	font-size:13px;
	color:#334155;
	margin-bottom:8px;
}

.rc-chart-legend i{
	width:10px;
	height:10px;
	border-radius:50%;
	display:inline-block;
	margin-right:5px;
}

.rc-chart-legend .principal{
	background:#6366f1;
}

.rc-chart-legend .interest{
	background:#22c55e;
}

.rc-chart-legend .corpus{
	background:#f59e0b;
}

.rc-result-bottom{
	width:100%;
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:12px;
	margin-top:6px;
	padding-top:8px;
}

.rc-result-box{
	background:#f8fafc;
	border:1px solid #e5e7eb;
	border-radius:10px;
	padding:10px;
	text-align:center;
	min-width:0;
}

.rc-result-box span{
	display:block;
	font-size:13px;
	color:#64748b;
	margin-bottom:6px;
}

.rc-result-box strong{
	font-size:22px;
	font-weight:700;
	color:#0f172a;
}

.rc-result-box.green strong{
	color:#16a34a;
}

.rc-result-box.gold strong{
	color:var(--warning);
}

.btn{
	display:inline-flex;
	align-items:center;
	gap:8px;
	padding:8px 12px;
	border-radius:8px;
	border:1px solid transparent;
	cursor:pointer;
	font-weight:600;
	font-size:14px;
}

.btn-outline{
	background:transparent;
	border:1px solid rgba(15,23,42,0.08);
	color:var(--primary);
	padding:8px 14px;
	border-radius:10px;
}

.btn-outline:hover{
	background:rgba(99,102,241,0.06);
}

.btn-outline:active{
	background:rgba(99,102,241,0.10);
}

.btn:focus{
	outline:3px solid rgba(99,102,241,0.14);
	outline-offset:3px;
}

.rc-actions{
	display:flex;
	justify-content:flex-start;
}

.rc-info-panel{
	max-width:916px;
	width:100%;
	margin:18px auto 0;
	padding:20px;
	border:1px solid #e5e7eb;
	border-radius:16px;
	background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
	box-shadow:0 10px 28px rgba(15,23,42,0.06);
}

.rc-panel-head{
	display:flex;
	flex-direction:column;
	gap:6px;
	margin-bottom:16px;
}

.rc-panel-head h2{
	margin:0;
	font-size:22px;
	color:#0f172a;
}

.rc-panel-head p{
	margin:0;
	color:#64748b;
	font-size:14px;
}

.rc-seo-panel h2,
.rc-seo-panel h3{
	margin:0;
	color:#0f172a;
}

.rc-seo-panel h2{
	font-size:22px;
	margin-bottom:10px;
}

.rc-seo-panel h3{
	font-size:17px;
	margin-top:18px;
	margin-bottom:8px;
}

.rc-seo-panel p,
.rc-seo-panel li{
	margin:0;
	color:#475569;
	font-size:14px;
	line-height:1.65;
}

.rc-seo-panel ul{
	margin:0;
	padding-left:20px;
	display:grid;
	gap:8px;
}

.rc-growth-head{
	flex-direction:row;
	align-items:flex-start;
	justify-content:space-between;
	gap:16px;
}

.rc-growth-legend{
	display:flex;
	flex-wrap:wrap;
	gap:12px;
	justify-content:flex-end;
}

.rc-growth-legend span{
	display:inline-flex;
	align-items:center;
	gap:8px;
	color:#334155;
	font-size:13px;
	font-weight:600;
}

.rc-growth-legend i{
	width:12px;
	height:12px;
	border-radius:50%;
	display:inline-block;
}

.rc-growth-legend .invested{ background:#8b5cf6; }
.rc-growth-legend .value{ background:#22c55e; }

.rc-growth-chart-wrap{
	position:relative;
	min-height:320px;
	border:1px solid #e2e8f0;
	border-radius:16px;
	background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
	overflow:hidden;
}

.rc-growth-chart{
	width:100%;
	height:320px;
	display:block;
}

.rc-growth-tooltip{
	position:absolute;
	min-width:150px;
	max-width:220px;
	padding:8px 10px;
	border-radius:10px;
	background:rgba(15,23,42,0.94);
	color:#ffffff;
	font-size:12px;
	line-height:1.4;
	box-shadow:0 10px 24px rgba(15,23,42,0.22);
	pointer-events:none;
	opacity:0;
	transform:translate(10px,-10px) scale(.96);
	transform-origin:left bottom;
	transition:opacity 160ms ease, transform 160ms ease;
	z-index:3;
	white-space:nowrap;
}

.rc-growth-tooltip.visible{
	opacity:1;
	transform:translate(10px,-10px) scale(1);
}

.rc-growth-empty{
	position:absolute;
	inset:0;
	display:flex;
	align-items:center;
	justify-content:center;
	text-align:center;
	padding:24px;
	color:#64748b;
	font-size:14px;
}

.rc-growth-insights{
	display:grid;
	grid-template-columns:repeat(2, minmax(0,1fr));
	gap:14px;
	margin-top:14px;
}

.rc-growth-insight-card{
	background:#ffffff;
	border:1px solid #e2e8f0;
	border-radius:14px;
	padding:16px;
}

.rc-growth-insight-card span{
	display:block;
	margin-bottom:8px;
	color:#64748b;
	font-size:13px;
}

.rc-growth-insight-card strong{
	display:block;
	color:#0f172a;
	font-size:16px;
	line-height:1.5;
}

.rc-growth-hover-dot{
	cursor:pointer;
}

.rc-growth-invested-point{
	fill:#8b5cf6;
	stroke:#ffffff;
	stroke-width:2;
	opacity:.95;
}

.rc-growth-point{
	fill:#22c55e;
	stroke:#ffffff;
	stroke-width:2;
	opacity:.95;
}

.rc-growth-guide{
	stroke:#86efac;
	stroke-width:1.5;
	stroke-dasharray:5 5;
	opacity:.95;
}

.rc-growth-active-dot{
	fill:#16a34a;
	stroke:#ffffff;
	stroke-width:3;
}

.rc-growth-active-invested-dot{
	fill:#7c3aed;
	stroke:#ffffff;
	stroke-width:3;
}

.rc-insight-grid,
.rc-link-grid{
	display:grid;
	grid-template-columns:repeat(3, minmax(0,1fr));
	gap:14px;
}

.rc-link-grid{
	grid-template-columns:repeat(2, minmax(0,1fr));
}

.rc-insight-card,
.rc-link-card{
	background:#ffffff;
	border:1px solid #e2e8f0;
	border-radius:14px;
	padding:16px;
	min-width:0;
}

.rc-insight-card h3,

.rc-link-card strong{
	display:block;
	margin:0 0 8px;
	font-size:18px;
	color:#0f172a;
	font-size:16px;
}

.rc-insight-card p,
.rc-link-card span{
	margin:0;
	color:#475569;
	font-size:14px;
	line-height:1.55;
}

.rc-link-card{
	display:flex;
	flex-direction:column;
	gap:8px;
	text-decoration:none;
	transition:transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}


.rc-link-card:hover,
.rc-link-card:focus-visible{
	transform:translateY(-2px);
	border-color:#e11d48;
	box-shadow:0 10px 24px rgba(225,29,72,0.12);
}

.rc-question-list{
	display:grid;
	grid-template-columns:1fr;
	gap:12px;
}

.rc-question-card{
	display:block;
	background:#ffffff;
	border:1px solid #e2e8f0;
	border-radius:14px;
	padding:16px 18px;
	text-decoration:none;
	transition:transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.rc-question-card h3{
	margin:0 0 8px;
	color:#0f172a;
	font-size:16px;
}

.rc-question-card p{
	margin:0;
	color:#475569;
	font-size:14px;
	line-height:1.55;
}


.rc-question-card:hover,
.rc-question-card:focus-visible{
	transform:translateY(-2px);
	border-color:#e11d48;
	box-shadow:0 10px 24px rgba(225,29,72,0.12);
}

.rc-question-cta{
	display:inline-flex;
	margin-top:10px;
	color:#4f46e5;
	font-size:13px;
	font-weight:700;
}

.rc-conversion-hook{
	margin-top:14px;
	padding-top:2px;
}

.rc-conversion-hook a{
	display:inline-flex;
	align-items:center;
	color:#0f172a;
	font-weight:700;
	text-decoration:none;
	transition:none;
}

.rc-conversion-hook a:hover,
.rc-conversion-hook a:focus-visible{
	color:#4f46e5;
}

.rc-related-list{
	display:flex;
	flex-wrap:wrap;
	gap:12px;
}

.rc-related-pill{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:44px;
	padding:10px 16px;
	border-radius:999px;
	border:1px solid #dbeafe;
	background:#eff6ff;
	color:#1d4ed8;
	font-weight:600;
	text-decoration:none;
	transition:background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.rc-related-pill:hover,
.rc-related-pill:focus-visible{
	background:#dbeafe;
	transform:translateY(-1px);
	box-shadow:0 8px 18px rgba(37,99,235,0.14);
}

.conclusion-panel{
	max-width:916px;
	padding:8px 16px 8px 10px;
	border-color:#dbeafe;
	background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
	margin-top:0;
	margin-bottom:14px;

	display:flex;
	align-items:center;
	gap:10px;
}

.conclusion-image{
	width:40px;
	height:40px;
	flex:0 0 56px;
	object-fit:contain;
}

.conclusion-copy{
	margin:0;
	flex:1;
	text-align:center;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	color:#0f172a;
	font-size:20px;
	line-height:1.5;
	font-weight:500;
}

.conclusion-amount{
	font-weight:700;
	font-size:22px;
}

.conclusion-principal,
.conclusion-maturity{
	color:#0f172a;
}

.conclusion-interest{
	color:#16a34a;
}

html.dark .conclusion-panel{
	background:var(--bg-card);
	border-color:var(--border-soft);
	box-shadow:var(--shadow-card);
}

html.dark .conclusion-copy{
	color:var(--text-main);
}

html.dark .conclusion-principal,
html.dark .conclusion-maturity{
	color:var(--text-main);
}

html.dark .conclusion-interest{
	color:#4ade80;
}

html.dark .rc-seo-panel{
	background:var(--bg-card);
	border-color:var(--border-soft);
	box-shadow:var(--shadow-card);
}

html.dark .rc-seo-panel h2,
html.dark .rc-seo-panel h3{
	color:var(--text-main);
}

html.dark .rc-seo-panel p,
html.dark .rc-seo-panel li{
	color:var(--text-muted);
}

@media (max-width:900px){
	.rc-wrapper{
		grid-template-columns:1fr;
		padding:12px;
	}

	.rc-calculator-box,
	.rc-chart{
		position:static;
		width:100%;
		height:auto;
	}
	.rc-info-panel{
		margin-top:14px;
		padding:18px;
	}

	.rc-growth-head,
	.rc-growth-insights,
	.rc-insight-grid,
	.rc-link-grid{
		grid-template-columns:1fr;
	}

	.rc-growth-head{
		flex-direction:column;
	}

	.rc-growth-legend{
		justify-content:flex-start;
	}

	.rc-question-list{
		grid-template-columns:1fr;
	}

	.rc-chart{margin-top:12px}
}

@media (max-width:520px){
	.rc-chart-row{
		flex-direction:column;
		align-items:center;
	}

	.rc-chart-side{
		align-items:center;
	}

	.rc-chart-legend.vertical{
		align-items:center;
	}

	.rc-input-row,
	.rc-field-row,
	.rc-result-bottom{
		grid-template-columns:1fr;
	}

	.rc-summary{
		flex-wrap:wrap;
	}

	.rc-summary > span{
		max-width:100%;
	}

	.conclusion-panel{
		flex-direction:column;
		text-align:center;
	}

	.conclusion-image{
		width:32px;
		height:32px;
		flex-basis:32px;
	}

	.conclusion-copy{
		font-size:18px;
	}

	.conclusion-amount{
		font-size:20px;
	}
}