.dashboard-module { display: block; }
.dashboard-module a { text-decoration: none; }
.dashboard-module .stat-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.dashboard-module .stat-card { min-width: 0; }
.dashboard-module .panel-head > a,
.dashboard-module .timeline-body > a,
.dashboard-module .compact-panel > a { color: var(--navy-2); font-size: calc(13px * var(--panel-font-scale, 1)); font-weight: 900; }
.dashboard-module .panel-head > a:hover,
.dashboard-module .timeline-body > a:hover,
.dashboard-module .compact-panel > a:hover { color: var(--orange); }
.dashboard-module .stat-foot { text-decoration: none; }
.dashboard-module .stat-foot:focus-visible,
.dashboard-module .panel-head > a:focus-visible,
.dashboard-module .timeline-body > a:focus-visible,
.dashboard-module .compact-panel > a:focus-visible,
.dashboard-module [data-dashboard-href]:focus-visible { outline: 3px solid rgba(252,109,4,.28); outline-offset: -2px; }

.dashboard-month-form { flex: 0 0 auto; }
.dashboard-month-form label { display: block; }
.dashboard-month-form .select-button { width: auto; max-width: 150px; height: 31px; color: var(--navy-2); background-color: #fff; font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 800; cursor: pointer; }
.dashboard-module .revenue-value span.negative { color: #b83d39; }
.dashboard-module .revenue-value span.neutral { color: var(--muted); }

.dashboard-module .mini-camper--initials { display: grid; place-items: center; color: var(--navy); font-size: calc(12px * var(--panel-font-scale, 1)); font-weight: 900; }
.dashboard-module .mini-camper--initials > span { display: block; }
.dashboard-module .chart-empty { position: absolute; z-index: 2; top: 43px; right: 0; left: 0; color: var(--muted); text-align: center; font-size: calc(12px * var(--panel-font-scale, 1)); }
.dashboard-empty { display: grid; min-height: 150px; place-items: center; align-content: center; gap: 8px; padding: 24px; color: var(--muted); text-align: center; }
.dashboard-empty span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 50%; font-weight: 900; }
.dashboard-empty p { max-width: 430px; margin: 0; font-size: calc(13px * var(--panel-font-scale, 1)); }
.dashboard-empty--timeline { min-height: 285px; }
.dashboard-empty--table { min-height: 130px; }
.dashboard-module .compact-panel { min-height: 70px; }
.dashboard-module .table-wrap tbody tr { transition: background-color .15s ease; }

@media (max-width: 1180px) {
    .dashboard-module .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 560px) {
    .dashboard-module .page-head { margin-bottom: 18px; }
    .dashboard-module .date-label { font-size: calc(11px * var(--panel-font-scale, 1)); }
    .dashboard-module .stat-card > span { display: block; min-height: 34px; font-size: calc(12px * var(--panel-font-scale, 1)); }
    .dashboard-module .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dashboard-module .stat-foot { gap: 7px; }
    .dashboard-module .stat-foot i { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .dashboard-module .timeline-body > a { grid-column: 3; }
    .dashboard-module .compact-panel > a { grid-column: 2; justify-self: start; }
    .dashboard-month-form .select-button { max-width: 128px; }
    .dashboard-module .revenue-value { align-items: flex-start; flex-direction: column; gap: 4px; }
}
