.plan-resource-section {
  z-index: 3;
  color: #31444d;
  background: #edf1f3;
  border-bottom: 1px solid var(--tip-line);
  align-items: center;
  gap: 12px;
  min-height: 34px;
  padding: 5px 8px;
  display: flex;
  position: sticky;
  left: 0;
}

.plan-resource-section strong {
  min-width: 82px;
  font-size: 11px;
}

.plan-resource-section span {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 9px;
  overflow: hidden;
}

.plan-sales-resource > div {
  gap: 2px;
  display: grid;
}

.plan-whatsapp-group {
  color: #176b3a;
  overflow-wrap: anywhere;
  font-size: 9px;
  font-weight: 600;
}

.plan-whatsapp-mode {
  color: #53636b;
  line-height: 1.15;
}

.plan-whatsapp-mode.ready {
  color: #27633f;
}

.plan-whatsapp-mode.missing {
  color: #8a5a16;
}

.plan-driver-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

.plan-driver-actions button {
  min-height: 48px;
}

.staging-test-role {
  color: #2b1e00;
  background: #ffd75e;
  border: 1px solid #fff0aa;
  border-radius: 4px;
  align-items: center;
  gap: 4px;
  max-width: 720px;
  padding: 3px 5px;
  display: flex;
}

.staging-test-role strong {
  white-space: nowrap;
  max-width: 250px;
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.staging-test-role select,
.staging-test-role button {
  min-height: 26px;
  max-width: 150px;
  padding: 3px 5px;
  font-size: 9px;
}

.staging-test-role .error {
  color: #841818;
  max-width: 180px;
}

@media (max-width: 1366px) {
  .staging-test-role strong {
    max-width: 130px;
  }

  .staging-test-role select {
    max-width: 105px;
  }
}

@media (max-width: 760px) {
  .driver-app > main {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
  }

  .driver-status-actions button,
  .plan-driver-actions button {
    min-height: 48px;
    flex: 1 1 46%;
  }
}
