﻿/**
 * 财务报表（利润表/资产负债表/现金流量表）。
 * 用途：财务报表（利润表/资产负债表/现金流量表）。
 * 依赖：base/base.css；本文件不再 @import 公共样式。
 * 维护：通用规则改 base/*；本文件只放本页样式。
 */
/* 财务报表：单位、全部科目切换、表头吸顶、分区行。 */
.statement-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 28px;
    margin-bottom: 8px;
}

.statement-unit {
    color: #666;
    font-size: 12px;
}

.statement-toggle {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid #09418f;
    border-radius: 2px;
    color: #09418f;
    background: #fff;
    font-size: 13px;
    line-height: 20px;
    text-decoration: none;
}

.statement-toggle:hover {
    color: #fff;
    background: #09418f;
    text-decoration: none;
}

/* 解除父级 overflow:hidden，否则 sticky 表头无法吸附视口。 */
.skinBox .con.statement-detail-wrap {
    overflow: visible;
}

.statement-table tbody tr:first-child td {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #f2f2f2;
    box-shadow: inset 0 -1px 0 #d7d6db;
}


.statement-table .statement-section td {
    background: #f7f8fa;
    font-weight: 700;
}

/* 明细报表：固定列宽，三个报表页切 tab 时列位置不跳动 */
.statement-table {
    table-layout: fixed;
}

.statement-table tbody tr td:first-child {
    width: 32%;
}

.statement-table tbody td {
    font-variant-numeric: tabular-nums;
}
