/* ============================================================
   ACTION GRID — DripJobs-style Buttons + Comm Panel + Scale
   ============================================================
   Source: css/styles.css lines 2936-3039
   ============================================================ */

.fp-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  max-width: 480px;
}
.fp-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.78rem;
  min-height: 52px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.fp-action-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.fp-action-btn:active:not(:disabled) {
  transform: translateY(0);
}
.fp-action-btn-call {
  background: var(--green);
  color: white;
}
.fp-action-btn-map {
  background: var(--blue);
  color: white;
}
.fp-action-btn-text {
  background: var(--purple);
  color: white;
}
.fp-action-btn-deal {
  background: var(--navy-lighter);
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}
.fp-action-btn-deal:hover:not(:disabled) {
  border-color: var(--gold);
}

/* EMBEDDED COMMUNICATION PANEL */
.fp-comm-panel {
  background: rgba(11, 22, 42, 0.5);
  border-radius: var(--radius);
  padding: 0.75rem;
}
.fp-comm-messages {
  scrollbar-width: thin;
  scrollbar-color: var(--navy-lighter) transparent;
}
.fp-comm-messages::-webkit-scrollbar {
  width: 4px;
}
.fp-comm-messages::-webkit-scrollbar-track {
  background: transparent;
}
.fp-comm-messages::-webkit-scrollbar-thumb {
  background: var(--navy-lighter);
  border-radius: 4px;
}
.fp-comm-input-bar input:focus {
  outline: none;
  border-color: var(--gold-dim);
}

@media (max-width: 768px) {
  .fp-action-grid {
    padding: 0.5rem 1rem;
    max-width: 100%;
  }
  .fp-action-btn {
    min-height: 48px;
    font-size: 0.72rem;
  }
}

/* V3.36: Scale up customer edit/detail content on large screens */
@media (min-width: 1440px) {
  .customer-info-panel { font-size: 120%; }
  .customer-info-panel .detail-row { font-size: 1rem; }
  .customer-info-panel .detail-name { font-size: 1.5rem; }
  .customer-info-panel .contact-btn { font-size: 0.85rem; padding: 0.4rem 0.75rem; }
  .customer-info-panel .cust-type,
  .customer-info-panel .cust-stage { font-size: 0.78rem; }
  .customer-jobs-panel { font-size: 120%; }
  #modal-customer-detail .fp-scroll-body { font-size: 120%; }
  #modal-customer-detail .detail-name { font-size: 1.5rem; }
  #modal-customer-detail .detail-row { font-size: 1rem; }
  #modal-customer-detail .contact-btn { font-size: 0.85rem; padding: 0.4rem 0.75rem; }
}
