﻿/* Minimal CSS: layout is controlled in JS. Only non-layout styling here. */
.bargraphobject {
    width: 100%;
    height: 100%;
    min-height: 120px;
}

.bargraph-tooltip {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    padding: 8px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.bargraph-tooltip-category {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 4px;
}

.bargraph-tooltip-series {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95em;
}

.bargraph-tooltip-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    flex-shrink: 0;
}

.bargraph-legend-swatch {
    border-radius: 2px;
    flex-shrink: 0;
}
