/* 全站 table 数据单元格的唯一尺寸入口；以后只需修改这里。 */
:root {
    --table-data-cell-padding: 12px 14px;
}

table td {
    box-sizing: border-box;
    padding: var(--table-data-cell-padding) !important;
}

/* 量化筛选菜单下的表格，与股票详情历史表保持一致。 */
.quant-table-standard tbody td,
.quant-table-standard tbody tr:nth-child(even) td {
    background: #fff !important;
    color: #25344f;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.35;
}

.quant-table-standard tbody td * {
    font-weight: 400 !important;
}

.quant-table-standard tbody tr.quant-row-hover td {
    background: #edf4ff !important;
}

.quant-table-standard thead tr th.quant-column-hover,
.quant-table-standard tbody tr td.quant-column-hover,
.quant-table-standard tbody tr.quant-row-hover td.quant-column-hover {
    background: #f3f7ff !important;
    border-top-color: #f3f7ff !important;
    border-bottom-color: #f3f7ff !important;
}

body.dark .quant-table-standard tbody td,
body.dark .quant-table-standard tbody tr:nth-child(even) td {
    background: #121212 !important;
    color: #e3e3e3;
}

body.dark .quant-table-standard tbody tr.quant-row-hover td {
    background: #262626 !important;
}

body.dark .quant-table-standard thead tr th.quant-column-hover,
body.dark .quant-table-standard tbody tr td.quant-column-hover,
body.dark .quant-table-standard tbody tr.quant-row-hover td.quant-column-hover {
    background: #232323 !important;
    border-top-color: #232323 !important;
    border-bottom-color: #232323 !important;
}

.quant-table-standard tbody :is(td.positive, td.up, td.selector-positive, .positive, .up, .selector-positive) {
    color: #c0392b !important;
}

.quant-table-standard tbody :is(td.negative, td.down, td.selector-negative, .negative, .down, .selector-negative) {
    color: #1e8449 !important;
}

body.dark .quant-table-standard tbody :is(td.positive, td.up, td.selector-positive, .positive, .up, .selector-positive) {
    color: #f6465d !important;
}

body.dark .quant-table-standard tbody :is(td.negative, td.down, td.selector-negative, .negative, .down, .selector-negative) {
    color: #2ebd85 !important;
}
