.hbdev-budget-wrap .hbdev-controls {
    margin: 12px 0 20px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.hbdev-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
    margin: 16px 0 24px;
}

.card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 14px;
}
.card-title { font-weight: 600; margin-bottom: 6px; }
.card-value { font-size: 22px; }

.hbdev-charts { display: grid; gap: 16px; grid-template-columns: 1fr; }

.chart-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 12px;
}
.chart-title { font-weight: 600; margin-bottom: 8px; }

.chart-controls { display:flex; gap:8px; align-items:center; margin: 4px 0 8px; }

.chart-row { display:flex; gap:30px; align-items:flex-start; flex-wrap:wrap; }
.chart-row canvas { flex:1 1 320px; max-width:400px; height:320px; }

.hbdev-table table.widefat td,
.hbdev-table table.widefat th { vertical-align: top; }
