* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

:root {
    --side-width: 160px;
}

html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    color: #393939;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-text-size-adjust: none;
    background: #fff;
}

.flex {
    display: flex;
}

.flex_sbe {
    justify-content: space-between;
}

.flex_ac {
    align-items: center;
}

/* 表格容器：固定宽度+横向滚动 */
.table-container {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 表格内容容器：固定宽度+内边距+横向滚动 */
.table-content {
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    position: relative;
}

.layui-table-tool {
    height: 54px;
}

.search-export-wrap {
    position: absolute;
    width: calc(100% - 80px);
    left: 40px;
    top: 30px;
    z-index: 999;
}

.search-export-wrap .layui-btn {
    height: 34px;
    line-height: 34px;
    background: #009943;
}

/* 表格主体：固定宽度1600px */
.layui-table-box {
    width: 100%;
}

/* 表格标题栏：可点击展开/合并 */
.table-title {
    padding: 10px 24px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #e6e6e6;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.layui-laypage a:hover {
    color: #009943;
}

.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: #009943;
}

/* 收起/展开图标 */
.toggle-icon {
    font-size: 14px;
    color: #666;
}

.toggle-icon.rotated {
    transform: rotate(-90deg);
}

/* 表格内容隐藏样式 */
.table-content.hidden,
.sub-table-container.hidden {
    display: none;
}

.layui-table-header {
    width: 100%!important;
}

.layui-table {
    width: 100%!important;
}

.layui-table-page .layui-laypage-skip {
    display: none !important;
}

.layui-table-page > div {
    height: 30px;
    text-align: right;
}

.layui-form-item {
    margin-bottom: 0;
}

.layui-input {
    height: 34px;
    font-size: 14px;
}

/* 子表+ECharts 布局容器 */
.sub-table-echart-wrap {
    gap: 20px;
    width: 1600px;
    margin: 0 auto;
}

/* 子表格容器：占60%宽度 */
.sub-table-container {
    gap: 0;
}

.sub-table-container .table-content {
    width: 56%;
    flex-shrink: 0;
}

/* ECharts容器：占40%宽度，固定高度 */
.echart-container {
    height: 525px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
    margin-bottom: 20px;
}

.echart-container img{
    width: 100%;
}





