/* Chart components for Blazorponents. */
.bp-chart {
  --bp-chart-series-1: var(--bp-accent);
  --bp-chart-series-2: var(--bp-success);
  --bp-chart-series-3: var(--bp-warning);
  --bp-chart-series-4: var(--bp-danger);
  --bp-chart-series-5: var(--bp-info);
  --bp-chart-link: var(--bp-outline-strong);
  --bp-chart-annotation: var(--bp-outline-strong);
  --bp-chart-annotation-band: var(--bp-accent);
  display: grid;
  gap: var(--bp-space-3);
  padding: var(--bp-space-4);
  border: 1px solid var(--bp-outline-muted);
  border-radius: var(--bp-radius-lg);
  background: var(--bp-surface);
  color: var(--bp-ink);
}

.bp-sparkline {
  display: inline-grid;
  gap: var(--bp-space-2);
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.bp-sparkline .bp-chart-plot {
  min-width: 0;
}

.bp-sparkline .bp-chart-empty {
  padding: 0;
  font-size: 0.75rem;
}

.bp-chart-header {
  display: grid;
  gap: 0.2rem;
}

.bp-chart-title {
  font-size: 1rem;
}

.bp-chart-description {
  font-size: 0.9rem;
  color: var(--bp-subtle);
}

.bp-chart-canvas {
  width: 100%;
  height: auto;
  display: block;
}

.bp-chart-plot {
  position: relative;
}

.bp-chart-grid {
  stroke: var(--bp-outline-muted);
  stroke-width: 1;
  fill: none;
}

.bp-chart-axis {
  stroke: var(--bp-outline);
  stroke-width: 1;
}

.bp-chart-baseline {
  stroke: var(--bp-chart-baseline-color, var(--bp-outline-strong));
  stroke-width: 1;
  stroke-dasharray: var(--bp-chart-baseline-dash, 4 3);
}

.bp-chart-crosshair {
  stroke: var(--bp-outline-muted);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  pointer-events: none;
}

.bp-chart-axis-label {
  fill: var(--bp-subtle);
  font-size: 0.7rem;
}

.bp-chart-axis-label-y {
  text-anchor: end;
}

.bp-chart-axis-label-radial {
  fill: var(--bp-muted);
  font-size: 0.65rem;
}

.bp-chart-empty {
  padding: 1rem;
  text-align: center;
  color: var(--bp-subtle);
}

.bp-chart-loading {
  padding: 1rem;
  text-align: center;
  color: var(--bp-subtle);
}

.bp-chart-series {
  --bp-chart-series-color: var(--bp-chart-series-1);
  --bp-chart-series-fill: var(--bp-chart-series-color);
}

.bp-chart-line {
  stroke: var(--bp-chart-series-color);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bp-chart-trendline {
  stroke: var(--bp-chart-series-color);
  fill: none;
  stroke-dasharray: var(--bp-chart-trendline-dash, 4 3);
  stroke-opacity: var(--bp-chart-trendline-opacity, 0.6);
}

.bp-chart-area {
  fill: var(--bp-chart-series-fill);
  fill-opacity: var(--bp-chart-fill-opacity, 0.25);
  stroke: none;
}

.bp-chart-point {
  fill: var(--bp-chart-series-color);
  stroke: var(--bp-surface);
  stroke-width: 1;
  transition: opacity 0.2s ease;
}

.bp-sparkline .bp-chart-point[data-interactive="true"],
.bp-sparkline .bp-chart-bar[data-interactive="true"] {
  cursor: pointer;
}

.bp-sparkline .bp-chart-point[data-interactive="true"]:focus-visible,
.bp-sparkline .bp-chart-bar[data-interactive="true"]:focus-visible {
  outline: none;
  stroke: var(--bp-chart-sparkline-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-sparkline-focus-stroke-width, 2);
}

.bp-line-chart .bp-chart-point[data-interactive="true"] {
  cursor: pointer;
}

.bp-line-chart .bp-chart-point[data-interactive="true"]:focus-visible {
  outline: none;
  stroke: var(--bp-chart-line-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-line-focus-stroke-width, 2);
}

.bp-scatter-plot .bp-chart-point[data-interactive="true"] {
  cursor: pointer;
}

.bp-scatter-plot .bp-chart-point[data-interactive="true"]:focus-visible {
  outline: none;
  stroke: var(--bp-chart-scatter-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-scatter-focus-stroke-width, 2);
}

.bp-chart-marker {
  fill: var(--bp-chart-series-color);
  stroke: var(--bp-surface);
  stroke-width: 1;
  pointer-events: none;
}

.bp-chart-points-hover .bp-chart-point {
  opacity: 0;
}

.bp-chart-points-hover:hover .bp-chart-point,
.bp-chart-points-hover .bp-chart-series:hover .bp-chart-point {
  opacity: 1;
}

.bp-chart-points-hidden .bp-chart-point {
  opacity: 0;
}

.bp-chart-bubble {
  fill: var(--bp-chart-bubble-fill, var(--bp-chart-series-color));
  fill-opacity: var(--bp-chart-bubble-opacity, 0.35);
  stroke: var(--bp-chart-bubble-stroke, var(--bp-chart-series-color));
  stroke-width: var(--bp-chart-bubble-stroke-width, 1);
}

.bp-chart-bubble-label {
  fill: var(--bp-chart-series-color, var(--bp-subtle));
  font-size: 0.7rem;
}

.bp-chart-bar {
  fill: var(--bp-chart-series-color);
  fill-opacity: var(--bp-chart-bar-opacity, 1);
  stroke: var(--bp-chart-bar-stroke, none);
  stroke-width: var(--bp-chart-bar-stroke-width, 0);
}

.bp-bar-chart .bp-chart-bar-hit-target[data-interactive="true"] {
  cursor: pointer;
}

.bp-bar-chart .bp-chart-bar-hit-target[data-interactive="true"]:focus-visible {
  outline: none;
}

.bp-bar-chart .bp-chart-bar-hit-target[data-interactive="true"]:focus-visible .bp-chart-bar {
  stroke: var(--bp-chart-bar-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-bar-focus-stroke-width, 2);
}

.bp-histogram .bp-chart-series[data-interactive="true"] {
  cursor: pointer;
}

.bp-histogram .bp-chart-series[data-interactive="true"]:focus-visible {
  outline: none;
}

.bp-histogram .bp-chart-series[data-interactive="true"]:focus-visible .bp-chart-bar {
  stroke: var(--bp-chart-histogram-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-histogram-focus-stroke-width, 2);
}

.bp-chart-bar-label {
  fill: var(--bp-subtle);
  font-size: 0.7rem;
  pointer-events: none;
}

.bp-chart-density-line {
  fill: none;
  stroke: var(--bp-chart-series-color, var(--bp-chart-series-1));
}

.bp-chart-slice {
  fill: var(--bp-chart-series-color);
  fill-opacity: var(--bp-chart-slice-opacity, 1);
  stroke: var(--bp-chart-slice-stroke, var(--bp-surface));
  stroke-width: var(--bp-chart-slice-stroke-width, 1);
}

.bp-donut-chart .bp-chart-series[data-interactive="true"] {
  cursor: pointer;
}

.bp-donut-chart .bp-chart-series[data-interactive="true"]:focus-visible {
  outline: none;
}

.bp-donut-chart .bp-chart-series[data-interactive="true"]:focus-visible .bp-chart-slice {
  stroke: var(--bp-chart-donut-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-donut-focus-stroke-width, 2);
}

.bp-pie-chart .bp-chart-series[data-interactive="true"] {
  cursor: pointer;
}

.bp-pie-chart .bp-chart-series[data-interactive="true"]:focus-visible {
  outline: none;
}

.bp-pie-chart .bp-chart-series[data-interactive="true"]:focus-visible .bp-chart-slice {
  stroke: var(--bp-chart-pie-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-pie-focus-stroke-width, 2);
}

.bp-radar-chart .bp-chart-series[data-interactive="true"] {
  cursor: pointer;
}

.bp-radar-chart .bp-chart-series[data-interactive="true"]:focus-visible {
  outline: none;
}

.bp-radar-chart .bp-chart-series[data-interactive="true"]:focus-visible .bp-chart-line,
.bp-radar-chart .bp-chart-series[data-interactive="true"]:focus-visible .bp-chart-point {
  stroke: var(--bp-chart-radar-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-radar-focus-stroke-width, 2);
}

.bp-chart-slice-label {
  font-size: 0.7rem;
  pointer-events: none;
}

.bp-chart-slice-label-inside {
  fill: var(--bp-inverse);
}

.bp-chart-slice-label-outside {
  fill: var(--bp-ink);
}

.bp-chart-slice-leader {
  stroke: var(--bp-chart-series-color);
  stroke-width: 1;
  fill: none;
  opacity: 0.6;
}

.bp-chart-center-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
}

.bp-chart-center {
  display: grid;
  gap: var(--bp-chart-center-gap, 0.25rem);
  align-items: center;
  justify-items: center;
}

.bp-chart-center-label {
  font-size: var(--bp-chart-center-label-size, 0.7rem);
  font-weight: var(--bp-chart-center-label-weight, 600);
  color: var(--bp-chart-center-label-color, var(--bp-subtle));
}

.bp-chart-center-value {
  font-size: var(--bp-chart-center-value-size, 1.2rem);
  font-weight: var(--bp-chart-center-value-weight, 600);
  color: var(--bp-chart-center-value-color, var(--bp-ink));
  line-height: 1.1;
}

.bp-chart-legend-meta {
  font-size: 0.75rem;
  color: var(--bp-subtle);
}

.bp-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--bp-subtle);
}

.bp-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bp-chart-legend-swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 0.2rem;
  background: var(--bp-chart-series-color);
}

.bp-chart-size-legend {
  align-items: flex-end;
}

.bp-chart-size-legend-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.bp-chart-size-legend-bubble {
  display: inline-block;
  border-radius: 999px;
  background: var(--bp-chart-bubble-fill, var(--bp-chart-series-color));
  border: 1px solid var(--bp-chart-bubble-stroke, var(--bp-chart-series-color));
  opacity: var(--bp-chart-bubble-opacity, 0.35);
}

.bp-chart-tooltip {
  position: absolute;
  transform: translate(var(--bp-chart-tooltip-translate-x, -50%), var(--bp-chart-tooltip-translate-y, -100%));
  background: var(--bp-surface-strong);
  border: 1px solid var(--bp-outline);
  border-radius: var(--bp-radius-sm);
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
  color: var(--bp-ink);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.bp-chart-tooltip-text {
  display: inline-block;
}

.bp-chart-annotation-line {
  stroke: var(--bp-chart-annotation-color, var(--bp-chart-annotation));
  stroke-width: 1;
}

.bp-chart-annotation-band {
  fill: var(--bp-chart-annotation-color, var(--bp-chart-annotation-band));
  fill-opacity: var(--bp-chart-annotation-opacity, 0.15);
}

.bp-chart-annotation-label {
  fill: var(--bp-subtle);
  font-size: 0.7rem;
}

.bp-chart-gauge-track {
  fill: none;
  stroke: var(--bp-chart-track-color, var(--bp-outline-muted));
  stroke-linecap: round;
}

.bp-chart-gauge-range {
  fill: none;
  stroke: var(--bp-chart-range-color, var(--bp-chart-series-1));
  stroke-linecap: round;
}

.bp-chart-gauge-value {
  fill: none;
  stroke: var(--bp-chart-series-color, var(--bp-chart-series-1));
  stroke-linecap: round;
}

.bp-gauge .bp-chart-gauge-value[data-interactive="true"] {
  cursor: pointer;
}

.bp-gauge .bp-chart-gauge-value[data-interactive="true"]:focus-visible {
  outline: none;
  stroke: var(--bp-chart-gauge-focus-stroke, var(--bp-accent));
}

.bp-chart-gauge-target {
  fill: none;
  stroke: var(--bp-chart-target-color, var(--bp-chart-annotation, var(--bp-outline-strong)));
  stroke-linecap: round;
}

.bp-chart-gauge-needle {
  stroke: var(--bp-ink);
}

.bp-chart-axis-minor {
  stroke: var(--bp-outline-muted);
  stroke-width: 0.75;
}

.bp-chart-gauge-dot {
  fill: var(--bp-ink);
}

.bp-chart-gauge-marker {
  fill: var(--bp-chart-series-color, var(--bp-chart-series-1));
  stroke: var(--bp-surface);
  stroke-width: 1;
}

.bp-chart-gauge-label {
  fill: var(--bp-ink);
  font-size: 1rem;
  font-weight: 600;
}

.bp-chart-heatmap-cell {
  fill: var(--bp-chart-cell-color, var(--bp-chart-series-color, var(--bp-chart-series-1)));
  fill-opacity: var(--bp-chart-cell-opacity, 0.4);
  stroke: var(--bp-chart-cell-stroke, var(--bp-surface));
  stroke-width: var(--bp-chart-cell-stroke-width, 1);
}

.bp-chart-heatmap-label {
  fill: var(--bp-inverse);
  font-size: 0.7rem;
  font-weight: 600;
}

.bp-chart-treemap-node {
  fill: var(--bp-chart-series-color);
  stroke: var(--bp-chart-treemap-border, var(--bp-surface));
  stroke-width: var(--bp-chart-treemap-border-width, 2);
}

.bp-chart-treemap-group-node {
  fill-opacity: var(--bp-chart-treemap-group-opacity, 0.15);
}

.bp-treemap .bp-chart-series[data-interactive="true"] {
  cursor: pointer;
}

.bp-treemap .bp-chart-series[data-interactive="true"]:focus-visible {
  outline: none;
}

.bp-treemap .bp-chart-series[data-interactive="true"]:focus-visible .bp-chart-treemap-node {
  stroke: var(--bp-chart-treemap-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-treemap-focus-stroke-width, 2);
}

.bp-chart-treemap-label {
  fill: var(--bp-chart-treemap-label-color, var(--bp-inverse));
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
}

.bp-chart-treemap-group-label {
  fill: var(--bp-chart-treemap-label-color, var(--bp-inverse));
  font-size: 0.7rem;
  font-weight: 600;
  pointer-events: none;
}

.bp-chart-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.bp-chart-breadcrumb {
  background: none;
  border: none;
  color: var(--bp-ink);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.bp-chart-breadcrumb:disabled {
  color: var(--bp-muted);
  cursor: default;
}

.bp-chart-breadcrumb-separator {
  color: var(--bp-muted);
}

.bp-funnel-chart .bp-chart-tooltip {
  left: clamp(0%, var(--bp-chart-tooltip-left, 50%), 100%);
  top: clamp(0%, var(--bp-chart-tooltip-top, 50%), 100%);
  max-inline-size: min(22rem, calc(100% - 0.5rem));
  white-space: normal;
}

.bp-funnel-chart .bp-chart-series[data-interactive="true"] {
  cursor: pointer;
}

.bp-funnel-chart .bp-chart-series[data-interactive="true"]:focus-visible {
  outline: none;
}

.bp-funnel-chart .bp-chart-series[data-interactive="true"]:focus-visible .bp-chart-funnel-step {
  stroke: var(--bp-chart-funnel-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-funnel-focus-stroke-width, 2);
}

.bp-chart-funnel-step {
  fill: var(--bp-chart-series-color);
  stroke: var(--bp-surface);
  stroke-width: 1;
}

.bp-chart-funnel-label {
  fill: var(--bp-inverse);
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
}

.bp-chart-funnel-label-outside {
  fill: var(--bp-ink);
}

.bp-chart-box {
  fill: var(--bp-chart-series-color, var(--bp-chart-series-1));
  fill-opacity: 0.3;
  stroke: var(--bp-chart-series-color, var(--bp-chart-series-1));
  stroke-width: 2;
}

.bp-chart-box-whisker {
  stroke: var(--bp-chart-series-color, var(--bp-chart-series-1));
  stroke-width: 2;
}

.bp-chart-box-whisker-cap {
  stroke: var(--bp-chart-series-color, var(--bp-chart-series-1));
  stroke-width: 2;
}

.bp-chart-box-median {
  stroke: var(--bp-chart-series-color, var(--bp-chart-series-1));
  stroke-width: 2;
}

.bp-chart-box-outlier {
  fill: var(--bp-chart-series-color, var(--bp-chart-series-1));
  fill-opacity: 0.6;
  stroke: var(--bp-surface);
  stroke-width: 1;
}

.bp-chart-box-mean {
  fill: var(--bp-surface);
  stroke: var(--bp-chart-series-color, var(--bp-chart-series-1));
  stroke-width: 2;
}

.bp-chart-box-label {
  fill: var(--bp-subtle);
  font-size: 0.7rem;
  pointer-events: none;
}

.bp-box-plot-horizontal {
  --bp-box-plot-orientation: horizontal;
}

.bp-box-plot-vertical {
  --bp-box-plot-orientation: vertical;
}

.bp-candlestick .bp-chart-series[data-interactive="true"] {
  cursor: pointer;
}

.bp-candlestick .bp-chart-series[data-interactive="true"]:focus-visible {
  outline: none;
}

.bp-candlestick .bp-chart-series[data-interactive="true"]:focus-visible .bp-chart-candlestick-wick,
.bp-candlestick .bp-chart-series[data-interactive="true"]:focus-visible .bp-chart-candlestick-body {
  stroke: var(--bp-chart-candlestick-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-candlestick-focus-stroke-width, 2);
}

.bp-chart-candlestick-wick {
  stroke: var(--bp-chart-candlestick-stroke, var(--bp-outline-strong));
  stroke-width: var(--bp-chart-candlestick-wick-width, 2);
}

.bp-chart-candlestick-body {
  stroke: var(--bp-chart-candlestick-stroke, var(--bp-outline-strong));
  stroke-width: var(--bp-chart-candlestick-body-stroke-width, 1);
}

.bp-chart-candlestick-up {
  fill: var(--bp-chart-series-color, var(--bp-success));
}

.bp-chart-candlestick-down {
  fill: var(--bp-chart-series-color, var(--bp-danger));
}

.bp-chart-candlestick-neutral {
  fill: var(--bp-chart-series-color, var(--bp-outline-strong));
}

.bp-chart-candlestick-volume {
  fill: var(--bp-chart-series-color, var(--bp-outline-strong));
  opacity: var(--bp-chart-volume-opacity, 0.35);
}

.bp-chart-sankey-link {
  fill: none;
  stroke: var(--bp-chart-series-color, var(--bp-chart-link));
  stroke-opacity: var(--bp-chart-link-opacity, 0.35);
}

.bp-chart-sankey-node {
  fill: var(--bp-chart-series-color, var(--bp-surface-strong));
  fill-opacity: var(--bp-chart-node-opacity, 1);
  stroke: var(--bp-chart-node-stroke, var(--bp-outline));
  stroke-width: var(--bp-chart-node-stroke-width, 1);
}

.bp-chart-sankey-label {
  fill: var(--bp-ink);
  font-size: 0.75rem;
}

.bp-chart-sankey-link-label {
  fill: var(--bp-subtle);
  font-size: 0.7rem;
  pointer-events: none;
}

.bp-sankey .bp-chart-series[data-interactive="true"],
.bp-sankey .bp-chart-sankey-link[data-interactive="true"],
.bp-sankey .bp-chart-sankey-link-group[data-interactive="true"] {
  cursor: pointer;
}

.bp-sankey .bp-chart-series[data-interactive="true"]:focus-visible,
.bp-sankey .bp-chart-sankey-link[data-interactive="true"]:focus-visible,
.bp-sankey .bp-chart-sankey-link-group[data-interactive="true"]:focus-visible {
  outline: none;
}

.bp-sankey .bp-chart-series[data-interactive="true"]:focus-visible .bp-chart-sankey-node {
  stroke: var(--bp-chart-sankey-node-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-sankey-node-focus-stroke-width, 2);
}

.bp-sankey .bp-chart-sankey-link[data-interactive="true"]:focus-visible,
.bp-sankey .bp-chart-sankey-link-group[data-interactive="true"]:focus-visible .bp-chart-sankey-link {
  stroke: var(--bp-chart-sankey-link-focus-stroke, var(--bp-accent));
  stroke-opacity: var(--bp-chart-sankey-link-focus-opacity, 0.8);
}

.bp-waterfall-chart .bp-chart-series[data-interactive="true"] {
  cursor: pointer;
}

.bp-waterfall-chart .bp-chart-series[data-interactive="true"]:focus-visible {
  outline: none;
}

.bp-waterfall-chart .bp-chart-series[data-interactive="true"]:focus-visible .bp-chart-waterfall-bar {
  stroke: var(--bp-chart-waterfall-focus-stroke, var(--bp-accent));
  stroke-width: var(--bp-chart-waterfall-focus-stroke-width, 2);
}

.bp-chart-waterfall-bar {
  fill: var(--bp-chart-series-color);
}

.bp-chart-waterfall-connector {
  stroke: var(--bp-chart-waterfall-connector-color, var(--bp-outline-strong));
  stroke-width: var(--bp-chart-waterfall-connector-width, 1);
  stroke-dasharray: var(--bp-chart-waterfall-connector-dash, 4 3);
}

.bp-chart-waterfall-value {
  fill: var(--bp-subtle);
  font-size: 0.7rem;
  font-weight: 600;
  pointer-events: none;
}

/* Gantt chart */
.bp-gantt-chart {
  --bp-gantt-dependency-row-height: 2.5;
  --bp-gantt-dependency-row-gap: 0.75;
  display: grid;
  gap: var(--bp-gantt-gap, 0.75rem);
  color: var(--bp-ink);
}

.bp-gantt-axis {
  display: flex;
  justify-content: space-between;
  margin-left: var(--bp-gantt-label-width, 12rem);
  font-size: 0.75rem;
  color: var(--bp-subtle);
}

.bp-gantt-body {
  position: relative;
}

.bp-gantt-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--bp-gantt-label-width, 12rem);
  right: 0;
  pointer-events: none;
  z-index: 0;
}

.bp-gantt-links {
  width: 100%;
  height: 100%;
}

.bp-gantt-dependency {
  stroke: var(--bp-gantt-link-color, var(--bp-chart-link));
  stroke-width: 1.5;
  fill: none;
  opacity: 0.65;
}

.bp-gantt-today-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--bp-gantt-today-color, var(--bp-danger));
}

.bp-gantt-rows {
  display: grid;
  gap: var(--bp-gantt-gap, 0.75rem);
  position: relative;
  z-index: 1;
}

.bp-gantt-group {
  display: grid;
  gap: 0.75rem;
}

.bp-gantt-group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bp-gantt-group-title {
  min-width: var(--bp-gantt-label-width, 12rem);
  font-weight: 600;
}

.bp-gantt-group-legend {
  padding: 0;
}

.bp-gantt-group-rows {
  display: grid;
  gap: var(--bp-gantt-gap, 0.75rem);
}

.bp-gantt-row {
  display: grid;
  grid-template-columns: minmax(0, var(--bp-gantt-label-width, 12rem)) 1fr;
  gap: 1rem;
  align-items: center;
}

.bp-gantt-label {
  font-weight: 600;
}

.bp-gantt-track {
  position: relative;
  height: var(--bp-gantt-row-height, 2.5rem);
  border-radius: 12px;
  background: var(--bp-surface-muted);
  overflow: visible;
}

.bp-gantt-bar {
  position: absolute;
  left: var(--bp-gantt-left, 0%);
  width: var(--bp-gantt-width, 0%);
  top: calc((100% - var(--bp-gantt-bar-height, 60%)) / 2);
  height: var(--bp-gantt-bar-height, 60%);
  border-radius: var(--bp-gantt-bar-radius, 10px);
  background: var(--bp-gantt-color, var(--bp-accent));
  color: var(--bp-accent-contrast);
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  overflow: hidden;
}

.bp-gantt-bar[data-interactive="true"],
.bp-gantt-milestone[data-interactive="true"] {
  cursor: pointer;
}

.bp-gantt-bar:focus-visible,
.bp-gantt-milestone:focus-visible {
  outline: none;
  box-shadow: var(--bp-focus-ring);
}

.bp-gantt-bar-label {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
}

.bp-gantt-bar-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--bp-gantt-progress-color, rgba(255, 255, 255, 0.25));
}

.bp-gantt-milestone {
  position: absolute;
  left: var(--bp-gantt-left, 0%);
  top: 50%;
  width: var(--bp-gantt-milestone-size, 0.75rem);
  height: var(--bp-gantt-milestone-size, 0.75rem);
  background: var(--bp-gantt-color, var(--bp-accent));
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 1;
}

.bp-gantt-empty {
  color: var(--bp-subtle);
}
