/* PTP_COMMAND_CENTER_V1_1 */
.ptp-command-greeting {
  margin-top: 8px;
}

.ptp-command-greeting strong {
  display: block;
  color: #334155;
  font-size: 14px;
}

.ptp-command-greeting span {
  display: block;
  margin-top: 3px;
  color: #8190a8;
  font-size: 12px;
}

.ptp-command-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 17px;
}

.ptp-command-quick-actions button {
  min-height: 39px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #fff;
  padding: 8px 13px;
  color: #334155;
  font-weight: 800;
  cursor: pointer;
}

.ptp-command-quick-actions button:first-child {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.ptp-command-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.ptp-command-finance {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.ptp-command-stat.unscheduled strong {
  color: #7c3aed;
}

.ptp-command-finance .ptp-command-loss-value strong {
  color: #b91c1c;
}

.ptp-command-client-button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.ptp-command-client-button:hover {
  background: #f8fafc;
}

.ptp-command-queue-tag {
  display: inline-flex;
  margin-top: 4px;
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.ptp-command-queue-tag.overdue {
  background: #fef2f2;
  color: #b91c1c;
}

.ptp-command-queue-tag.today {
  background: #fff7ed;
  color: #c2410c;
}

.ptp-command-queue-tag.urgent {
  background: #fef2f2;
  color: #dc2626;
}

.ptp-command-queue-tag.upcoming {
  background: #eff6ff;
  color: #2563eb;
}

@media (max-width: 1200px) {
  .ptp-command-stats,
  .ptp-command-finance {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  .ptp-command-stats,
  .ptp-command-finance {
    grid-template-columns: 1fr !important;
  }

  .ptp-command-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}