.blpg-wrap {
  --bl-yellow: #f3d400;
  --bl-black: #121212;
  --bl-border: #dedede;
  --bl-muted: #666;
  max-width: 1120px;
  margin: 24px auto;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--bl-black);
}

.blpg-header {
  background: linear-gradient(135deg, var(--bl-black), #2a2a2a);
  color: white;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.blpg-header h2 {
  margin: 0 0 8px;
  color: var(--bl-yellow);
}

.blpg-form,
.blpg-card {
  background: #fff;
  border: 1px solid var(--bl-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.blpg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.blpg-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

.blpg-grid label span {
  font-size: 14px;
}

.blpg-grid input,
.blpg-grid textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  box-sizing: border-box;
}

.blpg-grid .blpg-full {
  grid-column: 1 / -1;
}

.blpg-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.blpg-actions button,
.blpg-secondary {
  background: var(--bl-yellow);
  color: var(--bl-black);
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}

.blpg-secondary {
  background: #f6f6f6;
  border: 1px solid #ddd;
}

#blpg-status {
  color: var(--bl-muted);
  font-size: 14px;
}

#blpg-status.is-error {
  color: #b42318;
}

.blpg-results {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.blpg-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.blpg-card-header h3 {
  margin: 0;
}

.blpg-tactic {
  padding: 16px;
  border: 1px solid #ececec;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fcfcfc;
}

.blpg-tactic h4 {
  margin: 0 0 10px;
}

.blpg-table,
.blpg-email-table {
  width: 100%;
  border-collapse: collapse;
}

.blpg-table th,
.blpg-table td,
.blpg-email-table th,
.blpg-email-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.blpg-table thead th,
.blpg-email-table thead th {
  background: var(--bl-black);
  color: var(--bl-yellow);
}

.blpg-table .is-total td,
.blpg-email-table .is-total td {
  font-weight: 700;
  background: #fffbe6;
}

.blpg-email-output {
  background: #fffdf3;
  border: 1px solid #f3e9a7;
  border-radius: 12px;
  padding: 18px;
}

.blpg-email-shell {
  background: #ffffff;
}

.blpg-email-copy {
  max-width: 900px;
}

.blpg-email-section {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: #111111;
}

.blpg-email-section span:first-child {
  display: inline-block;
  margin-right: 8px;
}

.blpg-email-highlight {
  background: #f3e400;
  padding: 0 4px;
}

.blpg-email-rule {
  border: 0;
  border-top: 2px solid #b8b8b8;
  margin: 26px 0;
}

.blpg-email-table-wrap {
  margin: 18px 0 26px;
}

.blpg-email-table {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

.blpg-email-table th {
  font-weight: 700;
}

.blpg-email-table td:first-child,
.blpg-email-table th:first-child {
  width: 42%;
}

@media (max-width: 800px) {
  .blpg-grid {
    grid-template-columns: 1fr;
  }

  .blpg-card-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

.blpg-help,.blpg-notes-count{display:block;margin-top:6px;font-size:12px;color:#cfcfcf;}
