/* badhaka.css — /badhaka-maraka/ beyond tool.css and ndasha.css. Colours are var(--…) only; the wax stays the button's, the marked houses are brass. */
#bm-known[hidden],#bm-reason[hidden],#bm-horizon-empty[hidden],#bm-periods-none[hidden]{display:none}
.cd-moment{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:flex-end;margin:var(--space-3) 0 var(--space-2)}
.cd-moment .desk-field{min-width:0;flex:1 1 9rem}
#bm-head{font-size:var(--fs-lead);line-height:var(--lh-body);color:var(--text-ink);margin:var(--space-3) 0}
.cd-line{line-height:var(--lh-body);color:var(--text-body);margin:var(--space-2) 0 var(--space-3);max-width:44em}
.cd-figure,.bm-arcs-fig{margin:var(--space-3) 0;max-width:340px}
.cd-figure .sky-island{max-width:none}
.cd-lanes-fig{margin:var(--space-3) 0}
.nd-svg.sky-island{max-width:none;margin:0;padding:0}
#bm-arcs,#bm-lanes{width:100%;height:auto}
#kundli-svg text.bm-h-maraka,#kundli-svg text.bm-h-dus,#kundli-svg text.bm-h-badhaka{fill:var(--accent-struct-text);font-weight:600}
.nd-svg .bm-ring{fill:none;stroke:var(--hairline);stroke-width:1}
.nd-svg .bm-sec{fill:none;stroke:var(--hairline);stroke-width:.8}
.nd-svg .bm-sl{font-family:var(--font-body);fill:var(--text-muted)}
.nd-svg .bm-arc{fill:none;stroke:var(--accent-struct);stroke-width:9;stroke-linecap:butt}
.nd-svg .bm-arc[data-arc=khara]{stroke-opacity:.5}
.nd-svg .bm-g{fill:var(--text-ink)}
.nd-svg .bm-gl{font-family:var(--font-body);fill:var(--text-body)}
.nd-svg .bm-pt{fill:var(--accent-struct-text)}
.nd-svg .bm-lane{fill:transparent;stroke:var(--hairline);stroke-width:.8}
.nd-svg .bm-pe{fill:var(--accent-struct);fill-opacity:.6}
.nd-svg .bm-tr{fill:var(--accent-struct-text)}
.nd-svg .bm-now{stroke:var(--text-ink);stroke-width:2}
.nd-svg .nd-tick-label{font-family:var(--font-body);fill:var(--text-muted)}
.nd-svg .bm-a0{text-anchor:start}
.nd-svg .bm-a1{text-anchor:end}
.cd-tab td{white-space:normal}
.cd-sub{display:block;font-size:var(--fs-caption);line-height:var(--lh-dense);color:var(--text-muted)}
.cd-tab thead th.iast,.nd-rules thead th.iast{font-family:var(--font-body)}
@media (max-width:600px){.cd-tab{font-size:var(--fs-small);width:100%}.cd-tab th,.cd-tab td{padding:var(--space-1)}
.cd-tab td{overflow-wrap:anywhere}
#bm-dus tr,#bm-maraka-houses tr,#bm-lights tr,#bm-transits tr,#bm-periods tr{display:grid;grid-template-columns:1fr 1fr}}
@media (min-width:600px){#bm-transits td:nth-child(n+3),#bm-periods td:nth-child(-n+3){white-space:nowrap}}
