/* Keep the Enterprise entry card readable and compact on the public Plans page. */
body.ca-public-clean .ca-plan-page .ca-enterprise-plan-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 16px;
  overflow: visible;
  border: 2px solid #38bdf8 !important;
  background:
    radial-gradient(circle at 94% 4%, rgba(103, 213, 255, 0.24), transparent 30%),
    radial-gradient(circle at 6% 100%, rgba(110, 231, 183, 0.12), transparent 28%),
    linear-gradient(150deg, #153b59 0%, #0d2741 58%, #081a2d 100%) !important;
  color: #f8fbff !important;
  box-shadow: 0 22px 54px rgba(15, 52, 82, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-card::before {
  content: none !important;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-card .ca-plan-pill,
body.ca-public-clean .ca-plan-page .ca-enterprise-rank-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.2;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-card .ca-plan-pill {
  margin: 0;
  border: 1px solid #88e2ff !important;
  background: #174765 !important;
  color: #e8faff !important;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-rank-badge {
  border: 1px solid #fde68a;
  background: #3f3416;
  color: #fff4bd;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-card h3 {
  margin: 2px 0 0;
  color: #ffffff !important;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-summary {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(136, 226, 255, 0.5);
  border-radius: 16px;
  background: rgba(8, 31, 53, 0.72);
  padding: 15px 16px;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-summary strong {
  color: #ffffff;
  font-size: 1.08rem;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-summary span {
  color: #d7e5f3;
  font-size: 0.94rem;
  line-height: 1.5;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-points li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  color: #e1edf7 !important;
  line-height: 1.45;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-points li::before {
  content: "✓";
  color: #67d5ff;
  font-weight: 950;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-card .ca-public-actions {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(215, 229, 243, 0.28);
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-card button {
  width: 100%;
  min-height: 48px;
  border: 1px solid #b8eeff !important;
  background: linear-gradient(135deg, #67d5ff, #38bdf8) !important;
  color: #03111f !important;
  box-shadow: 0 12px 26px rgba(14, 165, 233, 0.25) !important;
  font-weight: 950 !important;
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-card button:hover {
  border-color: #ffffff !important;
  background: linear-gradient(135deg, #b8eeff, #67d5ff) !important;
  transform: translateY(-2px);
}

body.ca-public-clean .ca-plan-page .ca-enterprise-plan-card button:focus-visible {
  outline: 3px solid #0f172a;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(103, 213, 255, 0.58) !important;
}

@media (max-width: 580px) {
  body.ca-public-clean .ca-plan-page .ca-enterprise-plan-head {
    align-items: flex-start;
    flex-direction: column;
  }

  body.ca-public-clean .ca-plan-page .ca-enterprise-plan-card .ca-plan-pill,
  body.ca-public-clean .ca-plan-page .ca-enterprise-rank-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
