* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 彻底禁止滚动条，dashboard严格占满视口 */
html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f0f4fa;
}

body {
    font-family: 'Inter', 'Segoe UI', 'PingFang SC', Roboto, 'Helvetica Neue', system-ui, sans-serif;
    color: #1a2c3e;
}

/* 页面整体div样式 */
.dashboard {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f5f9ff;
    overflow: hidden;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 24px 5px 24px;
    gap: 6px;
    min-height: 0;
    overflow: hidden;
}

/* 各板块通用样式 */
.card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid #eef2f8;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

/* 卡片内部滚动（仅内容过多时），整体无滚动条 */
.card-inner {
    padding: 7px 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
}

.card-inner::-webkit-scrollbar {
    width: 3px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    border-bottom: 1px solid #eff3fa;
    padding-bottom: 4px;
    flex-shrink: 0;
}

.card-header h2 {
    font-size: 1.1rem;
    font-weight: 650;
    color: #13294b;
}
