/* v0.4.05: content-only, no geometry or independent layout engine. */
#analyticsView .re405-google-focus,#businessOutcomesView .re405-commerce-focus{min-width:0;max-width:100%;box-sizing:border-box;padding:12px 2px 8px;overflow:hidden}
#analyticsView .re405-google-focus[hidden],#businessOutcomesView .re405-commerce-focus[hidden]{display:none!important}
#analyticsView .analytics-chart-gallery[hidden]{display:none!important}
.re405-google-focus svg{display:block;width:100%;height:auto;max-width:100%;min-width:0;max-height:290px}
.re405-title{font-size:14px;font-weight:600;line-height:1.45;margin:0 0 10px;color:inherit}
.re405-note{font-size:12px;line-height:1.5;margin:8px 0;color:inherit;opacity:.77}
.re405-value{display:block;font-size:clamp(18px,2vw,28px);line-height:1.2;margin:0 0 10px;font-weight:700}
.re405-stage-bars,.re405-stage-table{display:grid;gap:6px;min-width:0}
.re405-stage{display:grid;grid-template-columns:minmax(90px,1fr) minmax(48px,auto);gap:10px;align-items:center;padding:5px 7px;border-radius:6px}
.re405-stage-bars .re405-stage{grid-template-columns:minmax(90px,1.25fr) minmax(55px,2.5fr) minmax(48px,auto)}
.re405-stage-name{min-width:0;overflow-wrap:anywhere;font-size:12px}
.re405-stage-value{text-align:right;font-size:13px;font-variant-numeric:tabular-nums}
.re405-bar-track{display:block;min-width:0;height:9px;border-radius:5px;background:rgba(121,161,180,.17);overflow:hidden}
.re405-bar-fill{display:block;height:100%;background:#08a7d4;border-radius:5px;max-width:100%}
.re405-selected{background:rgba(11,165,213,.13);outline:1px solid rgba(11,165,213,.32)}
/* The selected event is represented once in the focused graphic; existing
   limitations, evidence text, suggestions and source controls remain visible. */
#businessOutcomesView .re405-commerce-configured #commerceEvidence>.business-metrics{display:none}
@media(max-width:640px){.re405-stage-bars .re405-stage{grid-template-columns:minmax(75px,1fr) minmax(38px,1fr) minmax(32px,auto);gap:6px}.re405-stage-name{font-size:11px}}

/* A focused metric replaces the four original chart tiles and the six-card KPI
   wall. Original cards stay in the DOM and return unchanged in All mode. */
#analyticsView .re405-google-active .google-metrics {display:none!important}
#analyticsView .re405-google-active .re405-google-focus{padding:8px 0 0!important}
#analyticsView .re405-google-active .re405-google-focus svg{max-height:235px}
