.kp-page h1.heading {
  font-weight: 600;
  margin-top: 1rem;
}

.kp-form .form-label {
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
  color: #555;
}

#kpResult .nav-tabs .nav-link {
  font-size: 0.95rem;
}

.kp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.kp-table th,
.kp-table td {
  border: 1px solid #e5e5e5;
  padding: 6px 8px;
  vertical-align: top;
  text-align: left;
}

.kp-table th {
  background: #f7f5ff;
  font-weight: 600;
  color: #3a2f7a;
  white-space: nowrap;
}

.kp-table tbody tr:nth-child(odd) td {
  background: #fafaff;
}

.kp-table .planet-cell {
  font-weight: 600;
}

.kp-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: #ece6ff;
  color: #4a36b0;
  margin: 0 2px 2px 0;
  white-space: nowrap;
}

.kp-badge.role {
  background: #fff4d6;
  color: #8a5d00;
}

.kp-raw {
  max-height: 60vh;
  overflow: auto;
  font-size: 0.75rem;
  background: #1e1e1e;
  color: #f8f8f2;
  padding: 12px;
  border-radius: 4px;
}

.kp-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.25rem;
  color: #3a2f7a;
}

.kp-retro {
  color: #c0392b;
  font-weight: 600;
  margin-left: 4px;
}

.kp-empty {
  color: #888;
  font-style: italic;
  font-size: 0.85rem;
  padding: 1rem 0;
}

.kp-table.kp-nadi-simple {
  max-width: 720px;
  font-size: 0.95rem;
}

.kp-table.kp-nadi-simple th,
.kp-table.kp-nadi-simple td {
  text-align: center;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.kp-chart-panel .northindianchart_wrapper {
  margin: 1rem auto 0;
}

.kp-chart-panel .northindianchart_wrapper p {
  font-size: 12px;
  line-height: 1.25;
  max-width: 90px;
  text-align: center;
}

.kp-chart-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.kp-house-label {
  font-weight: 700;
  color: #3a2f7a;
}

.kp-llm-text {
  min-height: 24rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.85rem;
  line-height: 1.45;
  white-space: pre;
}
