.vira-engine{--ve-ink:#15372d;--ve-green:#2f7155;--ve-lime:#dff36b;--ve-soft:#f4f8f4;--ve-line:#cedbd3;min-height:420px;color:var(--ve-ink);font-family:"Space Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif}
.ve-welcome,.ve-result{min-height:420px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(24px,6vw,64px);border-radius:24px;background:radial-gradient(circle at 88% 18%,rgba(223,243,107,.7),transparent 24%),linear-gradient(135deg,#eff8f1,#fff)}
.ve-welcome>span,.ve-result>span,.ve-label{font-size:.78rem;font-weight:900;letter-spacing:.12em;color:var(--ve-green)}.ve-welcome h2,.ve-result h2,.ve-stage h2{font-size:clamp(1.8rem,5vw,3.2rem);line-height:1.05;letter-spacing:-.04em;margin:12px 0}.ve-welcome p,.ve-result p,.ve-stage p{max-width:700px;font-size:1.05rem;line-height:1.6;color:#486158}
.ve-primary,.ve-next,.ve-options button,.ve-result a{min-height:52px;border:0;border-radius:14px;padding:13px 20px;font:inherit;font-weight:850;cursor:pointer}.ve-primary,.ve-next{background:var(--ve-ink);color:#fff}.ve-primary:hover,.ve-next:hover{background:#265b48}.ve-top{display:flex;align-items:center;gap:18px;margin:0 0 22px;font-weight:800}.ve-top>div{height:9px;flex:1;overflow:hidden;border-radius:999px;background:#e4ebe6}.ve-top i,.ve-score i{display:block;height:100%;border-radius:inherit;background:var(--ve-green);transition:width .25s ease}
.ve-stage{min-height:330px;padding:clamp(22px,5vw,48px);border:1px solid var(--ve-line);border-radius:24px;background:#fff}.ve-study{margin:20px 0;padding:clamp(22px,4vw,38px);border-radius:20px;background:var(--ve-ink);color:#fff;font-size:clamp(1.2rem,4vw,2rem);font-weight:800;line-height:1.5;text-align:center}.ve-visual{margin:0 0 24px;padding:24px;border-radius:18px;background:#eef5f0;font-size:clamp(1.35rem,4vw,2.25rem);font-weight:900;letter-spacing:.24em;line-height:1.8;text-align:center;word-break:break-word}
.ve-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.ve-options button{border:1.5px solid var(--ve-line);background:#fff;color:var(--ve-ink);text-align:left;transition:transform .15s,border-color .15s,background .15s}.ve-options button:hover:not(:disabled){transform:translateY(-2px);border-color:var(--ve-green);background:#f7fbf8}.ve-options button.is-correct{border-color:#278353;background:#e6f6eb;color:#155e38}.ve-options button.is-wrong{border-color:#b84a4a;background:#fff0f0;color:#842d2d}.ve-options button:disabled{cursor:default}
.ve-feedback{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px}.ve-feedback strong{font-size:1rem}.ve-result>div:last-child{display:flex;gap:12px;flex-wrap:wrap}.ve-result a{display:inline-flex;align-items:center;background:#fff;color:var(--ve-ink);border:1px solid var(--ve-line)}.ve-score{width:min(520px,100%);height:14px;margin:8px 0 12px;border-radius:999px;background:#dce7df;overflow:hidden}
.vira-after-activity{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.vira-after-activity a{display:inline-flex;min-height:48px;align-items:center;padding:11px 17px;border:1px solid var(--vira-line);border-radius:999px;color:var(--vira-ink);font-weight:800;background:#fff}.vira-health-note{margin:26px 0 0;padding:18px;border-left:4px solid var(--vira-green);background:#f2f6f3;color:#50655d;font-size:.86rem;line-height:1.55}.vira-kicker{font-size:.78rem;font-weight:900;letter-spacing:.12em;color:var(--vira-green)}
@media(max-width:600px){.vira-engine{min-height:360px}.ve-welcome,.ve-result{min-height:360px;padding:24px 18px}.ve-stage{min-height:300px;padding:22px 16px}.ve-options{grid-template-columns:1fr}.ve-options button{min-height:54px}.ve-feedback{align-items:stretch;flex-direction:column}.ve-next{width:100%}.ve-visual{padding:18px 12px;letter-spacing:.12em}.ve-result>div:last-child,.ve-result .ve-primary,.ve-result a{width:100%;justify-content:center}}
.vira-activity-page.is-engine-complete>.vira-after-activity{display:none}
