/* MIRA shared visualisation kit — styles for demos/shared/viz.js (light professional theme). Additive only. */
.vz { display: block; max-width: 100%; overflow: visible; font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; }
.vz text { font-family: inherit; }
.vz .ax { font-size: 10.5px; fill: #667085; font-weight: 500; font-variant-numeric: tabular-nums; }
.vz .ax.at { fill: #667085; font-size: 10px; letter-spacing: .02em; }
.vz .lb { font-size: 12px; fill: #344054; font-weight: 600; }
.vz .lb.sm { font-size: 11px; }
.vz .lb.hot { fill: #B42318; }
.vz .vl { font-size: 11.5px; fill: #101828; font-weight: 600; font-variant-numeric: tabular-nums; }
.vz .u { fill: #667085; font-weight: 500; font-size: .9em; }
.vz .cv { font-size: 10.5px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
.vz .pl { font-size: 10.5px; fill: #344054; font-weight: 600; pointer-events: none; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.vz .gl { stroke: #EAECF0; stroke-width: 1; }
.vz .gl2 { font-size: 10px; fill: #fff; font-weight: 600; pointer-events: none; }
.vz .nw { font-size: 9.5px; fill: #fff; font-weight: 700; }
.vz .rc { font-size: 22px; font-weight: 700; fill: #101828; font-variant-numeric: tabular-nums; }
.vz .rc.sm { font-size: 17px; }
.vz .tl { font-size: 11.5px; font-weight: 600; pointer-events: none; }
.vz .tv { font-size: 11px; font-weight: 500; opacity: .85; pointer-events: none; font-variant-numeric: tabular-nums; }
.vz .dvv { font-size: 17px; font-weight: 700; fill: #101828; font-variant-numeric: tabular-nums; }
.vz .rl { font-size: 10.5px; fill: #475467; font-weight: 600; }
.vz [data-tip] { cursor: default; transition: opacity .15s, filter .15s; }
.vz rect[data-tip]:hover, .vz circle[data-tip]:hover, .vz path[data-tip]:hover { filter: brightness(.92); }
.vz .sk[data-tip]:hover { stroke-opacity: .5; }
.vz .hc[data-tip]:hover { fill: rgba(104, 1, 102, .05); }
.vz-heat rect[data-tip]:hover { stroke: #101828; stroke-width: 1.4; }
.vz .lvp { animation: vzPulse 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes vzPulse { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
.vz .wfb, .vz .hb, .vz .fn { animation: vzGrow .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0ms); transform-box: fill-box; }
.vz .wfb, .vz .fn { transform-origin: bottom; }
.vz .hb { transform-origin: left; animation-name: vzGrowX; }
.vz .rg { transition: stroke-dasharray .8s cubic-bezier(.2, .8, .2, 1); }
@keyframes vzGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes vzGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vz .rp { animation: vzFade .8s ease both; }
@keyframes vzFade { from { opacity: 0; } to { opacity: 1; } }
.vz-host { min-width: 0; position: relative; }
.vz-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font: 500 11.5px/1.3 "Manrope", system-ui, sans-serif; color: #475467; }
.vz-legend span { display: inline-flex; align-items: center; gap: 6px; }
.vz-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.vz-tip { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .12s; max-width: 260px; background: #fff; color: #101828; border: 1px solid #E4E7EC; border-radius: 10px; box-shadow: 0 12px 28px -8px rgba(16, 24, 40, .22), 0 2px 6px rgba(16, 24, 40, .06); padding: 8px 11px; font: 500 12px/1.45 "Manrope", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.vz-tip.on { opacity: 1; }
.vz-tip b { display: block; font-weight: 700; font-size: 12px; margin-bottom: 2px; }
.vz-tip em { font-style: normal; color: #B42318; font-weight: 600; }
.vz-tip .r { display: flex; align-items: center; gap: 6px; }
.vz-tip .r i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.vz-tip .r em { margin-left: auto; padding-left: 12px; color: #101828; }
.vz-tip .r.tot { border-top: 1px solid #EAECF0; margin-top: 3px; padding-top: 3px; font-weight: 700; }
.vz-mult { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--mw, 150px), 1fr)); gap: 10px; }
.vz-m { border: 1px solid #E4E7EC; border-radius: 10px; padding: 9px 10px 8px; background: #fff; min-width: 0; }
.vz-m.hot { border-color: rgba(217, 45, 32, .45); background: #FFFBFA; }
.vz-m .mh { display: flex; justify-content: space-between; gap: 6px; font: 600 12px/1.2 "Manrope", system-ui, sans-serif; margin-bottom: 4px; }
.vz-m .mh span { color: #475467; font-weight: 600; font-variant-numeric: tabular-nums; }
.vz-m.hot .mh span { color: #B42318; }
.vz-m svg { width: 100%; height: auto; }
.vz-m small { display: block; font: 500 11px/1.3 "Manrope", system-ui, sans-serif; color: #667085; margin-top: 3px; }
.vz-sb, .vz-sl { display: inline-block; vertical-align: middle; }
/* layout helpers used by demo pages */
.vz-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.vz-note { font: 500 12px/1.45 "Manrope", system-ui, sans-serif; color: #475467; margin-top: 10px; }
.vz-note b { color: #101828; }
.vz-dials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; justify-items: center; }
.vz-dials > span { display: block; width: 100%; max-width: 150px; }
.vz-dials svg { width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .vz *, .vz { animation: none !important; transition: none !important; } }
