/* One data hierarchy across products, independent of business-data language. */
:root{--viz-ink:#20354d;--viz-muted:#52647a;--viz-line:#dce4ec;--viz-surface:#fff;--viz-canvas:#f5f7fa;--viz-accent:#2374ab}
:where([data-ai-viewer],[data-dashboard-runtime],.smart-dashboard-catalog,.crm-dashboard,.crm-reports){font-variant-numeric:tabular-nums}
:where([data-ai-viewer],[data-dashboard-runtime],.smart-dashboard-catalog,.crm-dashboard,.crm-reports) :focus-visible{outline:2px solid var(--viz-accent);outline-offset:3px}
:where([data-ai-viewer],[data-dashboard-runtime]) ::selection{background:#cbe4f5;color:#15364c}
.ai-dashboard-surface .dashboard-viewer,[data-dashboard-runtime]{padding:18px;border-radius:14px;background:var(--dashboard-canvas,var(--viz-canvas))}
.ai-dashboard-surface .dashboard-viewer-head,[data-dashboard-runtime] .bi-page-head{gap:16px;padding:0 0 18px;margin:0 0 18px;border:0;border-bottom:1px solid var(--dashboard-border,var(--viz-line));border-radius:0;background:transparent;box-shadow:none}
.ai-dashboard-surface .dashboard-viewer-head h1,[data-dashboard-runtime] h1{font-size:1.25rem;line-height:1.6}
.ai-dashboard-surface .dashboard-viewer-head p,[data-dashboard-runtime] .bi-page-head p{margin-block-start:4px;font-size:.75rem;color:var(--dashboard-muted,var(--viz-muted))}
.ai-dashboard-surface .dashboard-head-actions{gap:6px}
.ai-dashboard-surface .dashboard-head-actions button,.ai-dashboard-surface .dashboard-head-link{min-height:36px;padding:7px 10px;font-size:.75rem}
.ai-dashboard-surface .dashboard-view-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:auto;grid-auto-flow:row;gap:16px;align-items:stretch;direction:inherit}
.ai-dashboard-surface .dashboard-view-widget{display:flex;flex-direction:column;grid-column:span 6!important;grid-row:auto!important;min-height:326px;border:1px solid var(--dashboard-border,var(--viz-line));border-radius:14px;box-shadow:none;direction:inherit;overflow:visible}
.ai-dashboard-surface .dashboard-view-widget.widget-kpi{grid-column:span 3!important;min-height:160px}
.ai-dashboard-surface .dashboard-view-widget.widget-table{min-height:370px}
.ai-dashboard-surface .dashboard-view-widget>header{min-height:48px;height:auto;padding:12px 16px 8px;border:0;background:transparent;direction:inherit}
.ai-dashboard-surface .dashboard-view-widget>header strong{white-space:normal;overflow-wrap:anywhere;font-size:.8125rem;line-height:1.7}
.ai-dashboard-surface .dashboard-widget-body{flex:1;height:auto;min-height:0;border-end-start-radius:14px;border-end-end-radius:14px;overflow:hidden}
.ai-dashboard-surface .ai-widget-result{min-height:270px}
.ai-dashboard-surface .widget-kpi .ai-widget-result{min-height:100px}
.ai-dashboard-surface .widget-table .ai-widget-result{height:320px}
.ai-dashboard-surface .ai-widget-visual{padding:8px 16px 12px}
.ai-dashboard-surface .ai-chart-stack{min-height:220px}
.ai-dashboard-surface .ai-chart{min-height:210px}
.ai-dashboard-surface .ai-chart-panel{min-width:0;gap:6px}
.ai-dashboard-surface .ai-chart-unit{font-size:.6875rem}
.ai-dashboard-surface .ai-widget-meta{min-height:34px;gap:12px;padding:8px 16px;font-size:.625rem;line-height:1.6}
.ai-dashboard-surface .ai-widget-meta>span{min-width:0}
.ai-dashboard-surface .ai-widget-meta a{flex-shrink:0;font-size:.6875rem;text-underline-offset:3px}
.ai-dashboard-surface .dashboard-kpi{display:grid;justify-items:start;align-content:center;gap:4px;min-width:0;padding:4px;text-align:start}
.ai-dashboard-surface .dashboard-kpi .dashboard-kpi-value{max-width:100%;color:var(--dashboard-text,var(--viz-ink));font-size:2rem;font-weight:800;line-height:1.5;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
.ai-dashboard-surface .dashboard-kpi .dashboard-kpi-value.viz-long-number{font-size:1.25rem}
.ai-dashboard-surface .dashboard-kpi :is(span,small){font-size:.6875rem;color:var(--dashboard-muted,var(--viz-muted))}
.ai-dashboard-surface .ai-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:8px}
.ai-dashboard-surface .ai-kpi-grid .dashboard-kpi+.dashboard-kpi{border:0}
.ai-dashboard-surface .ai-table-scroll{border:0;border-radius:0}
.ai-dashboard-surface .ai-table-scroll :is(th,td){padding:10px 12px;font-size:.75rem;text-align:start}
.ai-dashboard-surface .ai-table-scroll th{font-weight:700;color:var(--dashboard-muted,var(--viz-muted))}
.ai-dashboard-surface .ai-exact-values{position:static;margin-block-start:8px}
.ai-dashboard-surface .ai-exact-values summary{font-size:.6875rem}
.ai-dashboard-surface .ai-exact-values div{position:static;width:100%;max-height:180px;margin-block-start:6px;box-shadow:none}
.ai-dashboard-surface .ai-exact-values p{font-size:.75rem}
.dashboard-widget-tools{position:relative;flex-shrink:0}
.dashboard-widget-tools>summary{display:grid;width:30px;height:30px;place-items:center;cursor:pointer;list-style:none;color:var(--dashboard-muted,var(--viz-muted));border-radius:6px}
.dashboard-widget-tools>summary::-webkit-details-marker{display:none}
.dashboard-widget-tools[open]>summary,.dashboard-widget-tools>summary:hover{background:var(--viz-canvas)}
.dashboard-widget-tools-panel{position:absolute;z-index:40;inset-inline-end:0;top:calc(100% + 6px);display:flex;flex-wrap:wrap;width:154px;padding:10px;gap:8px;border:1px solid var(--viz-line);border-radius:12px;background:var(--dashboard-surface,var(--viz-surface));box-shadow:0 12px 28px #172b431a}
.ai-dashboard-surface .dashboard-focus-controls{width:auto;margin-inline-start:auto;padding:0;border:0}
.ai-dashboard-surface .dashboard-focus-controls .dashboard-focus-control{min-height:32px;font-size:.6875rem}
.ai-dashboard-surface .dashboard-focus-controls [data-dashboard-focus-zoom],.ai-dashboard-surface .dashboard-focus-controls .dashboard-focus-control:has(.bi-zoom-in),.ai-dashboard-surface .dashboard-focus-controls .dashboard-focus-control:has(.bi-zoom-out),.ai-dashboard-surface .dashboard-focus-controls .dashboard-focus-control:has(.bi-arrow-counterclockwise){display:none}
.ai-dashboard-surface .dashboard-filter-compact{border-radius:12px;box-shadow:none;margin-block-end:16px}
.ai-dashboard-surface .dashboard-filter-toggle strong{font-size:.75rem}
.ai-dashboard-surface .dashboard-filter-toggle small{font-size:.6875rem}
.smart-dashboard-catalog{padding-block:8px}
.smart-dashboard-catalog .smart-catalog-head{border:0;border-bottom:1px solid var(--viz-line);border-radius:0;box-shadow:none;background:transparent;padding:8px 0 20px}
.smart-dashboard-catalog .smart-catalog-head>div>span{display:none}
.smart-dashboard-catalog .smart-catalog-head h1{font-size:1.25rem}
.smart-dashboard-catalog .smart-catalog-toolbar{margin-block:20px;padding:12px 16px;border:1px solid var(--viz-line);border-radius:12px;box-shadow:none}
.smart-dashboard-catalog .smart-catalog-toolbar input{font-size:.8125rem}
.smart-dashboard-catalog .smart-dashboard-grid{gap:16px}
.smart-dashboard-catalog .smart-dashboard-card{min-height:220px;border-color:var(--viz-line);border-radius:14px;box-shadow:none}
.smart-dashboard-catalog .smart-dashboard-card:hover{transform:none;border-color:var(--viz-accent);box-shadow:none}
.smart-dashboard-catalog .smart-dashboard-icon{width:32px;height:32px;border-radius:8px;font-size:1rem}
.smart-dashboard-catalog .smart-dashboard-copy h2{font-size:1rem;line-height:1.6}
.smart-dashboard-catalog .smart-dashboard-copy p{color:var(--viz-muted);font-size:.75rem;line-height:1.8}
.smart-dashboard-catalog .smart-dashboard-meta span{font-size:.6875rem;background:transparent;padding:0}
.smart-dashboard-catalog .smart-dashboard-card>footer a{font-size:.75rem}
:where(.crm-dashboard,.crm-reports) .metrics{gap:0;padding:16px 0;border-block:1px solid var(--viz-line);background:var(--viz-surface)}
:where(.crm-dashboard,.crm-reports) .metrics>article{min-width:0;padding:4px 18px;border:0;border-inline-end:1px solid var(--viz-line);border-radius:0;box-shadow:none;background:transparent}
:where(.crm-dashboard,.crm-reports) .metrics>article:last-child{border:0}
:where(.crm-dashboard,.crm-reports) .metrics>article>b{font-size:1.5rem;overflow-wrap:anywhere;white-space:normal;line-height:1.6}
:where(.crm-dashboard,.crm-reports) .metrics>article>b.viz-long-number{font-size:1.125rem}
:where(.crm-dashboard,.crm-reports) .metrics :is(span,small){color:var(--viz-muted);font-size:.75rem}
:where(.live-kpi-grid,.module-kpis) .live-kpi{box-shadow:none}
:where(.live-kpi-grid,.module-kpis) .live-kpi strong{font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}
:where(.live-kpi-grid,.module-kpis) .live-kpi strong.viz-long-number{font-size:1.25rem}
[data-dashboard-runtime] .runtime-card{border-color:var(--viz-line);border-radius:14px;box-shadow:none}
[data-dashboard-runtime] .runtime-card>header{min-height:48px;padding:12px 16px}
[data-dashboard-runtime] .runtime-card .visual-body{padding:12px 16px}
[data-dashboard-runtime] .runtime-card .visual-kpi{font-size:2rem;overflow-wrap:anywhere}
[data-dashboard-runtime] .runtime-card .visual-kpi.viz-long-number{font-size:1.25rem}
.viz-data-details{margin-block-start:12px}
.viz-data-details>summary{cursor:pointer;font-size:.75rem;color:var(--viz-accent)}
.viz-data-details .as-table-scroll{max-height:300px}
@media(max-width:1100px){.ai-dashboard-surface .dashboard-view-widget.widget-kpi{grid-column:span 6!important}}
@media(max-width:760px){.ai-dashboard-surface .dashboard-viewer,[data-dashboard-runtime]{padding:12px}.ai-dashboard-surface .dashboard-view-grid{grid-template-columns:1fr;gap:12px}.ai-dashboard-surface .dashboard-view-widget,.ai-dashboard-surface .dashboard-view-widget.widget-kpi{grid-column:1!important;min-height:310px}.ai-dashboard-surface .dashboard-view-widget.widget-kpi{min-height:150px}.ai-dashboard-surface .dashboard-head-actions{width:100%;justify-content:start}.ai-dashboard-surface .dashboard-head-actions span{display:inline}.ai-dashboard-surface .dashboard-focus-controls{flex-wrap:wrap;margin:0}:where(.crm-dashboard,.crm-reports) .metrics{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}:where(.crm-dashboard,.crm-reports) .metrics>article:nth-child(2n){border:0}.smart-dashboard-catalog .smart-dashboard-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.dashboard-widget-skeleton span{animation:none}}
@media print{.ai-dashboard-surface .dashboard-view-widget{break-inside:avoid;min-height:270px;border:1px solid #cbd5df;box-shadow:none}.ai-dashboard-surface .dashboard-view-grid{gap:12px}.dashboard-widget-tools{display:none}}
.ai-dashboard-surface .dashboard-kpi-band{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:16px;margin-block-end:16px}
.ai-dashboard-surface .dashboard-kpi-band .dashboard-view-widget.widget-kpi{grid-column:auto!important;grid-row:auto!important;min-height:160px}
.ai-dashboard-surface .ai-chart-panel{grid-template-rows:auto minmax(210px,1fr) auto}
.ai-dashboard-surface .dashboard-view-widget.widget-chart .ai-widget-result{height:100%;min-height:280px}
.ai-dashboard-surface .ai-widget-meta>span{overflow-wrap:anywhere}
.ai-dashboard-surface .dashboard-widget-tools-panel :is(a,button){width:34px;height:34px}
@media(max-width:760px){.ai-dashboard-surface .dashboard-kpi-band{gap:12px}.ai-dashboard-surface .dashboard-kpi-band .dashboard-view-widget.widget-kpi{min-height:150px}}
.crm-chart-panel{margin-block:20px;border:1px solid var(--viz-line);border-radius:14px;box-shadow:none}
.crm-chart-panel>header{padding:16px 20px;border:0}
.crm-chart-panel h2{margin:0;font-size:1rem;line-height:1.6}
.crm-report-chart{position:relative;height:290px;margin:0 20px 20px;direction:ltr}
.crm-reports .report-breakdown{box-shadow:none}
@media(max-width:760px){.crm-report-chart{margin-inline:12px;height:270px}}
.ai-dashboard-surface .dashboard-kpi-band .ai-widget-result{height:auto;min-height:105px}
.ai-dashboard-surface .dashboard-kpi-band .ai-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(min(125px,100%),1fr));align-items:center}
.ai-dashboard-surface .dashboard-kpi-band .dashboard-kpi{height:auto;min-height:78px;gap:0}
.ai-dashboard-surface .dashboard-kpi-band .dashboard-kpi-value{text-align:start;font-size:1.75rem}
.ai-dashboard-surface .dashboard-kpi-band .dashboard-kpi small{margin:0}
.ai-dashboard-surface .dashboard-kpi-band .dashboard-widget-body{display:flex;align-items:stretch}
.ai-dashboard-surface .dashboard-kpi-band .ai-widget-result{flex:1}
.ai-dashboard-surface .dashboard-kpi-band .ai-widget-meta{margin-block-start:auto}
.ai-dashboard-surface .ai-exact-values[open]{padding-block-end:6px}
/* The same inspector settings render in editor, runtime and capture. */
.viz-engine{display:flex;flex-wrap:wrap;gap:12px;overflow:auto;min-height:0;color:var(--dashboard-text,var(--viz-ink));font-variant-numeric:tabular-nums}
.viz-engine-panel{flex:1 1 240px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;min-width:0;min-height:0;margin:0}
.viz-engine-plot{position:relative;min-width:0;min-height:180px;overflow:auto}
.viz-engine-plot>canvas{width:100%!important;height:100%!important;max-height:340px}
.viz-engine-plot>svg{display:block;width:100%;min-height:180px;max-height:340px;font-family:inherit}
.viz-unit{color:var(--dashboard-muted,var(--viz-muted));font-size:.6875rem}
.viz-data-scroll{max-height:260px;overflow:auto}
.viz-data-scroll table,.viz-heatmap{width:100%;border-collapse:collapse;font-size:.75rem}
.viz-data-scroll :is(td,th),.viz-heatmap :is(td,th){padding:8px 10px;text-align:start;border-bottom:1px solid var(--viz-line);white-space:nowrap}
.viz-guidance{padding:16px;font-size:.8125rem;line-height:1.8;color:var(--viz-muted)}
.viz-gauge{max-width:360px;margin:auto;text-align:center}
.viz-gauge>strong{display:block;font-size:1.75rem;overflow-wrap:anywhere}
.viz-gauge>svg{display:block;width:100%;max-height:200px}
.viz-gauge-scale{display:flex;justify-content:space-between;font-size:.75rem;direction:ltr}
.viz-engine-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:16px;min-height:110px;align-content:center}
.viz-engine-kpi{display:grid;align-content:center;gap:6px}
.viz-engine-kpi>strong{font-size:1.75rem;white-space:normal;overflow-wrap:anywhere}
.viz-engine-kpi :is(span,small){font-size:.75rem;color:var(--viz-muted)}
.bi-designer .visual-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.bi-designer .visual-library button{min-width:0;min-height:62px;padding:8px 4px;font-size:.6875rem}
.bi-designer .inspector-panel label.viz-option{display:flex;align-items:center;gap:8px;line-height:1.6;margin-block:10px;font-size:.75rem}
.bi-designer .inspector-panel .viz-option input{width:16px;min-height:16px;flex:0 0 16px;margin:0;accent-color:var(--viz-accent)}
.bi-designer .inspector-panel>label{font-size:.75rem;line-height:1.7}
.bi-designer .inspector-panel>label>:is(input,select){min-height:36px;font-size:.8125rem}
.bi-designer .viz-target-settings{margin-block:12px;border-block:1px solid var(--viz-line);padding:10px 0}
.bi-designer .viz-target-settings summary{cursor:pointer;font-size:.8125rem;font-weight:700}
.bi-designer .designer-visual .visual-body.viz-engine{height:calc(100% - 42px);padding:12px;overflow:auto}
.crm-dashboard .metrics,.crm-reports .metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:0;padding:16px 0;border-block:1px solid var(--viz-line);background:var(--viz-surface)}
.crm-dashboard .metrics>article,.crm-reports .metrics>article{border:0;border-inline-end:1px solid var(--viz-line);border-radius:0;box-shadow:none;background:transparent}
.crm-dashboard .metrics>article::before,.crm-reports .metrics>article::before{display:none}
@media(max-width:760px){.crm-dashboard .metrics,.crm-reports .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 0}.crm-dashboard .metrics>article,.crm-reports .metrics>article{padding:4px 12px}.crm-dashboard .metrics>article:nth-child(2n),.crm-reports .metrics>article:nth-child(2n){border:0}}
.viz-tall-plot{max-height:340px;overflow:auto}
.viz-heatmap th{position:sticky;inset-inline-start:0;background:var(--viz-surface);z-index:1}
.viz-heatmap td{color:#172b43}
.dashboard-widget-tools-panel{max-width:calc(100vw - 40px)}
@media(max-width:760px){.bi-designer .designer-shell{display:flex;flex-direction:column}.bi-designer .designer-library,.bi-designer .designer-inspector{width:100%;max-height:none}.bi-designer .visual-library{grid-template-columns:repeat(4,minmax(0,1fr))}.bi-designer .designer-canvas{width:100%;min-height:450px}}

/* Bounded geometry: chart contents never determine the size of a saved grid cell. */
[data-dashboard-runtime] .runtime-grid{direction:ltr;align-items:stretch;grid-auto-rows:76px;gap:12px}
[data-dashboard-runtime] .runtime-card{min-width:0;min-height:0;direction:inherit}
[data-dashboard-runtime] .runtime-card>header{flex:0 0 auto;min-height:42px;height:auto;padding:10px 14px;direction:var(--viz-direction,rtl)}
[data-dashboard-runtime] .runtime-card>header strong{white-space:normal;overflow-wrap:anywhere;line-height:1.6}
[data-dashboard-runtime] .runtime-card .visual-body.viz-engine,.bi-designer .designer-visual .visual-body.viz-engine{display:flex;align-items:stretch;justify-content:stretch;place-items:initial;min-width:0;min-height:0;flex:1;padding:12px;direction:var(--viz-direction,rtl)}
[dir="ltr"]{--viz-direction:ltr}
[dir="rtl"]{--viz-direction:rtl}
.viz-engine-panel{display:flex;flex-direction:column;flex:1 1 220px;align-items:stretch;min-width:0;min-height:0}
.viz-engine-plot{flex:1 1 auto;min-height:140px;width:100%;height:220px;max-height:340px}
.viz-engine[data-viz-type="kpi"] .viz-engine-plot{height:auto;min-height:60px}
.viz-engine-kpis{min-height:60px}
.viz-data-details{flex:0 0 auto;margin-block-start:8px}
.viz-engine-plot>canvas{display:block}
.designer-mobile-tools{display:none}
@media(max-width:900px){
 .bi-designer{min-height:650px;height:calc(100dvh - 130px);direction:inherit}
 .bi-designer .studio-toolbar{height:auto;min-height:58px;flex-wrap:wrap;padding:8px;gap:8px}
 .bi-designer .studio-tools{flex-wrap:wrap;gap:4px}
 .bi-designer .studio-tools button{min-width:34px;min-height:34px}
 .bi-designer .designer-shell{display:block;height:calc(100% - 165px);overflow:auto}
 .bi-designer .designer-mobile-tools{display:flex;gap:4px;padding:8px;background:#fff;border-bottom:1px solid var(--viz-line)}
 .designer-mobile-tools button{flex:1;border:1px solid var(--viz-line);border-radius:7px;padding:8px 4px;background:#fff;color:var(--viz-ink);font:inherit;font-size:.6875rem}
 .bi-designer .designer-canvas,.bi-designer .designer-library,.bi-designer .designer-inspector{display:none;width:100%;height:auto;max-height:none}
 .bi-designer[data-mobile-panel="canvas"] .designer-canvas,.bi-designer[data-mobile-panel="library"] .designer-library,.bi-designer[data-mobile-panel="inspector"] .designer-inspector{display:block}
 .bi-designer .designer-canvas{padding:8px;min-height:450px}
 .bi-designer .visual-library{grid-template-columns:repeat(4,minmax(0,1fr))}
 .bi-designer .canvas-head{padding:0 8px}
 .bi-designer .canvas-head span{font-size:.6875rem}
 .bi-designer .designer-visual header strong{font-size:.75rem}
 .bi-designer .designer-visual header .visual-type-badge{font-size:.625rem}
}

.crm-dashboard .metrics>article>b,.crm-reports .metrics>article>b{display:block;min-width:0;max-width:100%;white-space:nowrap;overflow-wrap:normal;overflow-x:auto;scrollbar-width:thin;font-variant-numeric:tabular-nums}
.crm-dashboard .metrics>article>b.viz-long-number,.crm-reports .metrics>article>b.viz-long-number{font-size:1rem}
.viz-gauge>small{display:block;margin-block:4px}

/* Curated operational dashboards: compact summaries, then comparisons and exceptions. */
.curated-dashboard .bi-page-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:20px;margin-bottom:22px}
.curated-dashboard .bi-page-head h1{font-size:1.5rem;font-weight:800;margin:0}
.curated-dashboard .bi-page-head .bi-eyebrow{display:none}
.curated-dashboard .runtime-grid{gap:16px;grid-auto-rows:72px}
.curated-dashboard .runtime-card{border-radius:12px;border-color:#dce4ec;background:#fff}
.curated-dashboard .runtime-card>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:14px 16px 8px;border:0;min-height:54px;text-align:start}
.curated-dashboard .runtime-card>header>strong{font-size:.875rem;color:var(--viz-ink);font-weight:800;line-height:1.5}
.curated-dashboard .runtime-card>header>span{font-size:.625rem;color:var(--viz-muted);white-space:nowrap}
.runtime-caption{grid-column:1/-1;margin:0;font-size:.6875rem;line-height:1.6;color:var(--viz-muted)}
.curated-dashboard .runtime-card .visual-body.viz-engine{padding:4px 16px 12px}
.curated-dashboard .runtime-card .viz-engine-plot{height:auto;min-height:130px;max-height:none}
.curated-dashboard .runtime-card .viz-engine-plot>canvas{max-height:none}
.curated-dashboard .runtime-kpi-card .visual-body.viz-engine{align-content:center;padding-block:0 12px}
.curated-dashboard .runtime-kpi-card .viz-engine-panel{flex:1 1 100%;gap:0}
.curated-dashboard .runtime-kpi-card .viz-unit{order:1;font-size:.6875rem;margin:0}
.curated-dashboard .runtime-kpi-card .viz-engine-plot{min-height:40px;overflow:visible}
.curated-dashboard .runtime-kpi-card .viz-engine-kpi>strong{font-size:1.875rem;line-height:1.25;color:#174d74;letter-spacing:0}
.curated-dashboard .runtime-kpi-card .viz-engine-kpis{min-height:40px;gap:8px}
.curated-dashboard .runtime-kpi-card .viz-data-details{margin:0;font-size:.625rem}
.curated-dashboard .runtime-card:not(.runtime-kpi-card) .viz-unit{font-size:.6875rem}
.curated-dashboard .runtime-card .visual-body>table{align-self:start;font-size:.75rem;white-space:nowrap}
.curated-dashboard .runtime-card .visual-body>table :is(td,th){padding:10px 12px;text-align:start}
.curated-dashboard .runtime-card .visual-body>table th{background:#f5f7fa;position:sticky;top:0}
@media(max-width:760px){.curated-dashboard .bi-page-head{display:block}.curated-dashboard .bi-page-head h1{font-size:1.25rem}.curated-dashboard .bi-head-actions{display:flex;flex-wrap:wrap;gap:6px}.curated-dashboard .bi-head-actions .bi-btn{font-size:.6875rem;padding:8px}.curated-dashboard .runtime-card>header{padding:12px 14px 6px}.curated-dashboard .runtime-kpi-card .viz-engine-kpi>strong{font-size:1.75rem}}

.viz-warnings{flex:0 0 100%;font-size:.6875rem;line-height:1.7;color:#755016;max-height:100px;overflow:auto}
.viz-warnings>summary{cursor:pointer;width:max-content;max-width:100%;padding:2px 0}
.viz-warnings>p{margin:4px 0}
.curated-dashboard .runtime-card .visual-body.viz-engine{flex:1 1 0;height:0;align-content:start}
.curated-dashboard .runtime-card .viz-engine-panel{height:100%;max-height:100%;min-height:0;overflow:hidden}
.curated-dashboard .runtime-card .viz-has-warnings>.viz-engine-panel{height:calc(100% - 26px)}
.curated-dashboard .runtime-card .viz-engine-plot{flex:1 1 0;min-height:0;height:0;overflow:hidden}
.curated-dashboard .runtime-kpi-card .viz-engine-plot{height:auto;flex:1 1 auto;min-height:35px;overflow:visible}
.curated-dashboard .bi-page-head{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.curated-dashboard .bi-page-head>div:first-child{flex:1 1 230px}
.curated-dashboard .bi-page-head .bi-head-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:end;margin:0}
.curated-dashboard .bi-page-head .bi-head-actions .bi-btn{font-size:.75rem;padding:9px 12px;min-height:36px}
.curated-dashboard .dashboard-focus-controls{flex:0 0 100%;width:100%;padding:0;border:0;justify-content:end;gap:6px}
.curated-dashboard .dashboard-focus-controls [data-dashboard-focus-zoom],.curated-dashboard .dashboard-focus-controls button:has(.bi-zoom-in),.curated-dashboard .dashboard-focus-controls button:has(.bi-zoom-out),.curated-dashboard .dashboard-focus-controls button:has(.bi-arrow-counterclockwise){display:none}
.curated-dashboard .runtime-card .viz-data-details{flex:0 0 auto}
@media(max-width:760px){.curated-dashboard .bi-page-head>div:first-child{flex-basis:100%}.curated-dashboard .bi-page-head .bi-head-actions{justify-content:start}}

.crm-insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-block:20px}
.crm-insight-card{display:flex;flex-direction:column;min-width:0;height:360px;background:var(--viz-surface);border:1px solid var(--viz-line);border-radius:12px;overflow:hidden}
.crm-insight-card>header{padding:16px 18px 8px}
.crm-insight-card h2{margin:0;font-size:.9375rem;color:var(--viz-ink);line-height:1.6}
.crm-insight-card header p{margin:4px 0 0;font-size:.75rem;line-height:1.7;color:var(--viz-muted)}
.crm-insight-body{flex:1 1 0;height:0;min-height:0;padding:4px 18px 14px;overflow:auto}
.crm-insight-body .viz-engine-panel{height:100%;min-height:0}
.crm-insight-body .viz-engine-plot{flex:1 1 0;min-height:0;height:0;overflow:hidden}
@media(max-width:760px){.crm-insight-grid{grid-template-columns:1fr}.crm-insight-card{height:350px}}

.crm-insight-grid>.crm-insight-card:last-child:nth-child(odd){grid-column:1/-1;height:280px}
@media(max-width:760px){.crm-insight-grid>.crm-insight-card:last-child:nth-child(odd){height:330px}}
