/* Karma Fixity panel — Dridha / Dridha-Adridha / Adridha per life area.
   Theme-var driven (matches about-you.css / components.css conventions). */

.kf-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 12px 16px 56px;
}

.kf-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}

.kf-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size:var(--fs-micro);
  letter-spacing: .03em;
  padding: 2px 9px;
  border-radius: 11px;
  border: 1px solid var(--hair, #e7e0d8);
  white-space: nowrap;
}
.kf-fixed { color: #8a5a1a; background: rgba(184, 134, 40, 0.10); border-color: rgba(184,134,40,.35); }
.kf-mixed { color: #4a6b7a; background: rgba(74, 107, 122, 0.10); border-color: rgba(74,107,122,.32); }
.kf-free  { color: #4a7a55; background: rgba(74, 122, 85, 0.10);  border-color: rgba(74,122,85,.32); }

.kf-row {
  border: 1px solid var(--hair, #e7e0d8);
  border-radius: 10px;
  margin: 8px 0;
  padding: 4px 14px;
  background: var(--card, #fcfbf9);
}
.kf-row > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px 0;
  list-style: none;
}
.kf-row > summary::-webkit-details-marker { display: none; }
.kf-topic {
  font-family: 'Cormorant Garamond', 'Spectral', serif;
  font-size:var(--fs-lead);
  color: var(--ink, #2a2622);
  flex: 1;
}
.kf-conf {
  font-size:var(--fs-micro);
  color: var(--muted, #7a7068);
  font-variant-numeric: tabular-nums;
}
.kf-claim {
  margin: 4px 0 8px;
  color: var(--ink, #2a2622);
  line-height: 1.6;
  font-size:var(--fs-body);
}
.kf-layers {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}
.kf-layers li {
  font-size:var(--fs-label);
  line-height: 1.5;
  padding: 2px 0 2px 4px;
  color: var(--muted, #7a7068);
}
.kf-layers li.kf-on  { color: var(--ink, #2a2622); }
.kf-layers li.kf-off { opacity: 0.7; }

.kf-disclaimer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--hair, #e7e0d8);
  font-size:var(--fs-label);
  font-style: italic;
  line-height: 1.6;
  color: var(--muted, #7a7068);
}

.kf-loading, .kf-error {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted, #7a7068);
  font-size:var(--fs-body);
}
.kf-error { color: #b3261e; }

/* Dark theme — mirror about-you.css handling if the desk exposes a dark root */
:root[data-theme="dark"] .kf-row { background: rgba(255,255,255,0.03); }
:root[data-theme="dark"] .kf-fixed { color: #d9a94e; }
:root[data-theme="dark"] .kf-mixed { color: #8fbcd0; }
:root[data-theme="dark"] .kf-free  { color: #8fd0a0; }
