/* ============================================================
   DASHBOARD
   ============================================================ */

.guard-hidden { visibility: hidden; }

.dashboard-section { background: transparent; padding: 20px; border-radius: 8px; margin-bottom: 20px; }
.dashboard-section > h2 { margin: 0 0 16px; }
.dashboard-section ul { list-style: none; margin: 0; padding: 0; }
.dashboard-section li { margin: 6px 0; }

.two-columns   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.three-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.four-columns  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

.artwork-entry { display: flex; align-items: center; background: transparent; border-radius: 6px; padding: 2px 0px; line-height: 1.2em !important; }
.artwork-entry img { width: 40px; height: 40px; border-radius: 4px; margin-right: 10px; object-fit: cover; }

.stats-row { display: flex; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.stat-box { flex: 1 1 200px; background: var(--brand); color: #fff; padding: 24px 20px; border-radius: 10px; text-align: center; box-shadow: 0 2px 10px var(--shadow); }
.stat-box h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
.stat-box div { font-size: 2rem; font-weight: 800; }

.hover-tooltip { position: relative; display: inline-block; cursor: default; }
.tooltip-text { visibility: hidden; background: var(--text); color: var(--bg); text-align: left; padding: 6px 10px; border-radius: 6px; position: absolute; z-index: 1; top: 125%; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 14px; box-shadow: 0 2px 6px var(--shadow); min-width: 120px; }
.hover-tooltip:hover .tooltip-text { visibility: visible; }

.dashboard-region-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; justify-content: center; }

.byday-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.byday-month-label { font-weight: 700; font-size: 1rem; flex: 1; text-align: center; }
.byday-entries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (max-width: 600px) { .byday-entries { grid-template-columns: 1fr; } }

.lga-group-header { font-weight: 700; color: var(--brand); font-size: 0.95rem; margin: 16px 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
.lga-group-header:first-child { margin-top: 0; }
.lga-group-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px 12px; margin-bottom: 8px; }
@media (max-width: 900px) { .lga-group-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .lga-group-grid { grid-template-columns: repeat(2, 1fr); } }
.lga-group-grid .artwork-entry { font-size: 0.85rem; padding: 2px 0; background: transparent; border-radius: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.lga-group-grid .artwork-entry strong { flex: 1 1 0; min-width: 0; }
.lga-group-grid .entry-count { white-space: nowrap; flex-shrink: 0; color: var(--muted); }

.dashboard-section, .stat-box {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

/* City edit button — small, muted, inline */
.city-edit-btn {
  font-size: 0.78rem !important;
  padding: 3px 10px !important;
  border-color: var(--border);
  color: var(--muted);
}
.city-edit-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent !important;
}