
/* Dashboard + AI polish */
.postnow-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 18px;
  align-items:center;
}
.postnow-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  background:#f1f5f9;
  border:1px solid #dbe2ea;
  border-radius:12px;
  color:#0f172a;
  font-weight:700;
  font-size:14px;
}
.postnow-nav a.is-active{
  background:#1f3a8a;
  border-color:#1f3a8a;
  color:#fff;
}
.postnow-nav-label{
  width:100%;
  margin-top:6px;
  color:#64748b;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.postnow-box{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:18px;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}
.postnow-box h2,
.postnow-box h3{
  margin-top:0;
  color:#0f172a;
}
.postnow-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:14px 0 18px;
}
.postnow-stats > div{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:14px;
  text-align:center;
}
.postnow-stats strong{
  display:block;
  font-size:26px;
  line-height:1.1;
  color:#111827;
}
.postnow-stats span{
  display:block;
  margin-top:6px;
  color:#64748b;
  font-size:13px;
}
.postnow-update-grid,
.postnow-listings-grid{
  margin-top:18px;
}
.postnow-update-cards,
.postnow-listings-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.postnow-update-card,
.postnow-listing-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:16px;
}
.postnow-update-card strong,
.postnow-listing-card strong{
  display:block;
  font-size:17px;
  margin-bottom:8px;
}
.postnow-update-card p,
.postnow-listing-card p{
  margin:0 0 10px;
  color:#475569;
}
.postnow-button,
.postnow-btn-primary,
.postnow-btn-secondary,
.postnow-btn-success{
  box-shadow:none;
}
.postnow-ai-box{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:18px;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}
.postnow-ai-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.postnow-ai-head h3{
  margin:0 0 6px;
  font-size:24px;
}
.postnow-ai-head p{
  margin:0;
  color:#64748b;
}
.postnow-ai-credit-pill{
  min-width:90px;
  border-radius:14px;
  background:#eef2ff;
  padding:10px 12px;
  text-align:center;
}
.postnow-ai-credit-pill strong{
  display:block;
  font-size:22px;
}
.postnow-ai-credit-pill span{
  font-size:12px;
  color:#475569;
}
.postnow-ai-meta{
  margin:12px 0 14px;
  color:#475569;
  font-size:14px;
}
.postnow-ai-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
}
.postnow-ai-tool{
  min-height:48px;
  padding:0 14px;
  border:none;
  border-radius:14px;
  background:#111827;
  color:#fff;
  font-weight:700;
}
.postnow-ai-context{
  display:grid;
  gap:8px;
  margin-bottom:14px;
}
.postnow-ai-context label{
  font-size:13px;
  font-weight:700;
  color:#334155;
}
.postnow-ai-context textarea,
.postnow-ai-context select{
  width:100%;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:12px 14px;
  background:#fff;
}
.postnow-ai-result{
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:14px;
  background:#f8fafc;
}
.postnow-ai-result-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.postnow-ai-copy{
  border:none;
  border-radius:10px;
  padding:8px 12px;
  background:#e2e8f0;
}
.postnow-ai-output{
  white-space:pre-wrap;
  margin:0;
  font-family:inherit;
  color:#0f172a;
}
.postnow-ai-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
.postnow-ai-actions button{
  min-height:44px;
  border:none;
  border-radius:12px;
  background:#e2e8f0;
  font-weight:700;
}
.postnow-cta-bar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.postnow-cta-bar .postnow-contact-action,
.postnow-cta-bar .postnow-gated-contact{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 14px;
  border-radius:12px;
  font-weight:700;
  border:none;
}
.postnow-cta-bar a.postnow-contact-action{
  background:#16a34a;
  color:#fff;
}
.postnow-cta-bar button.postnow-gated-contact{
  background:#fff7ed;
  color:#9a3412;
  border:1px solid #fdba74;
}
@media (max-width: 768px){
  .postnow-stats{
    grid-template-columns:1fr;
  }
  .postnow-update-cards,
  .postnow-listings-grid,
  .postnow-ai-grid,
  .postnow-ai-actions{
    grid-template-columns:1fr;
  }
  .postnow-nav{
    gap:8px;
  }
  .postnow-nav a{
    min-height:38px;
    padding:0 12px;
    font-size:13px;
  }
  .postnow-box,
  .postnow-ai-box{
    padding:16px;
    border-radius:16px;
  }
}
