/* Muhurta card. Namespaced .as-* so it cannot collide with style.css,
 * theme-v4.css, cas.css, phase.css or fwd.css.
 *
 * Colour here means the classical classification of a window, NOT money and
 * NOT a trading signal: green is an auspicious Choghadiya, red an inauspicious
 * one. Nothing on this card is derived from, or feeds, any book or score.
 */
.astro-card { display: flex; flex-direction: column; gap: 9px; }
.as-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.as-head .label { flex: 1 1 auto; }
.as-now { font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 9px; border: 1px solid var(--border);
  color: var(--text-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.as-meta { font-size: 10px; color: var(--text-dimmer); font-variant-numeric: tabular-nums; }
.as-empty { font-size: 11px; color: var(--text-dimmer); }

.as-chips { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.as-chip-label { font-size: 9px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-dimmer); margin-right: 1px; }
.as-chip { font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 4px;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.as-chip.good { background: rgba(47, 158, 99, .16); color: #6ee7b7; }
.as-chip.bad { background: rgba(192, 57, 43, .16); color: #fca5a5; }

/* the session as one bar, 09:15 to 15:40 */
.as-bar { position: relative; height: 26px; border-radius: 5px; overflow: hidden;
  background: var(--bg-elev, rgba(255, 255, 255, .03)); }
.as-seg { position: absolute; top: 0; bottom: 0; }
.as-seg.b-FAVOURABLE { background: #2f9e63; }
.as-seg.b-MILD { background: #4b8f6d; }
.as-seg.b-NEUTRAL { background: #545b66; }
.as-seg.b-WEAK { background: #a8762c; }
.as-seg.b-AVOID { background: #b3382c; }
.as-seg.is-now { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.as-mark { position: absolute; top: -2px; bottom: -2px; width: 2px;
  background: #fff; box-shadow: 0 0 4px rgba(0, 0, 0, .6); }
.as-ticks { position: relative; height: 12px; }
.as-tick { position: absolute; top: 0; font-size: 9px; color: var(--text-dimmer);
  transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.as-tick:first-child { transform: none; }
.as-tick:last-child { transform: translateX(-100%); }

.as-line { font-size: 11px; color: var(--text-dim); line-height: 1.45; }
.as-line b { color: var(--text); font-weight: 600; }
.as-line .as-sep { color: var(--text-dimmer); margin: 0 5px; }
.as-note { font-size: 9px; color: var(--text-dimmer); line-height: 1.4; }
.as-legend { display: flex; gap: 9px; flex-wrap: wrap; font-size: 9px;
  color: var(--text-dimmer); }
.as-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px;
  margin-right: 3px; vertical-align: -1px; font-style: normal; }
