/* qdotdb webui — 业务自定义样式（Tabler 之外的少量补充） */

/* 图表容器 */
.chart-box {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.chart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--tblr-secondary);
    min-height: 380px;
}

/* 历史测量列表（score detail） */
.history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 280px;
    overflow-y: auto;
}
.history-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 10px;
    border-radius: var(--tblr-border-radius);
    border: 1px solid var(--tblr-border-color);
    cursor: pointer;
    font-size: 12.5px;
    background: var(--tblr-bg-surface);
    color: var(--tblr-body-color);
}
.history-item:hover {
    background: var(--tblr-bg-surface-secondary);
    text-decoration: none;
}
.history-item.active {
    border-color: var(--tblr-primary);
    background: var(--tblr-primary-lt);
}

/* sidebar 导航里的小字说明 */
.nav-desc {
    display: block;
    font-size: 11px;
    opacity: 0.65;
    font-weight: 400;
}

/* 数字列等宽 */
.num { text-align: right; font-variant-numeric: tabular-nums; }
.ts { white-space: nowrap; font-variant-numeric: tabular-nums; }
