.hc-source-exact {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 8px 0 18px;
  color: #6b7280;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hc-source-exact *,
.hc-source-exact *::before,
.hc-source-exact *::after {
  box-sizing: border-box;
}

.hc-source-exact section {
  width: min(1400px, calc(100% - 40px)) !important;
  max-width: 1400px !important;
  margin: 0 auto 28px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.hc-source-exact .container,
.hc-source-exact .mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.hc-source-exact .px-6 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hc-source-exact .contact-card {
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  border-radius: 1rem !important;
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 60px rgba(236, 72, 157, 0.15) !important;
  color: #6b7280;
  transform: none !important;
}

.hc-source-exact h2,
.hc-source-exact h3,
.hc-source-exact h4,
.hc-source-exact p,
.hc-source-exact span,
.hc-source-exact li {
  letter-spacing: 0;
}

.hc-source-exact button,
.hc-source-exact a {
  pointer-events: auto !important;
  font: inherit;
}

.hc-source-exact button {
  border: 0;
}

.hc-source-exact svg {
  flex-shrink: 0;
}

.hc-source-exact .btn,
.hc-source-exact .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hc-source-exact .btn-primary {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(99, 101, 240, 0.95), rgba(170, 89, 247, 0.95), rgba(236, 74, 157, 0.95));
}

.hc-source-exact .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(31, 42, 53, 0.12);
}

.hc-source-exact .animate-fade-in-up {
  animation: hcSourceFadeUp 0.72s ease both;
}

.hc-source-exact .animate-slide-in-left {
  animation: hcSourceSlideLeft 0.72s ease both;
}

.hc-source-exact .animate-slide-in-right {
  animation: hcSourceSlideRight 0.72s ease both;
}

.hc-source-exact .animate-scale-in {
  animation: hcSourceScaleIn 0.72s ease both;
}

.hc-source-exact [id$="-card-inner"]:hover,
.hc-source-exact #progress-tracking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(236, 72, 157, 0.22) !important;
}

.hc-source-exact #emotion-card,
.hc-source-exact #sleep-card,
.hc-source-exact #journal-card {
  scrollbar-width: thin;
  scrollbar-color: rgba(236, 72, 157, 0.45) rgba(99, 102, 241, 0.08);
}

.hc-source-exact #emotion-card::-webkit-scrollbar,
.hc-source-exact #sleep-card::-webkit-scrollbar,
.hc-source-exact #journal-card::-webkit-scrollbar {
  width: 8px;
}

.hc-source-exact #emotion-card::-webkit-scrollbar-thumb,
.hc-source-exact #sleep-card::-webkit-scrollbar-thumb,
.hc-source-exact #journal-card::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(236, 72, 157, 0.45);
}

.hc-source-exact #journal-entry-buttons {
  max-width: 100%;
}

.hc-source-exact #journal-entry-buttons button {
  min-width: 0;
  white-space: nowrap;
}

@keyframes hcSourceFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hcSourceSlideLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hcSourceSlideRight {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hcSourceScaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hc-source-exact .hover\:opacity-10:hover {
  opacity: 0.1 !important;
}

@media (max-width: 1000px) {
  .hc-source-exact [style*="grid-template-columns: repeat(3"],
  .hc-source-exact [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .hc-source-exact [style*="height: 600px"] {
    height: auto !important;
    max-height: none !important;
  }

  .hc-source-exact [style*="white-space: nowrap"] {
    white-space: normal !important;
  }
}

@media (max-width: 720px) {
  .hc-source-exact section {
    width: min(100% - 24px, 1400px) !important;
  }

  .hc-source-exact .contact-card {
    padding: 1rem !important;
  }

  .hc-source-exact h2 {
    font-size: clamp(1.8rem, 8vw, 2.35rem) !important;
  }

  .hc-source-exact #journal-entry-buttons {
    gap: 0.35rem !important;
    padding-bottom: 0.2rem !important;
  }

  .hc-source-exact #journal-entry-buttons button {
    padding: 0.22rem 0.55rem !important;
    font-size: 0.8rem !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 420px) {
  .hc-source-exact #journal-entry-buttons {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
  }
}
