/* AstroCEO - Vedic chart display (src/vedic-ui.js): the My Universe section and the free calculator /vedic-chart/.
   Works in both: in the app it follows the view accent (--mo-a, --mo-a2), on the tool page the gold of blog.css.
   Logical properties only, so Arabic (right to left) needs nothing more. */
.vd { --vd-acc: var(--mo-a2, var(--gold2, #F4D58A)); --vd-acc1: var(--mo-a, var(--gold, #E0B15A)); --vd-fg: var(--fg, #eef0f8); --vd-faint: var(--muted, #b9bdd3); --vd-line: rgba(224, 177, 90, .5); --vd-lagna: rgba(224, 177, 90, .16); --vd-bg: rgba(255, 255, 255, .03);
  display: grid; gap: 14px; min-width: 0; text-align: start }
.vd * { box-sizing: border-box }
.vd h3 { font-size: 1rem; margin: 10px 0 4px }
.vd p { margin: 0 0 6px; line-height: 1.55; overflow-wrap: anywhere }
.vd-ltr { direction: ltr; unicode-bidi: isolate }
.vd-k { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--vd-acc1) }
[dir=rtl] .vd-k { letter-spacing: 0 }
.vd-notime, .vd-why { border-radius: 16px; padding: 12px 14px; background: rgba(8, 10, 28, .42); border-inline-start: 3px solid var(--vd-acc1) }
.vd-why h3 { margin-top: 0 } .vd-why p, .vd-notime p { font-size: .93rem }
.vd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px }
.vd-card { border-radius: 18px; padding: 14px; background: rgba(8, 10, 28, .42); display: grid; gap: 4px; align-content: start; min-width: 0 }
.vd-card b, .vd-card .vd-b { font-size: 1.12rem; font-weight: 700; overflow-wrap: anywhere }
.vd-card small { color: var(--vd-faint); font-size: .8rem; line-height: 1.45 }
.vd-card.no b { color: var(--vd-faint) }
.vd-fig { margin: 0; display: grid; gap: 8px; justify-items: center }
.vd-fig h3 { justify-self: start }
.vd-chartbox { width: 100%; max-width: 420px }
.vd-chart { width: 100%; height: auto; display: block; font-family: inherit }
.vd-note { font-size: .86rem; color: var(--faint, #8f94ad) }
.vd-lead { font-weight: 600 }
.vd-txt { max-width: 72ch }
.vd-scroll { overflow-x: auto; max-width: 100% }
.vd-table { width: 100%; border-collapse: collapse; font-size: .9rem }
.vd-table th, .vd-table td { text-align: start; padding: 7px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); vertical-align: top }
.vd-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--vd-faint) }
[dir=rtl] .vd-table th { letter-spacing: 0 }
.vd-sk { display: block; color: var(--vd-faint); font-size: .78rem }
.vd-dig { display: inline-block; margin-inline-start: 6px; font-size: .72rem; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--vd-faint); white-space: nowrap }
.vd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .92rem; line-height: 1.5 }
.vd-periods li { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; padding: 6px 10px; border-radius: 10px; background: rgba(8, 10, 28, .3) }
.vd-periods li b { min-width: 5.5em } .vd-periods li.on { outline: 1px solid var(--vd-acc1) }
.vd-houses { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px }
.vd-house { border-radius: 16px; padding: 12px; background: rgba(8, 10, 28, .38); min-width: 0 }
.vd-house p { font-size: .86rem; color: var(--vd-faint); margin: 4px 0 } .vd-house small { font-size: .8rem; color: var(--faint, #8f94ad) }
.vd-review { margin: 0 }
.vd-review span { display: inline-block; font-size: .8rem; padding: 5px 11px; border-radius: 999px; border: 1px dashed var(--vd-acc1); color: var(--vd-acc) }
.vd-disc { font-size: .8rem; color: var(--faint, #8f94ad) }
.vd-link { color: var(--vd-acc); font-weight: 600; font-size: .9rem }
.vd-slot { min-height: 120px }
/* tool page */
#vdOut { text-align: start } #vdOut[hidden], #vdCta[hidden] { display: none }
#vdOut > h2 { margin-top: 18px }
.vd-static .vd-item { margin: 10px 0 } .vd-static .vd-item h3 { margin: 0 0 2px; font-size: 1rem }
@media (max-width: 599px) { .vd-table { font-size: .8rem } .vd-table th, .vd-table td { padding: 6px 4px } .vd-table th { font-size: .62rem; letter-spacing: 0 } .vd-dig { margin-inline-start: 0; display: table; margin-top: 2px } }
