#revenue-dashboard {
    max-width: 800px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    text-align: center;
    color: #333;
}
.tabs {
    margin-bottom: 20px;
}
.tab-link {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    background: #f4f4f4;
    cursor: pointer;
    border-radius: 5px;
}
.tab-link.active, .tab-link:hover {
    background: #ff0066;
    color: white;
}
.tab-content {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#revenue-table, [id^=table-] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
#revenue-table th, #revenue-table td, [id^=table-] th, [id^=table-] td {
    padding: 10px;
    border: 1px solid #ddd;
}
#revenue-table th, [id^=table-] th {
    background-color: #ffd700;
}
.positive { color: green; }
.negative { color: red; }
#last-updated {
    font-style: italic;
    color: #666;
    margin-top: 10px;
}
#chart-marketplace, [id^=chart-] {
    max-height: 300px;
    margin-bottom: 20px;
}
@media (max-width: 600px) {
    [id^=table-] {
        display: block;
        overflow-x: auto;
    }
    .tab-link {
        display: block;
        margin: 5px 0;
    }
}