/*
 * Telugu Daily Calendar — Vedic Rishi design language.
 * Fonts: Open Sans (UI) + Laila (headings) + Noto Sans Telugu
 * Colors: cream #fff8f0, brand #b82337, navy #0e1832, gold #c4884a
 */

body.tdc-ui-vedic {
  /* Vedic Rishi palette + Open Sans / Laila */
  --vr-paper: #fff8f0;
  --vr-surface: #ffffff;
  --vr-surface-soft: #faf5ec;
  --vr-surface-warm: #fbf8f2;
  --vr-ink: #0e1832;
  --vr-ink-2: #2b2620;
  --vr-mute: #5e5446;
  --vr-mute-2: #9a948b;
  --vr-line: #e3b483;
  --vr-line-soft: #f3ece0;
  --vr-line-strong: #c4884a;
  --vr-brand: #b82337;
  --vr-accent: #b82337;
  --vr-accent-hover: #9a1d2e;
  --vr-accent-soft: #fff7ed;
  --vr-orange: #ea580c;
  --vr-gold: #c4884a;
  --vr-good: #15803d;
  --vr-bad: #b82337;
  --vr-sans: "Open Sans", "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --vr-display: "Laila", "Open Sans", ui-serif, Georgia, serif;
  --vr-te: "Noto Sans Telugu", "Open Sans", "Source Sans 3", sans-serif;
  --vr-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --vr-w: 1160px;
  --vr-px: 24px;
  --vr-header-h: 76px;
  --vr-radius: 12px;
  --vr-radius-sm: 8px;
}

@media (max-width: 720px) {
  body.tdc-ui-vedic { --vr-px: 16px; }
}

html.tdc-ui-vedic-root,
html.tdc-ui-vedic-root body.tdc-ui-vedic,
body.tdc-ui-vedic,
body.tdc-ui-vedic.home,
body.tdc-ui-vedic.tdc-inner {
  background: var(--vr-paper);
  color: var(--vr-ink);
  font-family: var(--vr-sans);
  -webkit-font-smoothing: antialiased;
}

body.tdc-ui-vedic * { box-sizing: border-box; }

body.tdc-ui-vedic a { color: var(--vr-ink); text-decoration: none; }
body.tdc-ui-vedic a:hover { color: var(--vr-accent); }

body.tdc-ui-vedic .telugu,
body.tdc-ui-vedic [lang="te"] { font-family: var(--vr-te); }

body.tdc-ui-vedic summary::-webkit-details-marker { display: none; }

/* Kill legacy chrome */
body.tdc-ui-vedic .utility-bar,
body.tdc-ui-vedic .tdc-vedic-panchang-ticker,
body.tdc-ui-vedic .tdc-vedic-secondary-nav,
body.tdc-ui-vedic .tdc-vedic-hero,
body.tdc-ui-vedic .cds-footer,
body.tdc-ui-vedic .cds-tip,
body.tdc-ui-vedic .cds-quote,
body.tdc-ui-vedic .cds-festivals,
body.tdc-ui-vedic .cal-home-jump,
body.tdc-ui-vedic .ad-slot,
body.tdc-ui-vedic .site-logo__mark,
body.tdc-ui-vedic .site-logo__svg,
body.tdc-ui-vedic .site-logo__subtitle {
  display: none !important;
}

/* ========== HEADER ========== */
body.tdc-ui-vedic .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vr-line-soft);
  box-shadow: 0 1px 0 rgba(14, 24, 50, 0.04);
  padding: 0;
}

body.tdc-ui-vedic .site-header__inner {
  max-width: var(--vr-w);
  margin: 0 auto;
  padding: 0 var(--vr-px);
  min-height: var(--vr-header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

body.tdc-ui-vedic .site-logo { flex: 0 0 auto; color: var(--vr-ink); }
body.tdc-ui-vedic .site-logo__text { padding: 0; background: none; border: none; }
body.tdc-ui-vedic .site-logo__title {
  font-family: var(--vr-display);
  font-weight: 600;
  font-size: clamp(21px, 2.4vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--vr-brand);
  text-transform: none;
}

body.tdc-ui-vedic .site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-left: auto;
  flex: 0 1 auto;
  background: none;
  border: none;
  padding: 0;
}
body.tdc-ui-vedic .site-nav ul,
body.tdc-ui-vedic .site-nav .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
body.tdc-ui-vedic .site-nav a,
body.tdc-ui-vedic .site-nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--vr-ink-2);
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--vr-sans);
  text-transform: capitalize;
  white-space: nowrap;
}
body.tdc-ui-vedic .site-nav a:hover,
body.tdc-ui-vedic .site-nav__link:hover { background: #f3ece0; color: var(--vr-brand); }
body.tdc-ui-vedic .site-nav__link.is-active {
  color: var(--vr-brand);
  font-weight: 600;
}

body.tdc-ui-vedic .site-nav-toggle {
  margin-left: auto;
  background: none;
  border: 1px solid var(--vr-line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--vr-ink);
  flex: 0 0 auto;
}
@media (max-width: 900px) {
  body.tdc-ui-vedic { --vr-header-h: 68px; }
  body.tdc-ui-vedic .site-nav-toggle { display: inline-flex; }
  body.tdc-ui-vedic .site-nav { display: none; }
  body.tdc-ui-vedic .site-nav.is-open {
    display: flex; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--vr-surface); border-bottom: 1px solid var(--vr-line-soft);
    padding: 12px var(--vr-px); flex-direction: column;
  }
  body.tdc-ui-vedic .site-nav.is-open ul { flex-direction: column; width: 100%; }
}

body.tdc-ui-vedic .site-header__extras {
  display: flex; align-items: center; gap: 12px; margin-left: auto; flex: 0 0 auto;
}

body.tdc-ui-vedic .vr-clock {
  font-family: var(--vr-mono); font-size: 12px; color: var(--vr-mute);
  font-variant-numeric: tabular-nums; min-width: 64px; text-align: right;
}

body.tdc-ui-vedic .vr-lang,
body.tdc-ui-vedic .utility-bar__lang {
  display: inline-flex; gap: 2px; padding: 3px;
  background: #f3ece0; border-radius: 8px; border: 1px solid var(--vr-line-soft);
}
body.tdc-ui-vedic .vr-lang__btn,
body.tdc-ui-vedic .utility-bar__lang-btn {
  appearance: none; border: none; cursor: pointer;
  padding: 6px 10px; border-radius: 6px;
  font-family: var(--vr-sans); font-size: 12px; font-weight: 600;
  background: transparent; color: var(--vr-mute);
}
body.tdc-ui-vedic .vr-lang__btn.is-active,
body.tdc-ui-vedic .utility-bar__lang-btn.is-active {
  background: var(--vr-brand); color: #fff;
  box-shadow: none;
}

/* Ticker under header — Vedic Rishi style */
body.tdc-ui-vedic .vr-ticker {
  background: var(--vr-ink);
  border-bottom: none;
  color: #fff;
}
body.tdc-ui-vedic .vr-ticker__inner { color: #f3ece0; }
body.tdc-ui-vedic .vr-ticker__label { color: #e3b483; }
body.tdc-ui-vedic .vr-ticker__value { color: #fff; }
body.tdc-ui-vedic .vr-ticker__sep { color: #c4884a; }
body.tdc-ui-vedic .vr-ticker__link { color: #facc15 !important; }
body.tdc-ui-vedic .vr-ticker__link:hover { color: #fff !important; }
body.tdc-ui-vedic .vr-ticker__inner {
  max-width: var(--vr-w); margin: 0 auto; padding: 8px var(--vr-px);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--vr-ink-2);
}
body.tdc-ui-vedic .vr-ticker__item { display: inline-flex; align-items: center; gap: 6px; }
body.tdc-ui-vedic .vr-ticker__label { color: var(--vr-mute); font-weight: 500; }
body.tdc-ui-vedic .vr-ticker__value { font-weight: 600; color: var(--vr-ink); }
body.tdc-ui-vedic .vr-ticker__value.telugu { font-family: var(--vr-te); }
body.tdc-ui-vedic .vr-ticker__sep { color: var(--vr-mute-2); }
body.tdc-ui-vedic .vr-ticker__link {
  margin-left: auto; color: var(--vr-accent); font-weight: 600; font-size: 13px;
}
body.tdc-ui-vedic .vr-ticker__link:hover { text-decoration: underline; }

/* ========== MAIN SHELL ========== */
body.tdc-ui-vedic .vr-main,
body.tdc-ui-vedic .cal-home-sheet.vr-main {
  max-width: var(--vr-w);
  margin: 0 auto;
  padding: 0 var(--vr-px) 64px;
  background: transparent;
}

body.tdc-ui-vedic .page-layout,
body.tdc-ui-vedic .page-layout--home-sheet {
  max-width: none; background: transparent; padding: 0; border: none;
}

/* ========== HERO ========== */
body.tdc-ui-vedic .vr-hero {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--vr-line-soft);
  margin-bottom: 0;
}
body.tdc-ui-vedic .vr-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--vr-brand);
  font-family: var(--vr-sans);
}
body.tdc-ui-vedic .vr-hero__title {
  margin: 0 0 12px;
  font-family: var(--vr-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--vr-ink);
  max-width: 20ch;
}
body.tdc-ui-vedic .vr-hero__title.telugu {
  font-family: var(--vr-te);
  max-width: 22ch;
  font-size: clamp(26px, 3.6vw, 36px);
}
body.tdc-ui-vedic .vr-hero__lead {
  margin: 0 0 20px;
  font-size: 16px; line-height: 1.55; color: var(--vr-mute);
  max-width: 52ch;
}
body.tdc-ui-vedic .vr-hero__links {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 14px; font-weight: 600;
}
body.tdc-ui-vedic .vr-hero__links a { color: var(--vr-ink-2); }
body.tdc-ui-vedic .vr-hero__links a:hover { color: var(--vr-accent); }

/* Date nav is owned by tdc-sheet.css (.tdc-bar) — rules removed to stop the fight. */

/* ========== TODAY DATA ========== */
body.tdc-ui-vedic .cds-eyebrow { display: none !important; }

body.tdc-ui-vedic .vr-dayhead {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 16px;
  margin: 0 0 24px; padding: 0;
}
body.tdc-ui-vedic .vr-dayhead__primary {
  display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap;
}
body.tdc-ui-vedic .vr-dayhead__day {
  font-family: var(--vr-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 72px);
  line-height: 0.9;
  letter-spacing: 0;
  color: var(--vr-brand);
}
body.tdc-ui-vedic .vr-dayhead__meta { display: flex; flex-direction: column; gap: 4px; }
body.tdc-ui-vedic .vr-dayhead__weekday {
  margin: 0; font-size: 22px; font-weight: 700; color: var(--vr-ink);
  font-family: var(--vr-display);
}
body.tdc-ui-vedic .vr-dayhead__weekday .telugu { font-family: var(--vr-te); font-size: 22px; }
body.tdc-ui-vedic .vr-dayhead__en {
  margin: 0; font-family: var(--vr-mono); font-size: 13px; color: var(--vr-mute);
}
body.tdc-ui-vedic .vr-dayhead__ledger {
  display: grid; gap: 0; min-width: min(100%, 280px);
}
body.tdc-ui-vedic .vr-dayhead__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; border-bottom: 1px solid var(--vr-line-soft);
  font-size: 13px;
}
body.tdc-ui-vedic .vr-dayhead__row:last-child { border-bottom: none; }
body.tdc-ui-vedic .vr-dayhead__label { color: var(--vr-mute); }
body.tdc-ui-vedic .vr-dayhead__value { font-weight: 600; color: var(--vr-ink); text-align: right; }

/* Two-up: panchang + now */
body.tdc-ui-vedic .cds-trio,
body.tdc-ui-vedic .vr-almanac {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  background: transparent;
  border: none;
  margin: 0 0 40px;
  overflow: visible;
}
body.tdc-ui-vedic .cds-trio__panel,
body.tdc-ui-vedic .vr-almanac__date,
body.tdc-ui-vedic .vr-almanac__panchang,
body.tdc-ui-vedic .vr-almanac__utility {
  background: var(--vr-surface);
  border: 1px solid var(--vr-line-soft);
  border-radius: var(--vr-radius);
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(14, 24, 50, 0.04);
}
body.tdc-ui-vedic .vr-almanac__date { display: none !important; }

body.tdc-ui-vedic .vr-section-head { margin: 0 0 16px; }
body.tdc-ui-vedic .vr-section-head__title,
body.tdc-ui-vedic .cds-kicker {
  margin: 0;
  font-family: var(--vr-sans);
  font-size: 15px; font-weight: 700;
  color: var(--vr-ink);
  letter-spacing: -0.01em;
  text-transform: none;
  background: none; border: none; padding: 0;
}
body.tdc-ui-vedic .vr-section-head__meta { display: none; }

body.tdc-ui-vedic .vr-panchang-ledger,
body.tdc-ui-vedic .cds-props { display: flex; flex-direction: column; gap: 0; }

body.tdc-ui-vedic .vr-panchang-ledger__row,
body.tdc-ui-vedic .cds-prop {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--vr-line-soft);
  background: none; border-left: none; border-right: none; border-radius: 0;
}
body.tdc-ui-vedic .vr-panchang-ledger__row:last-child,
body.tdc-ui-vedic .cds-prop:last-child { border-bottom: none; }

body.tdc-ui-vedic .vr-panchang-ledger__label,
body.tdc-ui-vedic .cds-prop__label {
  font-size: 14px; font-weight: 500; color: var(--vr-ink-2);
  background: none; border: none; padding: 0;
}
body.tdc-ui-vedic .cds-prop__label .lang-en-only {
  display: inline; margin-left: 8px; font-size: 12px; color: var(--vr-mute); font-weight: 400;
}
body.lang-te .lang-toggle-zone .cds-prop__label .lang-te-only { display: inline !important; }
body.lang-te .lang-toggle-zone .cds-prop__label .lang-en-only { display: none !important; }

body.tdc-ui-vedic .vr-panchang-ledger__value,
body.tdc-ui-vedic .cds-prop__value {
  text-align: right; font-weight: 600; font-size: 14px; color: var(--vr-ink);
  background: none; border: none; padding: 0;
}
body.tdc-ui-vedic .cds-prop__name.telugu { font-family: var(--vr-te); font-weight: 600; }
body.tdc-ui-vedic .cds-prop__end {
  font-family: var(--vr-mono); font-size: 12px; font-weight: 500; color: var(--vr-mute);
}
body.tdc-ui-vedic .cds-prop__end::before { content: " · "; color: var(--vr-mute-2); }

/* Right now */
body.tdc-ui-vedic .vr-live { margin: 0 0 18px; padding: 0; border: none; background: none; }
body.tdc-ui-vedic .vr-live__tag { display: none; }
body.tdc-ui-vedic .vr-live__title {
  margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--vr-ink);
  display: flex; align-items: center; gap: 8px;
}
body.tdc-ui-vedic .vr-live__title::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--vr-mute-2); flex: 0 0 8px;
}
body.tdc-ui-vedic .vr-live[data-kind="good"] .vr-live__title::before { background: var(--vr-good); }
body.tdc-ui-vedic .vr-live[data-kind="bad"] .vr-live__title::before { background: var(--vr-bad); }
body.tdc-ui-vedic .vr-live__detail {
  margin: 0; padding-left: 16px; font-size: 13px; color: var(--vr-mute); line-height: 1.45;
}

body.tdc-ui-vedic .vr-utility-list {
  border-top: 1px solid var(--vr-line-soft); padding-top: 14px; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
body.tdc-ui-vedic .vr-utility-list__row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border: none; background: none;
}
body.tdc-ui-vedic .vr-utility-list__label { font-size: 13px; color: var(--vr-mute); }
body.tdc-ui-vedic .vr-utility-list__value {
  font-family: var(--vr-mono); font-size: 13px; font-weight: 600; color: var(--vr-ink);
}
body.tdc-ui-vedic .vr-utility-list__row--caution,
body.tdc-ui-vedic .cal-classic-alert {
  margin-top: 14px; padding: 12px 14px;
  background: #fff7ed;
  border: 1px solid #e3b483;
  border-radius: var(--vr-radius-sm);
  flex-direction: column; align-items: flex-start; gap: 4px;
}
body.tdc-ui-vedic .vr-utility-list__row--caution .vr-utility-list__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--vr-orange);
}
body.tdc-ui-vedic .vr-utility-list__row--caution .vr-utility-list__value {
  font-size: 15px; color: var(--vr-brand);
}
body.tdc-ui-vedic .vr-sec-head__aside {
  display: flex; gap: 14px; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--vr-accent);
  padding-bottom: 2px;
}
body.tdc-ui-vedic .vr-sec-head__aside a { color: var(--vr-accent); }
body.tdc-ui-vedic .vr-sec-head__legend {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--vr-mute);
}
body.tdc-ui-vedic .vr-sec-head__legend::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--vr-mute-2);
}
body.tdc-ui-vedic .vr-sec-head__legend--bad::before { background: var(--vr-bad); }
body.tdc-ui-vedic .vr-sec-head__legend--good::before { background: var(--vr-good); }

/* Timings as 2-col list */
body.tdc-ui-vedic .vr-muh__table { width: 100%; border-collapse: collapse; }
body.tdc-ui-vedic .vr-muh__thead { display: none; }
body.tdc-ui-vedic .vr-muh__table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}
body.tdc-ui-vedic .vr-muh__row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--vr-line-soft);
  background: none !important; margin: 0 !important;
}
body.tdc-ui-vedic .vr-muh__row.is-active { background: var(--vr-accent-soft) !important; border-radius: 6px; }
body.tdc-ui-vedic .vr-muh__type { display: flex; align-items: center; }
body.tdc-ui-vedic .vr-muh__pill {
  width: 7px; height: 7px; border-radius: 50%; display: inline-block;
  padding: 0; border: none; font-size: 0; background: var(--vr-mute-2);
}
body.tdc-ui-vedic .vr-muh__pill--good { background: var(--vr-good); }
body.tdc-ui-vedic .vr-muh__pill--bad { background: var(--vr-bad); }
body.tdc-ui-vedic .vr-muh__name { font-size: 14px; font-weight: 500; color: var(--vr-ink); }
body.tdc-ui-vedic .vr-muh__name .telugu { font-family: var(--vr-te); }
body.tdc-ui-vedic .vr-muh__slot,
body.tdc-ui-vedic .vr-muh__text-value {
  font-family: var(--vr-mono); font-size: 13px; font-weight: 600;
  color: var(--vr-ink); text-align: right; white-space: nowrap;
}

/* Rasi grid */
body.tdc-ui-vedic .vr-rasi__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0 32px;
}
body.tdc-ui-vedic .vr-rasi__cell {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px;
  align-items: baseline; padding: 12px 0;
  border-bottom: 1px solid var(--vr-line-soft);
  background: none; border-radius: 0; box-shadow: none;
}
body.tdc-ui-vedic .vr-rasi__cell .cal-rname {
  font-family: var(--vr-te); font-size: 14px; font-weight: 600; color: var(--vr-ink);
}
body.tdc-ui-vedic .vr-rasi__cell .cal-rword {
  font-family: var(--vr-te); font-size: 13px; color: var(--vr-mute); line-height: 1.5;
}

/* Body columns */
body.tdc-ui-vedic .home-sheet-body {
  display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start;
  margin-top: 8px; background: none; border: none; padding: 0;
}
body.tdc-ui-vedic .home-sheet-body__main {
  flex: 999 1 520px; min-width: 280px; display: flex; flex-direction: column; gap: 8px;
  background: none; border: none; padding: 0;
}

/* Sidebar */
body.tdc-ui-vedic .sidebar {
  flex: 1 1 260px; min-width: 240px;
  position: sticky; top: 88px;
  display: flex; flex-direction: column; gap: 28px;
  background: none; border: none; padding: 0; box-shadow: none;
}
body.tdc-ui-vedic .sidebar-widget {
  background: var(--vr-surface);
  border: 1px solid var(--vr-line-soft);
  border-radius: var(--vr-radius);
  padding: 18px;
  box-shadow: 0 1px 2px rgba(14, 24, 50, 0.04);
}
body.tdc-ui-vedic .sidebar-widget__title,
body.tdc-ui-vedic .sidebar-widget__title-text {
  font-size: 15px; font-weight: 700; color: var(--vr-ink);
  background: none; border: none; padding: 0; margin: 0;
}
body.tdc-ui-vedic .sidebar-widget__title--stack { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
body.tdc-ui-vedic .sidebar-widget__title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
body.tdc-ui-vedic .sidebar-widget__submeta { font-size: 12px; color: var(--vr-mute); }
body.tdc-ui-vedic .sidebar-cal-today { font-size: 12px; font-weight: 600; color: var(--vr-accent); }
body.tdc-ui-vedic .sidebar-cal-legend {
  list-style: none; margin: 12px 0 0; padding: 0; display: flex; gap: 14px;
  font-size: 11px; color: var(--vr-mute);
}
body.tdc-ui-vedic .sidebar-cal-legend__item { display: inline-flex; align-items: center; gap: 6px; }
body.tdc-ui-vedic .sidebar-cal-legend__item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vr-mute-2);
}
body.tdc-ui-vedic .sidebar-cal-legend__item--festival::before { background: var(--vr-accent); }
body.tdc-ui-vedic .sidebar-cal-legend__item--today::before { background: var(--vr-ink); }

body.tdc-ui-vedic .vr-side-list { list-style: none; margin: 0; padding: 0; }
body.tdc-ui-vedic .vr-side-list__row {
  display: grid; grid-template-columns: 52px 1fr; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--vr-line-soft); font-size: 13px;
}
body.tdc-ui-vedic .vr-side-list__date { font-family: var(--vr-mono); font-size: 11px; color: var(--vr-mute); }
body.tdc-ui-vedic .vr-side-list__name .telugu { font-family: var(--vr-te); color: var(--vr-ink-2); }

body.tdc-ui-vedic .vr-signup__eyebrow {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--vr-mute); margin-bottom: 8px;
}
body.tdc-ui-vedic .vr-signup__body { margin: 0 0 14px; font-size: 13px; line-height: 1.55; color: var(--vr-mute); }
body.tdc-ui-vedic .vr-signup__cta {
  display: inline-block; background: var(--vr-brand); color: #fff !important;
  font-size: 13px; font-weight: 700; padding: 10px 18px; border-radius: 8px;
  font-family: var(--vr-sans);
}
body.tdc-ui-vedic .vr-signup__cta:hover { background: var(--vr-accent-hover); color: #fff !important; }

/* Footer */
body.tdc-ui-vedic .site-footer {
  background: var(--vr-ink); color: #e3b483;
  border-top: none; margin-top: 24px; padding: 0;
}
body.tdc-ui-vedic .site-footer__inner {
  max-width: var(--vr-w); margin: 0 auto; padding: 48px var(--vr-px) 28px;
}
body.tdc-ui-vedic .site-footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px; margin-bottom: 32px;
}
body.tdc-ui-vedic .site-footer__heading {
  margin: 0 0 14px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #c4884a;
  background: none; border: none; padding: 0;
  font-family: var(--vr-sans);
}
body.tdc-ui-vedic .site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
body.tdc-ui-vedic .site-footer__links a { color: #f3ece0; font-size: 14px; line-height: 1.6; font-family: var(--vr-sans); }
body.tdc-ui-vedic .site-footer__links a:hover { color: #fff; }
body.tdc-ui-vedic .site-footer__links li::before { content: '•'; color: #e3b483; opacity: 0.8; font-size: 18px; }
body.tdc-ui-vedic .site-footer__brand-title {
  margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #fff;
  font-family: 'Roboto', sans-serif;
}
body.tdc-ui-vedic .site-footer__brand-blurb {
  margin: 0; font-size: 13px; line-height: 1.6; color: #c4884a; max-width: 34ch;
}
body.tdc-ui-vedic .site-footer__bottom {
  border-top: 1px solid rgba(228, 180, 131, 0.25); padding-top: 18px;
  font-size: 12px; color: #9a948b;
}
body.tdc-ui-vedic .site-footer__bottom p { margin: 0 0 6px; }
body.tdc-ui-vedic .site-footer__disclaimer { color: #7a7268; }

body.tdc-ui-vedic .cal-empty-notice {
  padding: 28px; background: var(--vr-surface); border: 1px dashed var(--vr-line-strong);
  border-radius: var(--vr-radius); text-align: center; color: var(--vr-mute); margin: 24px 0;
}

body.tdc-ui-vedic .skip-link:focus {
  left: var(--vr-px); top: 12px; z-index: 100;
  background: var(--vr-surface); border: 1px solid var(--vr-line);
  padding: 8px 14px; border-radius: 8px;
}

/* ========== TOP UTILITY BAR (all pages) ========== */
body.tdc-has-top-bar .mp-top-bar {
  background: #f5e1a8;
  color: #343434;
  border-bottom: 1px solid #e8c96a;
}

body.tdc-has-top-bar .mp-top-bar__inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 5px 16px;
  min-height: 32px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.tdc-has-top-bar .mp-top-bar__quote {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.tdc-has-top-bar .mp-top-bar__quote-mark {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
  color: #cd1a1a;
}

body.tdc-has-top-bar .mp-top-bar__quote-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #4a3b20;
}

body.tdc-has-top-bar .mp-top-bar__quote-cite {
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-style: normal;
  color: #8a7340;
}

body.tdc-has-top-bar .mp-top-bar__meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

body.tdc-has-top-bar .mp-top-bar__location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #6b5a32;
}

body.tdc-has-top-bar .mp-top-bar__location strong {
  font-weight: 700;
  color: #cd1a1a;
}

body.tdc-has-top-bar .mp-top-bar__pin {
  color: #cd1a1a;
  flex-shrink: 0;
}

body.tdc-has-top-bar .mp-top-bar__dot {
  color: #c4a84a;
  font-size: 12px;
  line-height: 1;
}

body.tdc-has-top-bar .mp-top-bar__clock {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  color: #921d1d;
  font-family: var(--vr-sans);
}

body.tdc-has-top-bar .mp-top-bar__lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
}

body.tdc-has-top-bar .mp-top-bar__lang .vr-lang__btn,
body.tdc-has-top-bar .mp-top-bar__lang .utility-bar__lang-btn {
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  border-radius: 4px;
  border: 1px solid #d4b86a;
  background: #fff;
  color: #6b5a32;
  cursor: pointer;
}

body.tdc-has-top-bar .mp-top-bar__lang .vr-lang__btn.is-active,
body.tdc-has-top-bar .mp-top-bar__lang .utility-bar__lang-btn.is-active {
  background: #cd1a1a;
  border-color: #cd1a1a;
  color: #fff;
}

@media (max-width: 640px) {
  body.tdc-has-top-bar .mp-top-bar__inner {
    padding: 5px 12px;
    gap: 8px;
  }

  body.tdc-has-top-bar .mp-top-bar__quote-cite {
    display: none;
  }

  body.tdc-has-top-bar .mp-top-bar__location strong {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 900px) {
  body.tdc-ui-vedic .cds-trio,
  body.tdc-ui-vedic .vr-almanac { grid-template-columns: 1fr; }
  body.tdc-ui-vedic .vr-muh__table tbody { grid-template-columns: 1fr; }
  body.tdc-ui-vedic .sidebar { position: static; }
  body.tdc-ui-vedic .site-header__extras .vr-clock { display: none; }
}
@media (max-width: 640px) {
  body.tdc-ui-vedic .vr-rasi__cell { grid-template-columns: 1fr; gap: 4px; }
  body.tdc-ui-vedic .vr-hero { padding: 28px 0 20px; }
}

body.tdc-ui-vedic .vr-hero--compact {
  padding: 16px 0;
  border-bottom: 1px solid var(--vr-line-soft);
  margin-bottom: 0;
}
body.tdc-ui-vedic .vr-hero__title--compact {
  margin: 0;
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  line-height: 1.35;
  max-width: none;
}
body.tdc-ui-vedic .vr-hero__lead--compact {
  margin: 8px 0 0;
  font-size: 14px;
  max-width: 62ch;
}
@media (max-width: 639px) {
  body.tdc-ui-vedic .vr-hero__lead--compact { display: none; }
}

body.tdc-ui-vedic .vr-date-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 0 16px;
  margin: 0 0 8px;
  border-bottom: 1px solid var(--vr-line-soft);
}
body.tdc-ui-vedic .vr-date-nav__group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
}
body.tdc-ui-vedic .vr-date-nav__arrow,
body.tdc-ui-vedic .vr-date-nav__today,
body.tdc-ui-vedic .vr-date-nav__pick,
body.tdc-ui-vedic .vr-date-nav__go {
  appearance: none;
  border: 1px solid var(--vr-line);
  background: #fff;
  border-radius: 8px;
  font-family: var(--vr-sans);
  cursor: pointer;
}
body.tdc-ui-vedic .vr-date-nav__arrow {
  width: 36px;
  height: 36px;
  font-size: 15px;
  font-weight: 600;
  color: var(--vr-brand);
}
body.tdc-ui-vedic .vr-date-nav__arrow:hover { background: var(--vr-line-soft); }
body.tdc-ui-vedic .vr-date-nav__today {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  background: var(--vr-ink);
  color: #fff;
  border-color: var(--vr-ink);
}
body.tdc-ui-vedic .vr-date-nav__pick {
  margin-left: auto;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--vr-ink);
}
@media (min-width: 640px) {
  body.tdc-ui-vedic .vr-date-nav__pick { display: none; }
}
body.tdc-ui-vedic .vr-date-nav__form {
  display: none;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
@media (min-width: 640px) {
  body.tdc-ui-vedic .vr-date-nav__form { display: flex; }
}
body.tdc-ui-vedic .vr-date-nav__select {
  appearance: none;
  height: 36px;
  border: 1px solid var(--vr-line);
  border-radius: 8px;
  background: #fff;
  padding: 0 28px 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--vr-ink);
  font-family: var(--vr-sans);
}
body.tdc-ui-vedic .vr-date-nav__go {
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--vr-brand);
  color: #fff;
  border-color: var(--vr-brand);
}

body.tdc-ui-vedic .vr-calendar-sheet { padding-top: 8px; }
body.tdc-ui-vedic .vr-sheet-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body.tdc-ui-vedic .vr-viewing-banner {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  border-color: rgba(184, 35, 55, 0.3);
  background: var(--vr-accent-soft);
  font-size: 13px;
}
body.tdc-ui-vedic .vr-viewing-banner__link {
  margin-left: 6px;
  font-weight: 600;
  color: var(--vr-brand);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}
body.tdc-ui-vedic .vr-viewing-banner__link:hover { text-decoration: underline; }

body.tdc-ui-vedic .vr-sheet-head__date { text-align: center; }
body.tdc-ui-vedic .vr-sheet-head__month {
  margin: 0;
  font-family: var(--vr-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vr-mute);
}
body.tdc-ui-vedic .vr-sheet-head__telugu {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--vr-brand);
}
body.tdc-ui-vedic .vr-day-date {
  margin: 12px 0 0;
  font-family: var(--vr-display);
  font-size: clamp(2.75rem, 10vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--vr-brand);
}
body.tdc-ui-vedic .vr-day-date__sep { opacity: 0.7; font-weight: 600; }
body.tdc-ui-vedic .vr-sheet-head__weekday-te {
  margin: 12px 0 0;
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  font-weight: 700;
  color: var(--vr-ink);
}
body.tdc-ui-vedic .vr-sheet-head__weekday-en {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--vr-mute);
}

body.tdc-ui-vedic .vr-sheet-head__meta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--vr-line-soft);
}
body.tdc-ui-vedic .vr-sheet-head__meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  font-size: 13px;
}
@media (min-width: 640px) {
  body.tdc-ui-vedic .vr-sheet-head__meta-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}
body.tdc-ui-vedic .vr-sheet-head__label {
  margin: 0;
  font-size: 11px;
  color: var(--vr-mute);
}
body.tdc-ui-vedic .vr-sheet-head__value {
  margin: 2px 0 0;
  font-weight: 600;
  color: var(--vr-ink);
}
body.tdc-ui-vedic .vr-sheet-head__note {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--vr-line-soft);
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--vr-ink);
}

body.tdc-ui-vedic .vr-sheet-meta,
body.tdc-ui-vedic .sheet-meta {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--vr-line-soft);
}
@media (min-width: 640px) {
  body.tdc-ui-vedic .vr-sheet-meta,
  body.tdc-ui-vedic .sheet-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
body.tdc-ui-vedic .vr-sheet-meta__cell {
  padding: 12px 4px;
  text-align: center;
}
@media (min-width: 640px) {
  body.tdc-ui-vedic .vr-sheet-meta__cell { padding: 0 12px; }
  body.tdc-ui-vedic .vr-sheet-meta__cell + .vr-sheet-meta__cell { border-left: 1px solid var(--vr-line-soft); }
}
body.tdc-ui-vedic .vr-sheet-meta__cell--sun { text-align: left; }
body.tdc-ui-vedic .vr-sheet-meta__label {
  margin: 0;
  font-size: 12px;
  color: var(--vr-mute);
}
body.tdc-ui-vedic .vr-sheet-meta__num {
  margin: 4px 0 0;
  font-family: var(--vr-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--vr-brand);
}
body.tdc-ui-vedic .vr-sheet-meta__te {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--vr-ink);
}
body.tdc-ui-vedic .vr-sheet-meta__en {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--vr-mute);
}
body.tdc-ui-vedic .vr-sheet-meta__sun-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 2px 0;
  font-size: 13px;
}

body.tdc-ui-vedic .vr-sheet-duo {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  body.tdc-ui-vedic .vr-sheet-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.tdc-ui-vedic .vr-block-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--vr-ink);
  font-family: var(--vr-sans);
}
body.tdc-ui-vedic .vr-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
body.tdc-ui-vedic .vr-ledger__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--vr-line-soft);
}
body.tdc-ui-vedic .vr-ledger__row:last-child { border-bottom: none; }
body.tdc-ui-vedic .vr-ledger__label { color: var(--vr-mute); }
body.tdc-ui-vedic .vr-ledger__value { text-align: right; font-weight: 600; }
body.tdc-ui-vedic .vr-ledger__end {
  font-family: var(--vr-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--vr-mute-2);
}

body.tdc-ui-vedic #now-panel.is-muted { opacity: 0.55; }
body.tdc-ui-vedic .vr-now-rahu {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--vr-line-soft);
  font-size: 13px;
}
body.tdc-ui-vedic .vr-now-rahu__label { color: var(--vr-mute); margin-right: 8px; }
body.tdc-ui-vedic .vr-now-rahu strong { color: var(--vr-brand); font-family: var(--vr-mono); }

body.tdc-ui-vedic .vr-festival-line { font-size: 14px; }
body.tdc-ui-vedic .vr-festival-line__label { color: var(--vr-mute); font-size: 12px; }
body.tdc-ui-vedic .vr-shubha-bar__text { margin: 0; font-size: 14px; font-weight: 700; }
body.tdc-ui-vedic .vr-shubha-bar__times {
  display: block;
  margin-top: 6px;
  font-family: var(--vr-mono);
  font-weight: 600;
}
@media (min-width: 640px) {
  body.tdc-ui-vedic .vr-shubha-bar__times { display: inline; margin: 0 0 0 12px; }
}

body.tdc-ui-vedic .vr-timing-cols {
  display: grid;
  gap: 20px;
  font-size: 14px;
}
@media (min-width: 640px) {
  body.tdc-ui-vedic .vr-timing-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
body.tdc-ui-vedic .vr-timing-col__head {
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.tdc-ui-vedic .vr-timing-col--avoid .vr-timing-col__head { border-color: var(--vr-brand); color: var(--vr-brand); }
body.tdc-ui-vedic .vr-timing-col--good .vr-timing-col__head { border-color: var(--vr-ink); color: var(--vr-ink); }
body.tdc-ui-vedic .vr-timing-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.tdc-ui-vedic .vr-timing-col__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--vr-line-soft);
  align-items: baseline;
}
body.tdc-ui-vedic .vr-timing-col__brand { color: var(--vr-brand); font-weight: 600; }
body.tdc-ui-vedic .vr-timing-col__text { font-weight: 600; }
body.tdc-ui-vedic .vr-timing-col__item .cal-ttime {
  font-family: var(--vr-mono);
  font-weight: 600;
  white-space: nowrap;
}

body.tdc-ui-vedic .vr-sheet-quote {
  margin: 0;
  padding: 8px 4px;
  text-align: center;
  font-size: 14px;
  color: var(--vr-mute);
}

body.tdc-ui-vedic .home-sheet-body--single {
  display: block;
  margin-top: 48px;
}

/* Hide legacy dayhead when using sheet design */
body.tdc-ui-vedic .vr-dayhead { display: none !important; }
