/* HUU 9.0.28 – dashboard only: move the primary quick action outside the greeting banner. */
.top .top-tools{display:flex;align-items:center;justify-content:flex-end;gap:17px;min-width:0}
.top .dashboard-header-new{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;min-height:39px;padding:8px 16px;font-size:13px;line-height:1.15;box-shadow:none!important;border-radius:10px!important}
.top .dashboard-header-new[hidden]{display:none!important}
/* Only the original headline and requested sentence remain over the approved wave. */
.view[data-screen="dashboard"] .welcome p{margin-bottom:0!important;max-width:440px}
@media(max-width:760px){
  .top .top-tools{gap:8px;margin-left:auto}
  .top .dashboard-header-new{min-height:35px;padding:7px 11px;font-size:12px}
}
@media(max-width:420px){
  .top .dashboard-header-new{font-size:11px;min-height:34px;padding:7px 9px}
}


/* HUU 9.0.29 – clearer dashboard chart with explicit Month/Quarter/Year toggle. */
.chart-title-row{align-items:flex-start}
.chart-title-row .muted{display:block;margin-top:6px}
.chart-view-toggle{display:inline-flex;gap:6px;flex-wrap:wrap;background:#f6f2eb;border:1px solid #ece4d7;border-radius:12px;padding:4px}
.chart-view-toggle button{border:0;background:transparent;color:#6b6f69;font-weight:750;border-radius:9px;padding:9px 13px;min-height:38px}
.chart-view-toggle button.active{background:#fff;color:#b85c13;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.chart.chart-profit{display:block;min-width:640px;height:auto;border:0;padding:0;background:linear-gradient(180deg,#fff 0%,#fffdfa 100%)}
.huu-profit-chart{min-width:640px}
.huu-profit-chart svg{display:block;width:100%;height:auto;overflow:visible}
.huu-chart-label{font:700 11px Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;fill:#667068}
.profit-dot{background:#f47b20}
.chart-legend .profit-dot{display:inline-block;width:9px;height:9px;border-radius:999px;margin-right:6px}
.chart-legend .expenses-legend{color:#8a8f88}
#year-chart{position:relative}
#year-chart .empty{padding:24px 0}
@media(max-width:760px){
  .chart-title-row{gap:10px}
  .chart-view-toggle{width:100%;justify-content:space-between}
  .chart-view-toggle button{flex:1;padding:8px 10px;font-size:12px}
  .chart.chart-profit,.huu-profit-chart{min-width:560px}
}
