html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            overflow: hidden;
        }
        #app {
            width: 100%;
            height: 100vh;
            margin: 0;
            padding: 0;
            overflow: hidden;
        }
        
        .el-tabs {
            height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        .el-tabs__header {
            flex-shrink: 0;
        }
        
        .el-tabs__content {
            flex: 1;
            overflow: hidden;
        }
        
        .el-tab-pane {
            height: 100%;
        }
        
        /* 统计报表页面允许滚动 */
        .el-tab-pane[aria-labelledby="tab-stats"] {
            overflow-y: auto;
            padding: 20px;
        }
        
        /* 点歌录入页面允许滚动 */
        .el-tab-pane[aria-labelledby="tab-input"] {
            overflow-y: auto;
            padding: 0 !important;
        }
        
        .section {
            margin-bottom: 30px;
            padding: 0;
        }
        .section-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #333;
        }
        
        /* 矩阵表格样式 */
        .matrix-container {
            width: 100%;
            max-width: none;
            height: 100%;
            padding: 20px 0;
            background: #0f172a;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        
        .matrix-header {
            flex-shrink: 0;
            padding: 10px 0;
            margin-bottom: 20px;
        }
        
        .matrix-header h3 {
            color: #e2e8f0;
            text-align: center;
            margin: 0;
            padding: 10px 0;
        }
        
        .table-wrapper {
            flex: 1;
            position: relative;
            overflow: hidden;
        }
        
        .excel-table {
            width: 100%;
            border-collapse: collapse;
            background: #1e293b;
            table-layout: fixed;
        }
        
        .excel-table th,
        .excel-table td {
            border: 1px solid #334155;
            padding: 2px;
            text-align: center;
            color: #e2e8f0;
        }
        
        .excel-table th:nth-child(1),
        .excel-table td:nth-child(1) {
            width: 50px;
        }
        
        .excel-table th:nth-child(2),
        .excel-table td:nth-child(2) {
            width: 80px;
        }
        
        .excel-table th:nth-child(3),
        .excel-table td:nth-child(3) {
            width: 80px;
        }
        
        .excel-table th {
            background: #1e293b;
            font-weight: bold;
            padding: 12px 8px;
            position: sticky;
            top: 0;
            z-index: 10;
        }
        
        .excel-table tfoot td {
            padding: 8px 2px 15px 2px;
            vertical-align: middle;
        }
        
        .excel-table input {
            width: calc(100% - 4px);
            height: 40px;
            background: #0f172a;
            border: 1px solid #334155;
            color: #e2e8f0;
            text-align: center;
            padding: 8px 4px;
            box-sizing: border-box;
            font-size: 16px;
            min-width: 0;
        }
        
        .excel-table input[type="number"] {
            -moz-appearance: textfield;
        }
        
        .excel-table input[type="number"]::-webkit-inner-spin-button,
        .excel-table input[type="number"]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        
        .excel-table input:focus {
            outline: 2px solid #fbbf24;
            background: #1e293b;
        }
        
        .excel-table .total {
            background: #1e293b;
            font-weight: bold;
            color: #fbbf24;
        }
        
        .excel-table .grand-total {
            background: #1e293b;
            font-weight: bold;
            color: #fbbf24;
            font-size: 1.1em;
        }
        
        /* 自动补全建议样式 */
        .suggestion-active {
            background: #e0f2fe !important;
            color: #0369a1 !important;
        }


/* 2026-03-21 花环记录改为整页滚动，避免内层滚动条 */
.wreath-matrix-container .table-wrapper {
    max-height: none !important;
    overflow-y: visible !important;
}

.wreath-matrix-container {
    height: auto !important;
    overflow: visible !important;
}

/* 2026-03-21 花环记录页面允许整页滚动 */
.el-tab-pane[aria-labelledby="tab-wreath-matrix"] {
    overflow-y: auto !important;
    padding: 0 !important;
}


/* 2026-03-21 历史账本铺满并允许整页滚动 */
.el-tab-pane[aria-labelledby="tab-history"] {
    overflow-y: auto !important;
    padding: 0 !important;
}
.el-tab-pane[aria-labelledby="tab-history"] .matrix-container {
    height: auto !important;
    overflow: visible !important;
}
.el-tab-pane[aria-labelledby="tab-history"] .table-wrapper {
    max-height: none !important;
    overflow-y: visible !important;
}
