/* v108: balanced calendar and paid-revenue dashboard, visual layout only. */
.dashboard-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-focus-grid > .job-calendar,
.dashboard-focus-grid > .dashboard-revenue {
  min-width: 0;
  height: 100%;
  margin: 0;
  border: 1px solid #d9e4ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 52, 82, .07);
}

.dashboard-focus-grid > .job-calendar {
  padding: 18px;
  background-image: linear-gradient(180deg, rgba(23, 105, 194, .035), transparent 28%);
}

.dashboard-focus-grid .calendar-head h2,
.dashboard-focus-grid .revenue-head h2 {
  color: var(--ops-navy, #123455);
  font-size: 21px;
  line-height: 1.3;
}

.dashboard-focus-grid .calendar-head p,
.dashboard-focus-grid .revenue-head p {
  color: #62758a;
  font-size: 12px;
  line-height: 1.55;
}

.dashboard-focus-grid .calendar-legend {
  gap: 6px;
  margin: 12px 0 11px;
  padding: 8px;
  border-radius: 12px;
  background: #f6f9fc;
  box-shadow: none;
}

.dashboard-focus-grid .calendar-legend span {
  gap: 6px;
  padding: 5px 8px;
  font-size: 10px;
  box-shadow: none;
}

.dashboard-focus-grid .calendar-weekdays,
.dashboard-focus-grid .calendar-grid { gap: 5px; }

.dashboard-focus-grid .calendar-blank,
.dashboard-focus-grid .calendar-day { min-height: 71px; }

.dashboard-focus-grid .calendar-day {
  gap: 2px;
  padding: 7px;
  border-radius: 11px;
}

.dashboard-focus-grid .calendar-day .calendar-date {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.dashboard-focus-grid .calendar-day b { font-size: 10px; }
.dashboard-focus-grid .calendar-day small { font-size: 8px; line-height: 1.25; }
.dashboard-focus-grid .calendar-day .calendar-status-dot { top: 8px; right: 8px; width: 9px; height: 9px; }

.dashboard-focus-grid > .dashboard-revenue {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: linear-gradient(180deg, rgba(20, 157, 121, .04), transparent 31%), #fff;
}

.dashboard-focus-grid .revenue-head { gap: 10px; margin-bottom: 10px; }
.dashboard-focus-grid .revenue-paid-badge { padding: 6px 8px; font-size: 10px; }
.dashboard-focus-grid .revenue-team-grid { gap: 7px; margin-bottom: 10px; }
.dashboard-focus-grid .revenue-team-grid article { padding: 10px 11px; }
.dashboard-focus-grid .revenue-team-grid span { font-size: 10px; }
.dashboard-focus-grid .revenue-team-grid b { font-size: 20px; }
.dashboard-focus-grid .revenue-team-grid em { font-size: 9px; }

.dashboard-focus-grid .revenue-table-wrap {
  flex: 1;
  overflow: auto;
  border-color: #dfe8f0;
  border-radius: 11px;
}

.dashboard-focus-grid .revenue-table { width: 100%; min-width: 0; table-layout: fixed; font-size: 10px; }
.dashboard-focus-grid .revenue-table th:first-child { width: 27%; }
.dashboard-focus-grid .revenue-table th:not(:first-child) { width: 18.25%; }
.dashboard-focus-grid .revenue-table th,
.dashboard-focus-grid .revenue-table td { padding: 7px 8px; }
.dashboard-focus-grid .revenue-table th,
.dashboard-focus-grid .revenue-table td { overflow-wrap: anywhere; }
.dashboard-focus-grid .revenue-table td small { font-size: 8px; }
.dashboard-focus-grid .revenue-rank { width: 23px; height: 23px; border-radius: 7px; }

@media (max-width: 1180px) {
  .dashboard-focus-grid { grid-template-columns: 1fr; }
  .dashboard-focus-grid .calendar-blank,
  .dashboard-focus-grid .calendar-day { min-height: 82px; }
}

@media (max-width: 760px) {
  .dashboard-focus-grid { gap: 13px; margin-bottom: 14px; }
  .dashboard-focus-grid > .job-calendar,
  .dashboard-focus-grid > .dashboard-revenue { padding: 14px; border-radius: 15px; }
  .dashboard-focus-grid .calendar-head h2,
  .dashboard-focus-grid .revenue-head h2 { font-size: 19px; }
  .dashboard-focus-grid .revenue-team-grid { grid-template-columns: 1fr; }
}
