.gim-roi-calculator{
	display:grid;
	grid-template-columns:minmax(0,7fr) minmax(17rem,5fr);
	gap:2rem;
	align-items:center;
	max-width:56rem;
	margin-inline:auto;
	padding:2.5rem;
	border:1px solid #e2e8f0;
	border-radius:1.5rem;
	background:#fff;
	color:#0d1b33;
	direction:rtl;
	box-shadow:0 25px 50px -12px rgba(15,23,42,.18);
}
.gim-roi-calculator *{box-sizing:border-box}
.gim-roi-controls{display:grid;gap:1.5rem}
.gim-roi-field-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.5rem}
.gim-roi-field label{color:#1e293b;font-size:.875rem;font-weight:800;line-height:1.5}
.gim-roi-field output{color:#165dff;font-size:1rem;font-weight:950;white-space:nowrap}
.gim-roi-field input[type=range]{width:100%;min-height:1.5rem;margin:0;accent-color:#165dff;cursor:pointer}
.gim-range-scale{display:flex;justify-content:space-between;margin-top:.25rem;color:#94a3b8;font-size:.625rem;line-height:1.5}
.gim-roi-results{
	padding:1.5rem;
	border:1px solid rgba(22,93,255,.4);
	border-radius:1.5rem;
	background:linear-gradient(to bottom,#0d1b33,#081224);
	color:#fff;
	box-shadow:0 20px 25px -5px rgba(15,23,42,.22);
}
.gim-roi-eyebrow{margin:0 0 1rem;color:#22d3ee;font-size:.75rem;font-weight:800}
.gim-roi-result-card{padding:1rem;border:1px solid rgba(255,255,255,.1);border-radius:1rem;background:rgba(255,255,255,.05);margin-bottom:1rem}
.gim-roi-result-card span,.gim-roi-result-card small{display:block;color:#cbd5e1;font-size:.6875rem;line-height:1.6}
.gim-roi-result-card strong{display:block;margin:.25rem 0;color:#34d399;font-size:1.5rem;font-weight:950;line-height:1.45}
.gim-roi-result-card:nth-of-type(2) strong{color:#22d3ee}
.gim-roi-cta{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:.5rem;
	width:100%;
	margin-top:.25rem;
	padding:.875rem 1rem;
	border:0;
	border-radius:1rem;
	background:#165dff;
	color:#fff;
	font-family:inherit;
	font-size:.8125rem;
	font-weight:850;
	line-height:1.5;
	text-decoration:none;
	cursor:pointer;
	box-shadow:0 10px 20px rgba(22,93,255,.32);
	transition:background-color 180ms ease,transform 180ms ease,box-shadow 180ms ease;
}
.gim-roi-cta:hover{background:#1350de;box-shadow:0 14px 28px rgba(22,93,255,.36);transform:translateY(-1px)}
.gim-roi-cta:active{transform:scale(.99)}
.gim-roi-cta .gim-icon{width:1rem;height:1rem;color:#22d3ee;transition:transform 180ms ease}
.gim-roi-cta:hover .gim-icon{transform:translateX(-.2rem)}
.gim-roi-assumption{margin:.75rem 0 0;color:#94a3b8;font-size:.625rem;line-height:1.7}
.gim-roi-calculator :focus-visible{outline:3px solid rgba(34,211,238,.55);outline-offset:3px}
@media(max-width:1023px){
	.gim-roi-calculator{grid-template-columns:1fr;max-width:48rem;padding:2rem}
	.gim-roi-results{order:2}
}
@media(max-width:639px){
	.gim-roi-calculator{gap:1.5rem;padding:1.5rem;border-radius:1.5rem}
	.gim-roi-field-head{align-items:flex-start;flex-direction:column;gap:.25rem}
	.gim-roi-results{padding:1.25rem}
}
@media(prefers-reduced-motion:reduce){
	.gim-roi-calculator *{animation:none!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
	.gim-roi-cta:hover,.gim-roi-cta:active{transform:none}
}
/* Sprint 5 quality pass — BiDi, touch target and zoom resilience. */
.gim-roi-calculator{max-width:min(56rem,100%);min-width:0}
.gim-roi-field output,.gim-roi-result-card strong{unicode-bidi:isolate}
@media(max-width:639px){
	.gim-roi-field input[type=range]{min-height:2.75rem}
	.gim-roi-cta{min-height:2.75rem}
}
