.dashboard-mode-toolbar { margin-bottom: 18px; padding: 20px 22px 16px; }
.dashboard-mode-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; }
.dashboard-mode-heading h2 { margin: 3px 0 0; font-size: 18px; }
.dashboard-mode-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dashboard-mode-option { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px 14px; border: 1px solid var(--border, #e6e4ef); border-radius: 13px; background: var(--surface, #fff); text-align: left; color: var(--text, #282535); transition: background .15s, border-color .15s; }
.dashboard-mode-option > .material-symbol:first-child { color: var(--primary, #6554c0); font-size: 25px; }
.dashboard-mode-option > span:nth-child(2) { flex: 1; min-width: 0; }
.dashboard-mode-option strong, .dashboard-mode-option small { display: block; }
.dashboard-mode-option strong { font-size: 14px; }
.dashboard-mode-option small { margin-top: 5px; color: var(--muted, #777284); font-size: 11px; line-height: 1.5; }
.dashboard-mode-check { opacity: 0; color: var(--primary, #6554c0); font-size: 21px; }
.dashboard-mode-option[aria-pressed="true"] { background: #f2eeff; border-color: var(--primary, #6554c0); box-shadow: inset 0 0 0 1px var(--primary, #6554c0); }
.dashboard-mode-option[aria-pressed="true"] .dashboard-mode-check { opacity: 1; }
.dashboard-mode-option:focus-visible, .dashboard-neighbourhood-links button:focus-visible, .dashboard-dated-event:focus-visible { outline: 3px solid #b0a2ee; outline-offset: 3px; }
.dashboard-mode-help { margin: 13px 0 0; font-size: 11px; line-height: 1.65; color: var(--muted, #777284); }
.dashboard-mode-status { margin: 7px 0 0; color: var(--primary, #6554c0); font-size: 12px; font-weight: 700; }
.dashboard-scope-control { display: flex; flex-direction: column; gap: 5px; font-size: 11px; color: var(--muted, #777284); min-width: 180px; max-width: 45%; }
.dashboard-scope-control select { width: 100%; padding: 8px 10px; border: 1px solid var(--border, #e6e4ef); border-radius: 9px; background: #fff; color: var(--text, #282535); font: inherit; font-size: 13px; }
.dashboard-activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.dashboard-activity-grid [hidden], .dashboard-scope-control[hidden] { display: none !important; }
#view-dashboard[data-dashboard-mode="business"] .dashboard-activity-grid { display: none; }
#view-dashboard:not([data-dashboard-mode="business"]) #dashboard-content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 17px; align-items: start; }
#view-dashboard:not([data-dashboard-mode="business"]) #dashboard-content[hidden] { display: none; }
#view-dashboard:not([data-dashboard-mode="business"]) .summary-grid,
#view-dashboard:not([data-dashboard-mode="business"]) .trend-panel,
#view-dashboard:not([data-dashboard-mode="business"]) .activity-panel { display: none; }
#view-dashboard:not([data-dashboard-mode="business"]) .dashboard-grid { display: block; margin-top: 0; }
#view-dashboard:not([data-dashboard-mode="business"]) .today-panel { min-height: 380px; }
#view-dashboard:not([data-dashboard-mode="business"]) .dashboard-activity-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.dashboard-list-description { margin: -5px 20px 0; color: var(--muted, #777284); font-size: 11px; line-height: 1.6; }
.dashboard-list-more { padding: 0 20px 16px; margin: 0; color: var(--muted, #777284); font-size: 11px; }
.dashboard-dated-event { width: 100%; grid-template-columns: 76px minmax(0, 1fr) auto; text-align: left; background: transparent; color: inherit; font: inherit; border: 0; border-bottom: 1px solid var(--border, #e6e4ef); }
.dashboard-dated-event .event-time { min-width: 76px; }
.dashboard-dated-event .event-time strong { display: block; font-weight: 600; font-size: 11px; }
.dashboard-dated-event .event-time small { display: block; font-size: 11px; margin-top: 5px; color: var(--muted, #777284); }
.dashboard-neighbourhood-links { padding: 0 20px 15px; }
.dashboard-neighbourhood-links button { display: flex; align-items: center; gap: 13px; width: 100%; padding: 15px 0; border: 0; background: transparent; color: inherit; text-align: left; }
.dashboard-neighbourhood-links button + button { border-top: 1px solid var(--border, #e6e4ef); }
.dashboard-neighbourhood-links button > .material-symbol { color: var(--primary, #6554c0); }
.dashboard-neighbourhood-links button > span:nth-child(2) { flex: 1; }
.dashboard-neighbourhood-links strong, .dashboard-neighbourhood-links small { display: block; }
.dashboard-neighbourhood-links strong { font-size: 13px; }
.dashboard-neighbourhood-links small { color: var(--muted, #777284); font-size: 11px; line-height: 1.5; margin-top: 5px; }
@media (max-width: 1120px) {
  .dashboard-mode-option { gap: 8px; padding: 13px 10px; }
  .dashboard-mode-option > .material-symbol:first-child { display: none; }
  .dashboard-mode-option strong { font-size: 13px; }
}
@media (max-width: 800px) {
  #view-dashboard:not([data-dashboard-mode="business"]) #dashboard-content { grid-template-columns: minmax(0, 1fr); }
  #view-dashboard:not([data-dashboard-mode="business"]) .today-panel { min-height: 0; }
  .dashboard-mode-toolbar { padding: 17px 15px 14px; }
  .dashboard-mode-options { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dashboard-mode-option { padding: 12px 14px; }
  .dashboard-mode-option > .material-symbol:first-child { display: block; }
  .dashboard-mode-option small { margin-top: 2px; }
  .dashboard-mode-heading { align-items: flex-start; }
  .dashboard-scope-control { min-width: 130px; max-width: 48%; }
}
