/* ERMVare "See Risk Coming" animation polish — design only. */
html body .risk-features .tvx-erm{
  --bg:radial-gradient(120% 90% at 20% 0%,#0f5c4e 0%,#0a3a3a 45%,#071f2c 100%)!important;
  max-width:880px!important;border-radius:28px!important;
  box-shadow:0 40px 90px -30px rgba(7,40,40,.55),0 0 0 1px rgba(127,227,180,.25) inset,0 0 80px -20px rgba(32,162,87,.45)!important;
  filter:none!important;opacity:1!important}
/* remove washed-out sheen overlays */
html body .risk-features .tvx-erm::before,html body .risk-features .tvx-erm::after{opacity:0!important}
/* subtle grid + scanning beam */
html body .risk-features .tvx-erm .tvx-scene::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:linear-gradient(rgba(127,227,180,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(127,227,180,.06) 1px,transparent 1px);background-size:40px 40px}
html body .risk-features .tvx-erm .tvx-scene::after{content:"";position:absolute;left:0;right:0;height:60px;top:-60px;pointer-events:none;z-index:0;
  background:linear-gradient(180deg,transparent,rgba(127,227,180,.05) 60%,rgba(127,227,180,.18) 100%);border-bottom:1px solid rgba(127,227,180,.55);
  animation:ermScan 7s cubic-bezier(.45,0,.55,1) infinite}
@keyframes ermScan{0%{top:-60px}60%,100%{top:100%}}

/* cards: crisp glass, always readable */
html body .risk-features .tvx-erm .tvx-card{z-index:1;opacity:1!important;filter:none!important;
  background:linear-gradient(160deg,rgba(18,92,80,.72),rgba(6,40,44,.78))!important;border:1px solid rgba(127,227,180,.32)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.08) inset,0 20px 44px -18px rgba(0,0,0,.5)!important;transition:transform .6s cubic-bezier(.2,.8,.2,1),box-shadow .6s,border-color .6s!important}
html body .risk-features .tvx-erm .tvx-card h4{color:#fff!important;opacity:1!important;font-weight:600!important;text-shadow:0 1px 10px rgba(0,0,0,.25)}
html body .risk-features .tvx-erm .tvx-card h4 small{color:#a9ecd0!important;opacity:1!important}
html body .risk-features .tvx-erm.spot .tvx-card:not(.is-spot){opacity:.82!important}
html body .risk-features .tvx-erm.spot .tvx-card.is-spot{transform:translateY(-6px) scale(1.02)!important;border-color:var(--acc)!important;
  box-shadow:0 0 0 1.5px var(--acc),0 30px 60px -18px rgba(0,0,0,.55),0 0 60px -6px rgba(127,227,180,.55)!important}

/* heat map: richer cells */
html body .risk-features .tvx-erm .e-grid i{opacity:.45!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html body .risk-features .tvx-erm.r1 .e-grid i,html body .risk-features .tvx-erm.r3 .e-grid i{opacity:.92!important}
html body .risk-features .tvx-erm .e-ax{color:#cdf5e4!important;opacity:1!important}

/* KRI chart: visible baseline, glowing threshold and line */
html body .risk-features .tvx-erm .e-thr{stroke:#F2CF6B!important;stroke-width:2!important;stroke-dasharray:6 6!important;opacity:1!important;animation:ermDash 1.2s linear infinite}
@keyframes ermDash{to{stroke-dashoffset:-12}}
html body .risk-features .tvx-erm .e-tl{fill:#F2CF6B!important;font-weight:600}
html body .risk-features .tvx-erm .e-p1{stroke:#fff!important;filter:drop-shadow(0 0 6px rgba(255,255,255,.6))}
html body .risk-features .tvx-erm .e-br{filter:drop-shadow(0 0 8px #FF5F57)}

/* KPI badge + footer caption */
html body .risk-features .tvx-erm .tvx-kpi{background:rgba(5,40,38,.85)!important;border-color:rgba(127,227,180,.55)!important;box-shadow:0 0 24px -6px rgba(127,227,180,.5)}
html body .risk-features .tvx-erm .tvx-cap,html body .risk-features .tvx-erm .tvx-cap *{color:#fff!important;opacity:1}
html body .risk-features .tvx-erm .tvx-cap .s{color:#bfeedb!important}
html body .risk-features .tvx-erm .tvx-rail i::before{background:rgba(127,227,180,.22)!important}
html body .risk-features .tvx-erm .tvx-rail i b{background:linear-gradient(90deg,#7FE3B4,#F2CF6B)!important;box-shadow:0 0 10px rgba(127,227,180,.7)}
html body .risk-features .tvx-erm .tvx-rail em{color:#cdf5e4!important}
html body .risk-features .tvx-erm .tvx-rail i.on em{color:#7FE3B4!important}

@media(prefers-reduced-motion:reduce){html body .risk-features .tvx-erm .tvx-scene::after,html body .risk-features .tvx-erm .e-thr{animation:none!important}}
html.tv-g body .tvx .tvx-card h4{color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important}
html.tv-g body .tvx .tvx-card h4 small{color:#a9ecd0!important;-webkit-text-fill-color:#a9ecd0!important}
