/* New rules only, for the analysis-evolution tab. The base visual system lives in index.html's inline style; nothing here redefines it. */
.evo-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0}
.evo-rail svg{min-width:0;width:100%;height:auto}
@media(max-width:900px){.evo-cards{grid-template-columns:1fr}}

/* Narrow-viewport containment. Measured at 375px: the base inline style already collapses
   .layout to one column below 900px, but the grid item's default min-width:auto let the
   single 800px unbreakable GRID_KEYS <code> in EV1 (#e-v1-hash) set main's min-content,
   pushing the document to scrollWidth 825. These scoped rules contain that leak while
   leaving desktop (1440px) marks identical. */
#tab-evolution main{min-width:0;max-width:100%}
#tab-evolution pre,#tab-evolution code{white-space:pre-wrap;overflow-wrap:anywhere}
#tab-evolution .tablewrap{overflow-x:auto;max-width:100%;min-width:0}
