/* /Components/ActivityChart.razor.rz.scp.css */
.legend[b-7hi5hfd7b1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 16px;
    font-size: 0.8125rem;
    color: var(--viz-ink-secondary);
}

.legend-item[b-7hi5hfd7b1] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legend-note[b-7hi5hfd7b1] {
    font-size: 0.75rem;
}

.succeeded[b-7hi5hfd7b1] {
    --series-color: var(--viz-succeeded);
}

.failed[b-7hi5hfd7b1] {
    --series-color: var(--viz-failed);
}

.plot[b-7hi5hfd7b1] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 260px 24px;
    column-gap: 8px;
    padding-top: 6px;
}

.y-axis[b-7hi5hfd7b1] {
    position: relative;
    font-size: 0.6875rem;
    font-variant-numeric: tabular-nums;
    color: var(--viz-ink-secondary);
    text-align: right;
}

.y-sizer[b-7hi5hfd7b1] {
    visibility: hidden;
    white-space: nowrap;
}

.y-label[b-7hi5hfd7b1] {
    position: absolute;
    right: 0;
    transform: translateY(50%);
    line-height: 1;
}

.canvas[b-7hi5hfd7b1] {
    position: relative;
}

.gridline[b-7hi5hfd7b1] {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--viz-grid);
}

.gridline.baseline[b-7hi5hfd7b1] {
    background: var(--viz-axis);
}

.crosshair[b-7hi5hfd7b1] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--viz-axis);
}

.lines[b-7hi5hfd7b1] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.line[b-7hi5hfd7b1] {
    fill: none;
    stroke: var(--series-color);
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.line.in-progress[b-7hi5hfd7b1] {
    stroke-dasharray: 4 5;
}

.marker[b-7hi5hfd7b1] {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--series-color);
    box-shadow: 0 0 0 2px #ffffff;
    transform: translate(-50%, 50%);
}

.slots[b-7hi5hfd7b1] {
    position: absolute;
    inset: 0;
    display: flex;
}

.slot[b-7hi5hfd7b1] {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.slot:focus-visible[b-7hi5hfd7b1] {
    outline: 2px solid var(--viz-succeeded);
    outline-offset: -2px;
}

.tooltip[b-7hi5hfd7b1] {
    position: absolute;
    top: 0;
    z-index: 2;
    margin-left: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(11, 11, 11, 0.1);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(11, 11, 11, 0.12);
    font-size: 0.8125rem;
    color: var(--viz-ink-secondary);
    white-space: nowrap;
    pointer-events: none;
}

.tooltip.align-right[b-7hi5hfd7b1] {
    margin-left: -10px;
    transform: translateX(-100%);
}

.tooltip strong[b-7hi5hfd7b1],
.tooltip-title[b-7hi5hfd7b1] {
    color: #191919;
}

.tooltip-title[b-7hi5hfd7b1] {
    margin-bottom: 4px;
    font-weight: 600;
}

.tooltip-row[b-7hi5hfd7b1] {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Line keys in the legend and tooltip mirror the lines in the chart. */
.key[b-7hi5hfd7b1] {
    width: 14px;
    height: 3px;
    border-radius: 2px;
    background: var(--series-color);
}

.x-axis[b-7hi5hfd7b1] {
    display: flex;
    font-size: 0.6875rem;
    color: var(--viz-ink-secondary);
}

.x-slot[b-7hi5hfd7b1] {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.x-label[b-7hi5hfd7b1] {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.x-label.last[b-7hi5hfd7b1] {
    left: auto;
    right: 0;
    transform: none;
}

.table-scroll[b-7hi5hfd7b1] {
    max-height: 321px;
    overflow: auto;
}

table[b-7hi5hfd7b1] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

th[b-7hi5hfd7b1],
td[b-7hi5hfd7b1] {
    padding: 8px 4px;
    border-bottom: 1px solid var(--viz-grid);
    text-align: left;
    font-weight: 400;
}

thead th[b-7hi5hfd7b1] {
    position: sticky;
    top: 0;
    background: #ffffff;
    font-weight: 600;
}

.number[b-7hi5hfd7b1] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 599px) {
    .plot[b-7hi5hfd7b1] {
        grid-template-rows: 220px 24px;
    }

    .x-axis[b-7hi5hfd7b1] {
        font-size: 0.625rem;
    }
}
