/* One type scale for every column (owner 2026-10-20). Overrides the per-cell inline em
   sizes in render45DTETable (19 values -> 16 computed sizes, 13.6px..7.5px, before).
   Main value / extra lines in a cell / headers. Nothing below 10px at desktop width. */
.dte-scanner-table {
    --dte-fs-main: 12px;
    --dte-fs-sub: 10.5px;
    --dte-fs-head: 10.5px;
    font-size: var(--dte-fs-main) !important;
}

.dte-scanner-table thead th,
.dte-scanner-table thead th * {
    font-size: var(--dte-fs-head) !important;
}

.dte-scanner-table tbody td,
.dte-scanner-table tbody td * {
    font-size: var(--dte-fs-main) !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
}

/* 2nd+ line inside a cell: sector, 'Bullish', 'fill $', days to earnings, badges */
.dte-scanner-table tbody td > * + *,
.dte-scanner-table tbody td > * + * *,
.dte-scanner-table tbody td > div > * + *,
.dte-scanner-table .dte-symbol-sector {
    font-size: var(--dte-fs-sub) !important;
    font-weight: 400 !important;
}

.dte-scanner-table thead th {
    padding: 0.15rem 0.08rem !important;
    line-height: 1.15;
    white-space: normal !important;
    overflow-wrap: normal;
}

.dte-scanner-table tbody td {
    padding: 0.14rem 0.08rem !important;
}

.dte-scanner-table thead th:nth-child(2),
.dte-scanner-table tbody td:nth-child(2) {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    overflow: hidden;
}

.dte-scanner-table tbody td:nth-child(2) > div:first-child,
.dte-scanner-table .dte-symbol-sector {
    display: block;
    width: 80px;
    max-width: 80px;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dte-scanner-table .dte-support-value {
    font-size: inherit !important;
}

/* Strike + Expiration stay on one line. Was nth-child(21)/(22), which drifted onto other
   columns each time a column was added (OI/Vol by 2026-10-19, Spr/OI after RSI W). */
.dte-scanner-table tbody td.dte-col-nowrap {
    white-space: nowrap;
}

.dte-scanner-table thead th[data-dte45-sort="put_strike"],
.dte-scanner-table thead th[data-dte45-sort="expiration"] {
    white-space: nowrap !important;
}

@media (max-width: 1200px) {
    .dte-scanner-table {
        --dte-fs-main: 11px;
        --dte-fs-sub: 10px;
        --dte-fs-head: 10px;
        zoom: 0.9;
    }
    .dte-scanner-table th[data-dte45-sort="short_oi"],
    .dte-scanner-table th[data-dte45-sort="short_volume"] {
        min-width: 0 !important;
    }
    .dte-scanner-table thead th,
    .dte-scanner-table tbody td {
        padding-left: 0.04rem !important;
        padding-right: 0.04rem !important;
    }
    .dte-scanner-table thead th:nth-child(2),
    .dte-scanner-table tbody td:nth-child(2) {
        width: 72px;
        min-width: 72px;
        max-width: 72px;
    }
    .dte-scanner-table tbody td:nth-child(2) > div:first-child,
    .dte-scanner-table .dte-symbol-sector {
        width: 72px;
        max-width: 72px;
    }
}
