/* ishta.css — /ishta-devata/ beyond tool.css and ndasha.css. Colours are var(--…) only; the wax stays the button's, the karakāṁśa is marked in brass. */
#ik-known[hidden],#ik-reason[hidden],#ik-day-box[hidden],#ik-groups-wrap[hidden]{display:none}
#ik-head{font-size:var(--fs-lead);line-height:var(--lh-body);color:var(--text-ink);margin:var(--space-3) 0}
.ik-line{line-height:var(--lh-body);color:var(--text-body);margin:var(--space-2) 0 var(--space-3);max-width:44em}
.ik-figure{margin:var(--space-3) 0;max-width:340px}
.ik-figure .sky-island{max-width:none}
.ik-figure .desk-schemes{margin-bottom:var(--space-2)}
#kundli-svg text.ik-kl{fill:var(--accent-struct-text);font-weight:600;text-decoration:underline}
.ik-tab td{white-space:normal}
.ik-tab caption{text-align:left;padding:0 0 var(--space-1)}
.ik-tab thead th.iast,.nd-rules thead th.iast{font-family:var(--font-body)}
.ik-sub{display:block;font-size:var(--fs-caption);line-height:var(--lh-dense);color:var(--text-muted)}
.ik-f{display:block;font-size:var(--fs-small);line-height:var(--lh-dense)}
.ik-f>span+span::before{content:" · ";color:var(--text-muted)}
.ik-sb{white-space:nowrap}
.ik-sb+.ik-sb::before{content:", "}
@media (max-width:600px){.ik-tab{font-size:var(--fs-small);width:100%}.ik-tab th,.ik-tab td{padding:var(--space-1)}
.ik-tab td{overflow-wrap:anywhere}
#ik-d9 tr,#ik-d20-rows tr{display:grid;grid-template-columns:1fr 1fr}
#ik-d60 tr,#ik-moksha tr,#ik-viparita tr,#ik-forms tr,#ik-pravrajya-groups tr{display:grid;grid-template-columns:1fr 1fr}
#ik-d60 tr>:nth-child(5),#ik-moksha tr>:nth-child(n+5),#ik-forms tr>:first-child,#ik-pravrajya-groups tr>:nth-child(2){grid-column:1/-1}
#ik-day tr{display:grid;grid-template-columns:auto auto auto 1fr}#ik-day tr>:nth-child(n+5){grid-column:1/-1}}
