/* Gated PDF bar — top of Daily Market Pulse HTML editions */
.dmp-pdf-gate-wrap {
  position: relative;
  z-index: 90;
  border-bottom: 1px solid rgba(7, 163, 209, 0.22);
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.98) 0%, rgba(10, 14, 26, 0.94) 100%);
  backdrop-filter: blur(12px);
}
.dmp-pdf-gate {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
}
.dmp-pdf-gate-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.dmp-pdf-gate-copy {
  flex: 1 1 220px;
  min-width: 0;
}
.dmp-pdf-gate-copy h2 {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-dark-1, #f4f6f8);
  letter-spacing: 0.01em;
}
.dmp-pdf-gate-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fg-dark-3, rgba(255, 255, 255, 0.55));
}
.dmp-pdf-gate-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 280px;
}
.dmp-pdf-gate-form input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  font: inherit;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(7, 163, 209, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg-dark-1, #f4f6f8);
}
.dmp-pdf-gate-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.dmp-pdf-gate-form button {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #ff4f00, #ff7900);
  color: #fff;
  white-space: nowrap;
}
.dmp-pdf-gate-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.dmp-pdf-gate-status {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  min-height: 1.1em;
  flex: 1 1 100%;
}
.dmp-pdf-gate-status.is-error {
  color: #f87171;
}
.dmp-pdf-gate-dl[hidden] {
  display: none !important;
}
.dmp-pdf-gate-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  background: rgba(7, 163, 209, 0.15);
  border: 1px solid rgba(7, 163, 209, 0.45);
  color: #9ee7ff;
}
.dmp-pdf-gate-dl-btn:hover {
  background: rgba(7, 163, 209, 0.25);
  color: #fff;
}
@media (max-width: 640px) {
  .dmp-pdf-gate {
    padding: 14px 16px;
  }
  .dmp-pdf-gate-form {
    flex-direction: column;
    align-items: stretch;
  }
  .dmp-pdf-gate-form button {
    width: 100%;
  }
}
