/* OE – GSMO Animation: Chart (v1.0.0)
 * Prototype rules (.step svg, .bar, .trend and their keyframes), scoped
 * under .oe-gac, colours from fields. The prototype's margin-bottom under
 * the drawing is left to the card it sits in.
 */
.oe-gac { width: 100%; }
.oe-gac svg { width: 100%; height: var(--oe-gac-h, 96px); display: block; }
.oe-gac .oe-gac-base { stroke: var(--oe-gac-base, #E8ECF4); }
.oe-gac .oe-gac-bar { transform-box: fill-box; transform-origin: bottom; transform: scaleY(.12); }
.oe-gac .oe-gac-bar { animation: oe-gac-grow 3.6s ease-in-out infinite; animation-delay: var(--t, 0s); }
@keyframes oe-gac-grow { 0%, 10% { transform: scaleY(.15); } 45%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.oe-gac .oe-gac-trend { fill: none; stroke: var(--oe-gac-trend, #00addc); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 140; stroke-dashoffset: 140; animation: oe-gac-trend 3.6s ease-in-out infinite; }
@keyframes oe-gac-trend { 0%, 20% { stroke-dashoffset: 140; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 140; } }

/* Paused while out of view (script.js); no visible change. */
.oe-gac.is-paused svg * { animation-play-state: paused; }

/* Still ("Animate" off, or reduced motion). Fix: the prototype's reduced
   motion left the bars at 12% height and the trend line invisible; here they
   show at full height with the line drawn, as at the peak of the animation. */
.oe-gac.oe-gac--still svg * { animation: none !important; }
.oe-gac.oe-gac--still .oe-gac-bar { transform: none; }
.oe-gac.oe-gac--still .oe-gac-trend { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
	.oe-gac svg * { animation: none !important; }
	.oe-gac .oe-gac-bar { transform: none; }
	.oe-gac .oe-gac-trend { stroke-dashoffset: 0; }
}
