/* ==========================================================================
   KundliLive 2026 theme
   One design system loaded LAST on public pages, the Kundli page, account and admin screens.
   Palette: night-sky indigo (depth, trust) + saffron and gold (Jyotish warmth) on a soft ivory canvas.
   Markup is unchanged; this file only restyles existing classes.
   ========================================================================== */

:root {
    --kl26-font: "Mukta", "Noto Sans Devanagari", "Nirmala UI", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --kl26-night: #0d1b3e;
    --kl26-night-2: #16295e;
    --kl26-night-3: #2451b3;
    --kl26-saffron: #f0770f;
    --kl26-saffron-deep: #d85a0b;
    --kl26-gold: #f2b01e;
    --kl26-gold-soft: #ffe7a3;
    --kl26-rose: #b8325f;
    --kl26-teal: #0e7c86;
    --kl26-ink: #0f1a38;
    --kl26-text: #33405f;
    --kl26-muted: #63708e;
    --kl26-line: #dfe7f3;
    --kl26-line-soft: #edf2f9;
    --kl26-canvas: #f5f8fd;
    --kl26-paper: #ffffff;
    --kl26-cream: #fff8e4;
    --kl26-lavender: #eaf2fd;
    --kl26-radius: 16px;
    --kl26-radius-sm: 12px;
    --kl26-shadow: 0 10px 30px rgba(13, 27, 62, .07);
    --kl26-shadow-lift: 0 16px 40px rgba(13, 27, 62, .12);
    --kl26-btn-primary: linear-gradient(135deg, #f58a2a 0%, #e8620f 100%);
    --kl26-btn-primary-hover: linear-gradient(135deg, #e97a18 0%, #cf5308 100%);
    --kl26-hero: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .16) 0 1px, transparent 2px),
                 radial-gradient(circle at 78% 30%, rgba(255, 255, 255, .22) 0 1px, transparent 2px),
                 radial-gradient(circle at 42% 72%, rgba(255, 255, 255, .14) 0 1px, transparent 2px),
                 radial-gradient(circle at 90% 85%, rgba(255, 231, 163, .35) 0 1px, transparent 2px),
                 radial-gradient(120% 140% at 100% 0%, rgba(242, 176, 30, .30) 0%, transparent 46%),
                 linear-gradient(135deg, #0b1733 0%, #13295f 55%, #1e4494 100%);
}

/* --------------------------------------------------------------------------
   1. Base: canvas, typography (readable sizes on phones)
   -------------------------------------------------------------------------- */
:is(html#kl-fresh-root, html) body#page-top.public-site,
:is(html#kl-fresh-root, html) body#page-top.public-site input,
:is(html#kl-fresh-root, html) body#page-top.public-site select,
:is(html#kl-fresh-root, html) body#page-top.public-site textarea,
:is(html#kl-fresh-root, html) body#page-top.public-site button {
    font-family: var(--kl26-font) !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site:not(.pb-kundli-page) {
    font-size: 17px !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site {
    background: var(--kl26-canvas) !important;
    color: var(--kl26-text) !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
:is(html#kl-fresh-root, html) body#page-top.public-site :is(h1, h2, h3, h4) {
    color: var(--kl26-ink) !important;
    font-family: var(--kl26-font) !important;
    letter-spacing: -.01em !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem) !important; font-weight: 800 !important; line-height: 1.2 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem) !important; font-weight: 700 !important; line-height: 1.3 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.3rem) !important; font-weight: 700 !important; line-height: 1.35 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main :is(p, li, label):not(.pb-kundli-page *) { font-size: max(1rem, 16px); }
:is(html#kl-fresh-root, html) body#page-top.public-site a { color: var(--kl26-night-3); text-underline-offset: 3px; }
:is(html#kl-fresh-root, html) body#page-top.public-site :focus-visible { outline: 3px solid rgba(240, 122, 26, .45) !important; outline-offset: 2px !important; border-radius: 6px; }
:is(html#kl-fresh-root, html) body#page-top.public-site ::selection { background: var(--kl26-gold-soft); color: var(--kl26-ink); }

/* --------------------------------------------------------------------------
   2. Header: night-sky Panchang strip + clean white brand bar
   -------------------------------------------------------------------------- */
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 60 !important;
    background: #fff !important;
    box-shadow: 0 6px 24px rgba(13, 27, 62, .08) !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-utility-bar {
    background: var(--kl26-hero) !important;
    border: 0 !important;
    color: #efeaff !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-utility-bar :is(a, strong, small, span, summary) { color: #f4f1ff !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-utility-bar small { color: var(--kl26-gold-soft) !important; opacity: .95; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-utility-bar svg { stroke: var(--kl26-gold) !important; color: var(--kl26-gold) !important; fill: none !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-context-divider { background: rgba(255, 231, 163, .28) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-context-location {
    background: rgba(255, 255, 255, .1) !important;
    border: 1px solid rgba(255, 231, 163, .35) !important;
    border-radius: 999px !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-location-panel,
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-location-panel :is(a, strong, span, small, p, label) { color: var(--kl26-text) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-location-panel { background: #fff !important; border: 1px solid var(--kl26-line) !important; border-radius: var(--kl26-radius) !important; box-shadow: var(--kl26-shadow-lift) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-location-panel svg { stroke: var(--kl26-saffron) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-utility-actions > button,
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-utility-actions .tools-live-presence {
    background: rgba(255, 255, 255, .1) !important;
    border: 1px solid rgba(255, 231, 163, .35) !important;
    border-radius: 999px !important;
    color: #fff !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .tools-live-presence__dot { background: #34d399 !important; box-shadow: 0 0 0 3px rgba(52, 211, 153, .25) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .kl-global-account-slot :is(a, button) {
    border-radius: 999px !important;
    border: 1px solid rgba(255, 231, 163, .45) !important;
    background: rgba(255, 255, 255, .12) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header header.tools-topbar {
    background: #fff !important;
    border-bottom: 1px solid var(--kl26-line) !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .tools-brand__copy strong { color: var(--kl26-night) !important; font-family: var(--kl26-font) !important; font-weight: 800 !important; letter-spacing: -.02em !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .tools-brand__accent { color: var(--kl26-saffron) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .tools-brand__copy small { color: var(--kl26-muted) !important; font-weight: 500 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-primary-nav summary { color: var(--kl26-ink) !important; font-weight: 600 !important; border-radius: 10px !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-primary-nav summary:hover,
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-primary-nav details[open] > summary { background: var(--kl26-lavender) !important; color: var(--kl26-night-2) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-nav-panel {
    border: 1px solid var(--kl26-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: var(--kl26-shadow-lift) !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-nav-section h3 { color: var(--kl26-gold) !important; font-size: .78rem !important; letter-spacing: .08em !important; text-transform: uppercase; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-nav-items a { border-radius: 12px !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-nav-items a:hover { background: var(--kl26-cream) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-nav-items a i {
    display: inline-grid !important;
    place-items: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: var(--kl26-lavender) !important;
    font-style: normal !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-nav-items a strong { color: var(--kl26-ink) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-nav-items a small { color: var(--kl26-muted) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-nav-promo {
    background: var(--kl26-hero) !important;
    border-radius: 14px !important;
    color: #fff !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-nav-promo :is(b, strong) { color: var(--kl26-gold-soft) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-nav-promo small { color: #e8e4ff !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-header-panchang {
    background: var(--kl26-btn-primary) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 18px rgba(232, 98, 15, .25) !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-nav-toggle {
    width: 44px !important;
    height: 44px !important;
    border: 1px solid var(--kl26-line) !important;
    border-radius: 12px !important;
    background: var(--kl26-lavender) !important;
    color: var(--kl26-night) !important;
    font-size: 22px !important;
}

/* Announcement ticker */
html body :is(aside.kl-notice[data-site-notice]) {
    background: var(--kl26-cream) !important;
    border-color: var(--kl26-gold-soft) !important;
    color: var(--kl26-ink) !important;
}

/* --------------------------------------------------------------------------
   3. Unified buttons (one style family everywhere)
   -------------------------------------------------------------------------- */
:is(html#kl-fresh-root, html) body#page-top.public-site :where(
    .tools-button, .tools-button--primary, .premium-buy-button, .pb-home-hero-button,
    .kl-landing-cta, .kl-seo-final-cta, .kl-compact-report-preview__cta, .ks-chat-cta,
    .why-final-cta, .vivah-primary-cta, button[type="submit"]:not(.pb-location-search button)
),
html body :is(.ka-btn) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 46px !important;
    padding: 10px 20px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--kl26-btn-primary) !important;
    color: #fff !important;
    font-family: var(--kl26-font) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(232, 98, 15, .22) !important;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease !important;
    cursor: pointer;
}
:is(html#kl-fresh-root, html) body#page-top.public-site :where(
    .tools-button, .tools-button--primary, .premium-buy-button, .pb-home-hero-button,
    .kl-landing-cta, .kl-seo-final-cta, .kl-compact-report-preview__cta, .ks-chat-cta,
    .why-final-cta, .vivah-primary-cta, button[type="submit"]:not(.pb-location-search button)
):hover,
html body .ka-btn:hover {
    background: var(--kl26-btn-primary-hover) !important;
    box-shadow: 0 12px 26px rgba(232, 98, 15, .3) !important;
    transform: translateY(-1px);
}
:is(html#kl-fresh-root, html) body#page-top.public-site :is(.tools-button--secondary, .tools-button--light, .premium-secondary-cta, .pb-home-hero-button-secondary),
html body .ka-btn.alt {
    background: #fff !important;
    color: var(--kl26-night-2) !important;
    border: 1.5px solid #d7d0ef !important;
    box-shadow: none !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site :is(.tools-button--secondary, .tools-button--light, .premium-secondary-cta, .pb-home-hero-button-secondary):hover,
html body .ka-btn.alt:hover {
    background: var(--kl26-lavender) !important;
    border-color: var(--kl26-night-3) !important;
}
html body .ka-btn.danger { background: linear-gradient(135deg, #d9485f, #b3263f) !important; box-shadow: 0 8px 18px rgba(179, 38, 63, .2) !important; }
html body .ka-btn.success { background: linear-gradient(135deg, #1f9d61, #147a4a) !important; box-shadow: 0 8px 18px rgba(20, 122, 74, .2) !important; }
html body .ka-btn.ka-btn-small, html body .ka-actions-tight .ka-btn { min-height: 36px !important; padding: 6px 12px !important; font-size: .86rem !important; border-radius: 10px !important; }
html body :is(.ka-btn, .tools-button, .premium-buy-button)[disabled],
html body :is(.ka-btn, .tools-button, .premium-buy-button).is-disabled { opacity: .55 !important; cursor: not-allowed !important; transform: none !important; box-shadow: none !important; }

/* Form controls */
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea),
html body .ka-form :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
    min-height: 46px !important;
    border: 1.5px solid #e3dbcd !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--kl26-ink) !important;
    font-size: 16px !important; /* 16px prevents iOS zoom on focus */
    box-shadow: none !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main :is(input, select, textarea):focus,
html body .ka-form :is(input, select, textarea):focus {
    border-color: var(--kl26-saffron) !important;
    outline: 3px solid rgba(240, 122, 26, .18) !important;
}

/* --------------------------------------------------------------------------
   4. Page layout, cards and sidebar
   -------------------------------------------------------------------------- */
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main { background: transparent !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .public-tools-sidebar__section {
    background: #fff !important;
    border: 1px solid var(--kl26-line) !important;
    border-radius: var(--kl26-radius) !important;
    box-shadow: var(--kl26-shadow) !important;
    overflow: hidden;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .public-tools-sidebar__section h2 {
    margin: 0 !important;
    padding: 14px 18px !important;
    background: var(--kl26-hero) !important;
    color: var(--kl26-gold-soft) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .public-tools-sidebar__links a {
    display: flex !important;
    justify-content: space-between !important;
    padding: 12px 18px !important;
    border-bottom: 1px solid var(--kl26-line-soft) !important;
    color: var(--kl26-text) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .public-tools-sidebar__links a:hover { background: var(--kl26-cream) !important; color: var(--kl26-saffron-deep) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .public-tools-sidebar__links a b { color: var(--kl26-gold) !important; }

:is(html#kl-fresh-root, html) body#page-top.public-site :is(.panchang-breadcrumb, .premium-report-breadcrumb) { font-size: .92rem !important; color: var(--kl26-muted) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site :is(.panchang-breadcrumb, .premium-report-breadcrumb) a { color: var(--kl26-night-3) !important; font-weight: 600 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .tools-kicker,
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-kicker,
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-kicker {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    background: var(--kl26-gold-soft) !important;
    color: #6b4a07 !important;
    font-size: .76rem !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
}

/* --------------------------------------------------------------------------
   5. Home hero
   -------------------------------------------------------------------------- */
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px) !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: var(--kl26-hero) !important;
    box-shadow: var(--kl26-shadow-lift) !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero::after {
    content: "" !important;
    position: absolute !important;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 231, 163, .35);
    box-shadow: 0 0 0 26px rgba(255, 231, 163, .06), 0 0 0 58px rgba(255, 231, 163, .04);
    pointer-events: none;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero :is(h1, p, time) { color: #fff !important; position: relative; z-index: 1; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero h1 { font-size: clamp(1.8rem, 1.1rem + 3vw, 3rem) !important; font-weight: 800 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero .pb-home-hero-description { color: #e7e3ff !important; font-size: 1.08rem !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero .pb-home-date time { color: var(--kl26-gold-soft) !important; font-weight: 600 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero .pb-home-kicker { background: rgba(255, 231, 163, .18) !important; color: var(--kl26-gold-soft) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero-actions { position: relative; z-index: 1; display: flex !important; flex-wrap: wrap !important; gap: 12px !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero-button { flex-direction: column !important; align-items: flex-start !important; padding: 12px 22px !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero-button :is(strong, small) { color: inherit !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero-button small { opacity: .88; font-weight: 500 !important; font-size: .84rem !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero-button-secondary { background: rgba(255, 255, 255, .1) !important; color: #fff !important; border-color: rgba(255, 231, 163, .5) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero-button-secondary:hover { background: rgba(255, 255, 255, .18) !important; }

/* --------------------------------------------------------------------------
   6. Premium reports (list cards, hub, detail page)
   -------------------------------------------------------------------------- */
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-reports {
    padding: clamp(18px, 3vw, 32px) !important;
    border: 1px solid var(--kl26-line) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #fff 0%, var(--kl26-cream) 100%) !important;
    box-shadow: var(--kl26-shadow) !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-reports__status {
    border-radius: 999px !important;
    background: var(--kl26-lavender) !important;
    color: var(--kl26-night-2) !important;
    font-weight: 700 !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-reports__status.is-available { background: #e3f6ec !important; color: #13723f !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-reports__grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; gap: 18px !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 1px solid var(--kl26-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: var(--kl26-shadow) !important;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card:hover { transform: translateY(-3px); box-shadow: var(--kl26-shadow-lift) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__visual { position: relative !important; background: var(--kl26-hero) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__visual img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 1122 / 1402; object-fit: cover !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__visual > span {
    position: absolute !important;
    left: 12px !important;
    top: 12px !important;
    padding: 4px 11px !important;
    border-radius: 999px !important;
    background: rgba(13, 27, 62, .82) !important;
    color: var(--kl26-gold-soft) !important;
    font-size: .74rem !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__visual > span.is-available { background: #13723f !important; color: #fff !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__body { padding: 16px 18px 6px !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__body h4 { margin: 0 0 4px !important; color: var(--kl26-ink) !important; font-size: 1.15rem !important; font-weight: 800 !important; line-height: 1.3 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__subtitle { color: var(--kl26-saffron-deep) !important; font-weight: 600 !important; font-size: .92rem !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__summary { color: var(--kl26-muted) !important; font-size: .95rem !important; line-height: 1.6 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__footer { margin-top: auto !important; padding: 12px 18px 16px !important; border-top: 1px solid var(--kl26-line-soft) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__footer span { color: var(--kl26-night-2) !important; font-weight: 700 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-reports__note { color: var(--kl26-muted) !important; font-size: .9rem !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site.premium-reports-hub-page main.site-main > .site-container header { padding: 0 !important; }

/* Detail page */
:is(html#kl-fresh-root, html) body#page-top.public-site.premium-report-detail-page article.premium-report { color: var(--kl26-text) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site.premium-report-detail-page .premium-report-hero {
    border: 1px solid var(--kl26-line) !important;
    border-radius: 24px !important;
    background: linear-gradient(160deg, #fff 0%, var(--kl26-cream) 70%, #fdf1dc 100%) !important;
    box-shadow: var(--kl26-shadow) !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site.premium-report-detail-page .premium-report-cover img { border-radius: 18px !important; box-shadow: var(--kl26-shadow-lift) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site.premium-report-detail-page :is(.premium-rating-card, .premium-offer-panel, section.premium-section, .premium-report-section, .premium-inline-kundli, .premium-purchase-card) {
    border: 1px solid var(--kl26-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: var(--kl26-shadow) !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site.premium-report-detail-page .premium-offer-badge { color: var(--kl26-rose) !important; font-weight: 800 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site.premium-report-detail-page .premium-offer-discount { background: linear-gradient(135deg, #e0406c, #b8325f) !important; color: #fff !important; border-radius: 12px !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site.premium-report-detail-page .premium-offer-price { color: var(--kl26-ink) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site.premium-report-detail-page .premium-offer-timer {
    border: 1px solid var(--kl26-gold-soft) !important;
    border-radius: 14px !important;
    background: var(--kl26-cream) !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site.premium-report-detail-page .premium-offer-timer strong { color: var(--kl26-night-2) !important; font-variant-numeric: tabular-nums !important; }

/* --------------------------------------------------------------------------
   7. Footer and back-to-top
   -------------------------------------------------------------------------- */
:is(html#kl-fresh-root, html) body#page-top.public-site footer.site-footer.kl-footer {
    margin-top: 40px !important;
    background: var(--kl26-hero) !important;
    border-top: 0 !important;
    color: #d9d4f5 !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site footer.site-footer.kl-footer :is(p, span, small) { color: #cfc9ee !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site footer.site-footer.kl-footer nav > strong { color: var(--kl26-gold-soft) !important; border-bottom-color: rgba(255, 231, 163, .3) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site footer.site-footer.kl-footer nav a { color: #e7e3ff !important; font-size: .95rem !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site footer.site-footer.kl-footer nav a:hover { color: var(--kl26-gold-soft) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site footer.site-footer.kl-footer .kl-footer-logo strong { color: #fff !important; font-family: var(--kl26-font) !important; font-weight: 800 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site footer.site-footer.kl-footer .kl-footer-logo strong > span { color: var(--kl26-saffron) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site footer.site-footer.kl-footer .kl-footer-logo small { color: var(--kl26-gold-soft) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site footer.site-footer.kl-footer .site-footer__bottom { border-top-color: rgba(255, 231, 163, .2) !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site :is(.tools-back-top, .kl-back-top) {
    border-radius: 14px !important;
    background: var(--kl26-night-2) !important;
    color: var(--kl26-gold-soft) !important;
    box-shadow: var(--kl26-shadow-lift) !important;
}

/* --------------------------------------------------------------------------
   8. Mobile first (most visitors)
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
    :is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-primary-nav {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        border: 1px solid var(--kl26-line) !important;
        border-radius: 18px !important;
        background: #fff !important;
        box-shadow: var(--kl26-shadow-lift) !important;
        padding: 8px !important;
    }
    :is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-primary-nav summary {
        min-height: 50px !important;
        padding: 0 14px !important;
        font-size: 1.02rem !important;
    }
    :is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-nav-panel { box-shadow: none !important; border-radius: 14px !important; border-color: var(--kl26-line-soft) !important; }
}
@media (max-width: 760px) {
    :is(html#kl-fresh-root, html) body#page-top.public-site { font-size: 16px !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .site-container { width: calc(100% - 24px) !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .tools-brand__mark img { width: 36px !important; height: 36px !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .tools-brand__copy strong { font-size: 1.3rem !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .tools-brand__copy small { display: none !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-utility-bar { font-size: 13px !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-utility-actions { padding: 6px 0 8px !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero { border-radius: 20px !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero-actions > a { flex: 1 1 100% !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-reports { border-radius: 20px !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-reports__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card { border-radius: 16px !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__body { padding: 12px 12px 4px !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__body h4 { font-size: 1rem !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__summary { display: none !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__footer { padding: 10px 12px 12px !important; font-size: .88rem !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site :is(.tools-button, .premium-buy-button, .kl-landing-cta, .kl-seo-final-cta) { width: 100% !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site footer.site-footer.kl-footer .site-footer__grid { gap: 22px 16px !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .public-tools-sidebar { margin-top: 18px !important; }
}
@media (max-width: 420px) {
    :is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-reports__grid { grid-template-columns: minmax(0, 1fr) !important; }
    :is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__summary { display: block !important; }
}

/* --------------------------------------------------------------------------
   9. Account screens (customer) and admin panel
   -------------------------------------------------------------------------- */
html body:is(.ka-admin-body, :not(.ka-admin-body)) :is(.ka-wrap, .ka-admin-wrap) { font-family: var(--kl26-font) !important; }
html body:not(.ka-admin-body):not(.public-site) {
    background: var(--kl26-hero) fixed !important;
    background-color: var(--kl26-night) !important;
    color: var(--kl26-text) !important;
    font-family: var(--kl26-font) !important;
    font-size: 16px !important;
}
html body:not(.ka-admin-body):not(.public-site) .ka-nav {
    border: 1px solid rgba(255, 231, 163, .25) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .08) !important;
    backdrop-filter: blur(8px);
}
html body:not(.ka-admin-body):not(.public-site) .ka-nav :is(a, strong) { color: #fff !important; font-weight: 600 !important; }
html body:not(.ka-admin-body):not(.public-site) .ka-card {
    border: 0 !important;
    border-top: 0 !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 24px 60px rgba(8, 6, 30, .35) !important;
}
html body:not(.ka-admin-body):not(.public-site) .ka-title { color: var(--kl26-ink) !important; font-family: var(--kl26-font) !important; font-weight: 800 !important; }
html body:not(.ka-admin-body):not(.public-site) .ka-muted { color: var(--kl26-muted) !important; }
html body:not(.ka-admin-body):not(.public-site) .ka-form label { color: var(--kl26-text) !important; font-weight: 600 !important; }
html body:not(.ka-admin-body):not(.public-site) .ka-badge { background: var(--kl26-gold-soft) !important; color: #6b4a07 !important; }
html body:not(.ka-admin-body):not(.public-site) .kl-login-note { border-color: var(--kl26-gold-soft) !important; background: var(--kl26-cream) !important; color: #6b3a0c !important; border-radius: 12px !important; }

/* Login screens: centered brand card */
html body.ka-auth-body .ka-wrap { max-width: 460px !important; margin: clamp(18px, 7vh, 72px) auto !important; }
html body.ka-auth-body .ka-auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0 0 18px;
    text-align: center;
}
html body.ka-auth-body .ka-auth-brand img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
html body.ka-auth-body .ka-auth-brand strong { color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
html body.ka-auth-body .ka-auth-brand strong span { color: var(--kl26-saffron); }
html body.ka-auth-body .ka-auth-brand small { color: var(--kl26-gold-soft); font-size: .92rem; }
html body.ka-auth-body .ka-card { padding: clamp(20px, 5vw, 32px) !important; }
html body.ka-auth-body .ka-form .ka-btn { width: 100% !important; margin-top: 4px; }
html body.ka-auth-body .ka-auth-foot { margin: 14px 0 0; text-align: center; color: rgba(255, 255, 255, .75); font-size: .88rem; }

/* Admin panel */
html body.ka-admin-body {
    background: linear-gradient(180deg, #f6f4fb 0%, #fbf8f3 100%) !important;
    color: var(--kl26-text) !important;
    font-family: var(--kl26-font) !important;
    --ka: #2b2568;
    --ka2: #1c1846;
    --line: #e6e0f2;
}
html body.ka-admin-body .ka-admin-head {
    background: rgba(255, 255, 255, .96) !important;
    border: 1px solid var(--kl26-line) !important;
    border-radius: 18px !important;
    box-shadow: var(--kl26-shadow) !important;
}
html body.ka-admin-body .ka-admin-brand { color: var(--kl26-night) !important; }
html body.ka-admin-body .ka-admin-brand small { color: var(--kl26-muted) !important; }
html body.ka-admin-body .ka-nav-link { color: var(--kl26-text) !important; border-radius: 10px !important; font-weight: 600 !important; }
html body.ka-admin-body .ka-nav-link:hover { background: var(--kl26-lavender) !important; color: var(--kl26-night-2) !important; }
html body.ka-admin-body .ka-nav-link.is-active { background: var(--kl26-night-2) !important; color: #fff !important; box-shadow: none !important; }
html body.ka-admin-body .ka-nav-link.is-active::before { background: var(--kl26-gold) !important; box-shadow: none !important; }
html body.ka-admin-body .ka-admin-hero {
    border: 0 !important;
    border-radius: 20px !important;
    background: var(--kl26-hero) !important;
    box-shadow: var(--kl26-shadow-lift) !important;
}
html body.ka-admin-body .ka-admin-hero :is(h1, p) { color: #fff !important; }
html body.ka-admin-body .ka-admin-hero .ka-eyebrow { color: var(--kl26-gold-soft) !important; }
html body.ka-admin-body :is(.ka-card, .ka-metric, .ka-admin-action-box, .ka-admin-details) {
    border: 1px solid var(--kl26-line) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: var(--kl26-shadow) !important;
}
html body.ka-admin-body .ka-metric strong, html body.ka-admin-body .ka-section-head h2 { color: var(--kl26-night) !important; }
html body.ka-admin-body .ka-metric-primary { background: var(--kl26-hero) !important; border: 0 !important; }
html body.ka-admin-body .ka-table th { background: var(--kl26-night-2) !important; color: #f4f1ff !important; }
html body.ka-admin-body .ka-table tbody tr:nth-child(even) { background: #faf8fd !important; }
html body.ka-admin-body .ka-table tbody tr:hover { background: var(--kl26-cream) !important; }
@media (max-width: 700px) {
    html body.ka-admin-body .ka-admin-nav { gap: 6px !important; }
    html body.ka-admin-body .ka-nav-link { padding: 10px !important; text-align: center; background: #fff; border: 1px solid var(--kl26-line) !important; }
    html body:not(.ka-admin-body):not(.public-site) .ka-card { border-radius: 16px !important; }
}

/* --------------------------------------------------------------------------
   10. Refinements after first visual review
   -------------------------------------------------------------------------- */
html:has(body.ka-auth-body), html:has(body:not(.ka-admin-body):not(.public-site)) { background: var(--kl26-night) !important; }
html body.ka-auth-body { min-height: 100vh !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .public-tools-sidebar__links a::before {
    background: var(--kl26-lavender) !important;
    color: var(--kl26-gold) !important;
    border-radius: 9px !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .public-tools-sidebar__links a { text-align: left !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-location-picker .pb-context-location,
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-site-header .pb-location-picker[open] .pb-context-location {
    background: rgba(255, 255, 255, .12) !important;
    border-color: rgba(255, 231, 163, .45) !important;
    color: #fff !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero-button:not(.pb-home-hero-button-secondary) {
    background: var(--kl26-btn-primary) !important;
    border-color: transparent !important;
    color: #fff !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero-button:not(.pb-home-hero-button-secondary) :is(strong, small) { color: #fff !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero-button-secondary,
:is(html#kl-fresh-root, html) body#page-top.public-site .pb-home-hero-button-secondary :is(strong, small) { color: #fff !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-premium-card__footer span {
    background: var(--kl26-lavender) !important;
    color: var(--kl26-night-2) !important;
    border-radius: 10px !important;
}

/* Kundli landing: highlight chips and badge must stay readable on the light hero */
:is(html#kl-fresh-root, html) body#page-top.public-site ul.kl-public-value-points li {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    border: 1px solid var(--kl26-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--kl26-ink) !important;
    font-size: .92rem !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site ul.kl-public-value-points li > span { color: var(--kl26-gold) !important; font-weight: 800 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kl-landing-badge {
    border: 1px solid var(--kl26-gold-soft) !important;
    border-radius: 999px !important;
    background: var(--kl26-cream) !important;
    color: #6b4a07 !important;
    font-weight: 600 !important;
}

/* Festivals: same primary button and card link style as the rest of the site */
:is(html#kl-fresh-root, html) body#page-top.public-site a.kf-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 10px 20px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--kl26-btn-primary) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(232, 98, 15, .22) !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site a.kf-card {
    border: 1px solid var(--kl26-line) !important;
    border-radius: var(--kl26-radius) !important;
    background: #fff !important;
    box-shadow: var(--kl26-shadow) !important;
}
:is(html#kl-fresh-root, html) body#page-top.public-site a.kf-card > span { color: var(--kl26-saffron-deep) !important; font-weight: 700 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site .kf-hero { border-radius: 20px !important; border-top-color: var(--kl26-gold) !important; }
