/**
 * AstroLeaf Enterprise - Upapada & Darapada Calculator iOS Glassmorphism Stylesheet
 * High-end Jaimini Marriage & Relationship Analysis UI with iOS frosted glass aesthetics.
 */

:root {
    --ios-saffron: #C37A2E;
    --ios-saffron-light: #FFBA5F;
    --ios-saffron-dark: #65250C;
    --ios-saffron-bg: rgba(195, 122, 46, 0.08);
    --ios-saffron-border: rgba(101, 37, 12, 0.25);
    --ios-dark: #65250C;
    --ios-dark-muted: #555555;
    --ios-card-bg: #FFEFD6;
    --ios-border-color: #65250C;
    --ios-indigo: #C37A2E;
    --ios-emerald: #059669;
    --ios-rose: #65250C;
}

/* Base Body & Centered Layout Containers */
html body .upapada-body {
    background-color: #FFFBF4 !important;
    color: var(--ios-dark) !important;
    font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, 'Plus Jakarta Sans', sans-serif) !important;
    line-height: 1.65 !important;
    padding-bottom: 90px !important;
}

html body .ud-form-section {
    max-width: 840px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body #calc-results {
    display: none;
    max-width: 840px !important;
    margin: 36px auto 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Breadcrumbs Bar (Below Hero Section) */
html body .ud-breadcrumbs-bar {
    background: #FFFDF9 !important;
    border-bottom: 1px solid var(--ios-border-color) !important;
    border-top: 1px solid var(--ios-border-color) !important;
    padding: 12px 20px !important;
    font-size: 0.84rem !important;
}

html body .ud-breadcrumbs-container {
    max-width: 840px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    color: #8C7A6B !important;
    flex-wrap: wrap !important;
}

html body .ud-breadcrumbs-container a {
    color: #6B5B4D !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    font-weight: 500 !important;
}

html body .ud-breadcrumbs-container a:hover { color: var(--ios-saffron) !important; }
html body .ud-breadcrumb-separator { color: #C0B2A3 !important; }
html body .ud-breadcrumb-current { color: var(--ios-dark) !important; font-weight: 700 !important; }

/* iOS Glass Hero Section */
html body .ud-hero {
    position: relative !important;
    background: radial-gradient(circle at 50% 0%, #FFFDF7 0%, #F5EDE0 100%) !important;
    border-bottom: 1px solid var(--ios-border-color) !important;
    padding: 65px 24px 55px 24px !important;
    text-align: center !important;
    overflow: hidden !important;
}

html body .ud-hero-watermark {
    position: absolute !important;
    width: 170px !important;
    height: 170px !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

html body .ud-hero-watermark.left { top: -30px !important; left: -30px !important; }
html body .ud-hero-watermark.right { bottom: -30px !important; right: -30px !important; }

html body .ud-hero-container {
    max-width: 800px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
}

html body .ud-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: var(--font-mono, monospace) !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: var(--ios-rose) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    background: rgba(225, 29, 72, 0.08) !important;
    border: 1px solid rgba(225, 29, 72, 0.22) !important;
    padding: 6px 18px !important;
    border-radius: 50px;
    margin: 0 auto 20px auto !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08) !important;
}

html body .ud-hero-title {
    font-family: var(--font-heading, -apple-system, serif) !important;
    font-size: clamp(2.1rem, 4.5vw, 3.1rem) !important;
    font-weight: 800 !important;
    color: var(--ios-dark) !important;
    margin: 0 auto 16px auto !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
}

html body .ud-hero-title span {
    color: var(--ios-saffron) !important;
    background: linear-gradient(135deg, #E11D48 0%, #D97706 60%, #B45309 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

html body .ud-hero-desc {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: var(--ios-dark-muted) !important;
    margin: 0 auto 24px auto !important;
    max-width: 670px !important;
    text-align: center !important;
}

html body .ud-hero-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 20px !important;
}

html body .ud-btn-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    padding: 0 22px !important;
    background: transparent !important;
    color: var(--ios-saffron) !important;
    border: 1.5px solid var(--ios-saffron) !important;
    border-radius: 8px;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

html body .ud-btn-outline:hover {
    background: var(--ios-saffron-bg) !important;
    border-color: var(--ios-saffron) !important;
    transform: translateY(-1px) !important;
}

/* Clean Astroleaf Universal Form Card */
html body .ud-form-card,
html body .aap-form-card,
html body .vng-form-card,
.ud-form-card,
.aap-form-card,
.vng-form-card {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 16px !important;
    padding: 22px 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    margin-top: 16px !important;
    margin-bottom: 24px !important;
    position: relative !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    html body .ud-form-card,
    html body .aap-form-card,
    html body .vng-form-card,
    .ud-form-card,
    .aap-form-card,
    .vng-form-card {
        padding: 18px 16px !important;
    }
}

html body .ud-form-header {
    text-align: left !important;
    margin-bottom: 16px !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

html body .ud-form-eyebrow,
html body .form-card-eyebrow,
.form-card-eyebrow {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #D97706 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 4px !important;
}

html body .ud-form-title,
html body .form-card-title,
.form-card-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin: 0 !important;
}

html body .ud-input-group label,
html body .pkr-field-label,
.pkr-field-label,
label.pkr-field-label {
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    margin-top: 0 !important;
    line-height: 1.2 !important;
    display: block !important;
}

/* Universal Inputs */
html body input.ud-input,
html body input.aap-input,
html body input.vnc-input,
html body .ud-form-card input,
.aap-input,
.vnc-input {
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    line-height: normal !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 8px !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    outline: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* Universal Selects with Saffron Chevron */
html body select.ud-input,
html body select.ud-select,
html body select.aap-select,
html body select.vnc-select,
html body .ud-form-card select,
select.aap-select,
select.vnc-select,
select#calc-gender,
select#select-dob-day,
select#select-dob-month,
select#ayanamsha-select {
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    line-height: normal !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 14px !important;
    padding-right: 38px !important;
    background-color: #FFFFFF !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px 14px !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 8px !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    text-align: left !important;
    text-align-last: left !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

html body select.aap-select option,
html body select.vnc-select option,
html body select.ud-input option,
html body select.ud-select option {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    color: #1E293B !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    padding: 10px !important;
}

html body input.ud-input:focus,
html body select.ud-input:focus,
html body input.aap-input:focus,
html body select.aap-select:focus,
html body input.vnc-input:focus,
html body select.vnc-select:focus,
html body .ud-form-card input:focus,
html body .ud-form-card select:focus,
.aap-input:focus,
select.aap-select:focus {
    background-color: #FFFFFF !important;
    border-color: #D97706 !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.16) !important;
}

/* Time picker styling */
html body input[type="time"].ud-input,
html body input[type="time"].aap-input,
html body input[type="time"].vnc-input,
html body .ud-form-card input[type="time"] {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    cursor: pointer !important;
}

html body input[type="time"].ud-input::-webkit-calendar-picker-indicator,
html body input[type="time"].aap-input::-webkit-calendar-picker-indicator,
html body input[type="time"].vnc-input::-webkit-calendar-picker-indicator,
html body .ud-form-card input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer !important;
    opacity: 0.85 !important;
    margin-right: 6px !important;
    display: block !important;
}

html body #clear-pob {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #F0E8DC !important;
    border: none !important;
    font-size: 1rem !important;
    color: #786658 !important;
    cursor: pointer !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    z-index: 11 !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

html body #clear-pob:hover {
    background: #E11D48 !important;
    color: #FFFFFF !important;
    transform: translateY(-50%) scale(1.1) !important;
}

html body #osm-suggestions {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E7E0D6 !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 40px rgba(28, 19, 13, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    z-index: 99 !important;
    max-height: 170px !important;
    overflow-y: auto !important;
    display: none;
    animation: ud-slide-down 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes ud-slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ud-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

html body .ud-autocomplete-item {
    padding: 12px 16px !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--ios-dark) !important;
    border-bottom: 1px solid #F4EFE6 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.18s ease !important;
}

html body .ud-autocomplete-item:last-child { border-bottom: none !important; }

html body .ud-autocomplete-item:hover,
html body .ud-autocomplete-item.active {
    background: #FFF7ED !important;
    color: #991B1B !important;
    border-left: 4px solid #E11D48 !important;
    padding-left: 14px !important;
}

html body .ud-autocomplete-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    background: rgba(225, 29, 72, 0.08) !important;
    color: #E11D48 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

html body .ud-autocomplete-details {
    display: flex !important;
    flex-direction: column !important;
}

html body .ud-autocomplete-city {
    font-weight: 700 !important;
    color: #1C130D !important;
    font-size: 0.92rem !important;
}

html body .ud-autocomplete-sub {
    font-size: 0.78rem !important;
    color: #786658 !important;
    font-weight: 500 !important;
}

html body .ud-autocomplete-loading {
    padding: 16px !important;
    text-align: left !important;
    color: #786658 !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

/* Custom Debounced Google Places Autocomplete Suggestions Dropdown */
#google-places-suggestions {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #FFFFFF !important;
    border: 1.5px solid #E2DACD !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 30px rgba(28, 19, 13, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    font-family: var(--font-primary, -apple-system, sans-serif) !important;
    z-index: 999999 !important;
    display: none;
    max-height: 220px !important;
    overflow-y: auto !important;
    padding: 3px 0 !important;
}

.gplaces-item {
    padding: 10px 14px !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: #1C130D !important;
    border-top: 1px solid #F5F0E8 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1.35 !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
}

.gplaces-item:first-child {
    border-top: none !important;
}

.gplaces-item:hover {
    background-color: #FFF7ED !important;
    color: #E11D48 !important;
}

.gplaces-icon {
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
}

.gplaces-text {
    flex-grow: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.pac-logo::after {
    padding: 4px 10px !important;
    height: 14px !important;
    background-size: 50px 12px !important;
}

/* Modern Button */
html body .ud-form-actions {
    margin-top: 8px !important;
    display: flex !important;
    justify-content: flex-start !important;
}

html body .ud-btn-submit {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 56px !important;
    padding: 0 42px !important;
    background: linear-gradient(135deg, #E11D48 0%, #D97706 60%, #B45309 100%) !important;
    color: #FFFFFF !important;
    font-family: inherit !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 8px;
    cursor: pointer !important;
    box-shadow: 0 8px 24px -4px rgba(225, 29, 72, 0.38), 0 2px 6px rgba(180, 83, 9, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden !important;
    gap: 10px !important;
}

html body .ud-btn-submit::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 60% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent) !important;
    transform: skewX(-20deg) !important;
    transition: left 0.75s ease !important;
}

html body .ud-btn-submit:hover {
    transform: translateY(-3px) scale(1.01) !important;
    box-shadow: 0 14px 32px -4px rgba(225, 29, 72, 0.5), 0 4px 12px rgba(180, 83, 9, 0.25) !important;
    background: linear-gradient(135deg, #F43F5E 0%, #9A3412 60%, #C2410C 100%) !important;
}

html body .ud-btn-submit:hover::before { left: 140% !important; }
html body .ud-btn-submit svg { width: 18px !important; height: 18px !important; stroke-width: 2.5px !important; transition: transform 0.25s ease !important; }
html body .ud-btn-submit:hover svg { transform: translateX(4px) !important; }

html body #autocomplete-warning {
    display: none;
    margin-top: 18px !important;
    padding: 14px 18px !important;
    background: #FEF2F2 !important;
    border: 1px solid #FCA5A5 !important;
    border-radius: 8px;
    color: #991B1B !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
}

/* Loading & Results Dashboard */
html body #calc-loading {
    display: none;
    text-align: center !important;
    padding: 40px 24px !important;
    background: #FFEFD6 !important;
    border: 1.5px solid #65250C !important;
    border-radius: 14px;
    margin: 40px auto !important;
    max-width: 840px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body .ud-spinner {
    width: 50px !important;
    height: 50px !important;
    border: 4px solid var(--ios-saffron-bg) !important;
    border-top-color: var(--ios-rose) !important;
    border-radius: 50%;
    animation: ud-spin 0.85s linear infinite !important;
    margin: 0 auto 22px auto !important;
}

@keyframes ud-spin { to { transform: rotate(360deg); } }

html body #calc-results {
    display: none;
    margin-top: 32px !important;
    max-width: 840px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 20px !important;
    overflow-x: hidden !important;
}

@media (max-width: 640px) {
    html body #calc-results {
        padding: 0 12px !important;
        margin-top: 20px !important;
    }
}

/* Spotlight Hero Banner */
html body .ud-result-hero-card {
    background: linear-gradient(135deg, #1C130D 0%, #2D141C 100%) !important;
    color: #FFFFFF !important;
    border-radius: 12px;
    padding: 36px 40px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14) !important;
    margin-bottom: 40px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    flex-wrap: wrap !important;
    border: 1px solid rgba(225, 29, 72, 0.35) !important;
}

html body .ud-result-hero-card::before {
    content: '◈' !important;
    position: absolute !important;
    right: -20px !important;
    bottom: -40px !important;
    font-size: 200px !important;
    color: rgba(225, 29, 72, 0.05) !important;
    font-family: serif !important;
    pointer-events: none !important;
}

html body .ud-hero-card-left { max-width: 620px !important; position: relative !important; z-index: 2 !important; }
html body .ud-result-eyebrow {
    font-family: var(--font-mono, monospace) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #FDA4AF !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 8px !important;
}

html body .ud-result-title {
    font-family: var(--font-heading, serif) !important;
    font-size: clamp(1.45rem, 3vw, 1.95rem) !important;
    font-weight: 800 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.25 !important;
    color: #FAF6EE !important;
}

html body .ud-result-subtitle { font-size: 0.96rem !important; color: #E2D4C8 !important; margin: 0 !important; line-height: 1.6 !important; }

html body .ud-hero-card-badges { display: flex !important; gap: 14px !important; align-items: center !important; position: relative !important; z-index: 2 !important; }

html body .ud-badge-spotlight {
    background: rgba(225, 29, 72, 0.15) !important;
    border: 1px solid rgba(253, 164, 175, 0.4) !important;
    padding: 14px 22px !important;
    border-radius: 50px;
    text-align: left !important;
}

html body .ud-badge-label { font-size: 0.68rem !important; font-weight: 700 !important; color: #FDA4AF !important; text-transform: uppercase !important; letter-spacing: 0.1em !important; display: block !important; }
html body .ud-badge-value { font-size: 1.2rem !important; font-weight: 800 !important; color: #FFFFFF !important; margin-top: 2px !important; display: block !important; }

/* Three Pillars Title Row */
html body .ud-three-pillars-wrapper {
    margin-bottom: 28px !important;
}

html body .ud-three-pillars-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}

html body .ud-three-pillars-title-row h2 {
    font-family: var(--font-heading, serif) !important;
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    color: #1C130D !important;
    margin: 0 !important;
}

/* Pillar Card Custom Styling */
html body .ud-pillar-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body .ud-pillar-label {
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #5C4D42 !important;
}

/* Dark Maroon Dashboard Card */
html body .ud-main-maroon-dashboard {
    background: #FFFFFF !important;
    border: 1.5px solid #EAE3D8 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 16px 42px rgba(28, 19, 13, 0.07) !important;
    margin-top: 32px !important;
    margin-bottom: 48px !important;
    transition: all 0.3s ease !important;
}

html body .ud-main-maroon-dashboard:hover {
    box-shadow: 0 24px 54px rgba(28, 19, 13, 0.11) !important;
}

html body .ud-maroon-banner {
    background: #F97316 !important;
    padding: 24px 28px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: #FFFFFF !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    border-bottom: 3px solid #FFBA5F !important;
}

html body .ud-banner-eyebrow {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 6px !important;
    opacity: 0.95 !important;
}

html body .ud-banner-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    margin: 0 !important;
    line-height: 1.15 !important;
}

html body .ud-banner-lord {
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    display: block !important;
    margin-top: 6px !important;
    opacity: 0.95 !important;
}

html body .ud-banner-right-box {
    background: #FFF7E8 !important;
    border: 1.5px solid #65250C !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    min-width: 175px !important;
    box-shadow: none !important;
}

html body .ud-box-eyebrow {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    color: #65250C !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 4px !important;
}

html body .ud-box-val-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #65250C !important;
}

html body .ud-box-sym { color: #65250C !important; }
html body .ud-box-deg {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #65250C !important;
    font-family: 'Outfit', sans-serif !important;
    margin-top: 2px !important;
    display: inline-block !important;
}

html body .ud-maroon-body {
    padding: 24px 28px !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

@media (max-width: 640px) {
    html body .ud-maroon-body {
        padding: 16px 12px !important;
    }
}

/* Dashboard Main Grid with Kundli Chart */
html body .ud-dashboard-main-grid {
    display: grid !important;
    grid-template-columns: 320px 1fr !important;
    gap: 24px !important;
    margin-bottom: 24px !important;
    padding-bottom: 24px !important;
    border-bottom: 1.5px dashed #E2E8F0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    html body .ud-dashboard-main-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

html body .ud-chart-box {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 14px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

/* Synergy Banner & Plain-English Summary Box */
html body .ud-synergy-banner {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    margin-bottom: 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

@media (max-width: 640px) {
    html body .ud-synergy-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

html body .ud-synergy-badge-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 120px !important;
    background: #FFF7ED !important;
    border: 1px solid #FED7AA !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
}

html body .ud-synergy-pill {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    color: #EA580C !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}

html body .ud-synergy-score-val {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #C2410C !important;
    line-height: 1 !important;
    margin-top: 4px !important;
}

html body .ud-synergy-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin: 0 0 4px 0 !important;
}

html body .ud-synergy-desc {
    font-size: 0.92rem !important;
    color: #475569 !important;
    margin: 0 !important;
    line-height: 1.55 !important;
}

html body .ud-plain-english-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin-top: 14px !important;
}

html body .ud-plain-icon {
    background: #EFF6FF !important;
    border-radius: 10px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #2563EB !important;
}

html body .ud-plain-title {
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #0F172A !important;
    display: block !important;
    margin-bottom: 4px !important;
}

html body .ud-plain-text {
    font-size: 0.92rem !important;
    color: #475569 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

html body .ud-chart-header {
    margin-bottom: 10px !important;
}

html body .ud-chart-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    display: block !important;
}

html body .ud-chart-caption {
    font-size: 0.78rem !important;
    color: #64748B !important;
    font-weight: 600 !important;
    display: block !important;
    margin-top: 2px !important;
}

html body .ud-chart-svg-container {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
}

html body .ud-planets-split-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body .ud-spouse-archetype-box {
    background: #FFFBEB !important;
    border: 1px solid #FDE68A !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    margin-top: 4px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
}

html body .ud-archetype-eyebrow {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    color: #D97706 !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 4px !important;
}

html body .ud-archetype-snippet {
    font-size: 0.9rem !important;
    color: #334155 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

html body .ud-col-heading {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 8px !important;
}

html body .ud-sub-tag {
    color: #64748B !important;
    font-weight: 600 !important;
}

html body .ud-pills-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body .ud-planet-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    transition: transform 0.15s ease !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
}

html body .ud-planet-pill:hover {
    transform: translateY(-1px) !important;
}

html body .pill-dot { opacity: 0.5 !important; }

html body .ud-empty-planets {
    font-size: 0.86rem !important;
    font-style: italic !important;
    color: #64748B !important;
    display: inline-block !important;
    padding: 4px 0 !important;
}

/* 2 Bottom Sub-Cards */
html body .ud-subcards-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 14px !important;
}

html body .ud-subcard {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

html body .subcard-blue {
    background: #F0F7FF !important;
    border: 1.5px solid #DBEAFE !important;
}

html body .subcard-blue:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08) !important;
}

html body .subcard-yellow {
    background: #FEFCE8 !important;
    border: 1.5px solid #FEF08A !important;
}

html body .subcard-yellow:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.08) !important;
}

html body .ud-subcard-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

html body .icon-blue { background: #DBEAFE !important; color: #2563EB !important; }
html body .icon-yellow { background: #FEF08A !important; color: #D97706 !important; }

html body .ud-subcard-eyebrow {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 2px !important;
}

html body .subcard-blue .ud-subcard-eyebrow { color: #2563EB !important; }
html body .subcard-yellow .ud-subcard-eyebrow { color: #B45309 !important; }

html body .ud-subcard-title {
    font-family: var(--font-heading, serif) !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #1C130D !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

html body .ud-subcard-caption {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #6B7280 !important;
    display: block !important;
    margin-top: 2px !important;
}

html body .ud-deepdive-container {
    padding: 36px 42px !important;
    background: #FAF7F2 !important;
    border-top: 1.5px solid #EAE3D8 !important;
}

/* Top 3 Result Cards Grid */
html body .ud-top-3-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 28px !important;
}

@media (max-width: 767px) {
    html body .ud-top-3-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Clean & Uncluttered Compact Pillar Cards */
html body .ud-compact-card {
    background: #FFEFD6 !important;
    border: 1.5px solid #65250C !important;
    border-radius: 14px !important;
    padding: 20px 22px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: rgba(9, 30, 66, 0.12) 0px 4px 14px -2px, rgba(9, 30, 66, 0.05) 0px 0px 0px 1px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

html body .ud-compact-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(101, 37, 12, 0.15) !important;
}

/* Inner Content Layout */
html body .ud-card-inner {
    position: relative !important;
    z-index: 2 !important;
}

html body .ud-card-header-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 10px !important;
}

html body .ud-pillar-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

html body .icon-bg-ul { background: #FFF7E8 !important; border: 1px solid #65250C !important; }
html body .icon-bg-dk { background: #FFF7E8 !important; border: 1px solid #C37A2E !important; }
html body .icon-bg-a7 { background: #FFF7E8 !important; border: 1px solid #059669 !important; }

html body .ud-pillar-label {
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #65250C !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    display: block !important;
}

html body .ud-card-main-val {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #65250C !important;
    line-height: 1.15 !important;
    margin-top: 2px !important;
}

/* Callout Insight Snippets */
html body .ud-card-insight-snippet {
    font-size: 0.82rem !important;
    line-height: 1.55 !important;
    color: #334155 !important;
    background: #F8FAFC !important;
    border-radius: 10px !important;
    padding: 11px 14px !important;
    border: 1px solid #E2E8F0 !important;
    margin-top: 14px !important;
    font-weight: 500 !important;
}

html body .snippet-ul { border-left: 3px solid #E11D48 !important; background: #FFF1F2 !important; border-color: #FFE4E6 !important; }
html body .snippet-dk { border-left: 3px solid #D97706 !important; background: #FFFBEB !important; border-color: #FEF3C7 !important; }
html body .snippet-a7 { border-left: 3px solid #059669 !important; background: #ECFDF5 !important; border-color: #D1FAE5 !important; }

/* Lower Marriage Longevity & Sustenance Card */
html body .ud-longevity-card {
    background: #FFFFFF !important;
    border: 1.5px solid #EAE3D8 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 36px rgba(28, 19, 13, 0.06) !important;
    margin-top: 32px !important;
    margin-bottom: 44px !important;
    transition: all 0.3s ease !important;
}

html body .ud-longevity-card:hover {
    box-shadow: 0 20px 48px rgba(28, 19, 13, 0.1) !important;
}

html body .ud-longevity-header {
    background: linear-gradient(135deg, #1C130D 0%, #3B220B 50%, #78350F 100%) !important;
    color: #FFFFFF !important;
    padding: 28px 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
    border-bottom: 3.5px solid #D97706 !important;
}

html body .ud-longevity-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

html body .ud-longevity-header-icon {
    width: 46px !important;
    height: 46px !important;
    background: rgba(245, 158, 11, 0.2) !important;
    border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #FBBF24 !important;
}

html body .ud-longevity-title {
    font-family: var(--font-heading, serif) !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #FAF6EE !important;
    margin: 0 0 2px 0 !important;
}

html body .ud-longevity-subtitle {
    font-size: 0.84rem !important;
    color: #E7E5E4 !important;
    margin: 0 !important;
}

html body .ud-longevity-body {
    padding: 36px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
}

html body .ud-longevity-block {
    background: #FAF6EE !important;
    border: 1px solid #E7E0D6 !important;
    border-radius: 10px !important;
    padding: 20px !important;
}

html body .ud-longevity-block-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #78350F !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

html body .ud-longevity-block-val {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--ios-dark) !important;
    margin-bottom: 8px !important;
}

html body .ud-longevity-block-text {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    color: #4A3E34 !important;
}

/* Rich Jaimini Sections Styling */
html body .ud-longevity-section {
    padding-bottom: 28px !important;
    margin-bottom: 28px !important;
    border-bottom: 1.5px dashed #EAE3D8 !important;
}

html body .ud-section-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
}

html body .ud-section-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

html body .ud-section-icon.icon-dk { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important; }
html body .ud-section-icon.icon-ul { background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important; }
html body .ud-section-icon.icon-longevity { background: linear-gradient(135deg, #78350F 0%, #451A03 100%) !important; }
html body .ud-section-icon.icon-a7 { background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important; }
html body .ud-section-icon.icon-remedy { background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%) !important; }

html body .ud-section-eyebrow {
    font-family: var(--font-mono, monospace) !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    color: #D97706 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    display: block !important;
}

html body .ud-section-title {
    font-family: var(--font-heading, serif) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #1C130D !important;
    margin: 2px 0 0 0 !important;
}

html body .ud-section-p {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    color: #4A3E34 !important;
    margin: 0 0 16px 0 !important;
}

html body .ud-info-grid-2 {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 16px !important;
}

html body .ud-info-box {
    background: #FAF6EE !important;
    border: 1.5px solid #EAE3D8 !important;
    border-radius: 10px !important;
    padding: 16px 18px !important;
    transition: all 0.25s ease !important;
}

html body .ud-info-box:hover {
    background: #FFFFFF !important;
    border-color: #D97706 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.08) !important;
}

html body .ud-info-label {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    color: #78350F !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    display: block !important;
    margin-bottom: 4px !important;
}

html body .ud-info-val {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
    color: #1C130D !important;
}

html body .ud-remedy-callout {
    background: linear-gradient(135deg, #FFFDF8 0%, #FAF4E8 100%) !important;
    border: 1.5px solid #E7E0D6 !important;
    border-left: 4px solid #D97706 !important;
    border-radius: 10px !important;
    padding: 20px 24px !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.06) !important;
}

html body .ud-remedy-tag {
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    color: #D97706 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    display: block !important;
}

/* Aspect pill styling */
.ud-aspect-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    background: #F4ECE0 !important;
    border: 1px solid #E2DACD !important;
    color: #2B1B12 !important;
    margin: 2px !important;
}

/* Responsive */
@media (max-width: 600px) {
    html body .ud-form-card { padding: 24px 16px !important; }
    html body .ud-hero { padding: 48px 16px 36px 16px !important; }
    html body .ud-btn-submit { width: 100% !important; }
    .ud-sub-select-grid { gap: 6px !important; }
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #FBBF24 !important;
}

html body .ud-longevity-title {
    font-family: var(--font-heading, serif) !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #FAF6EE !important;
    margin: 0 0 2px 0 !important;
}

html body .ud-longevity-subtitle {
    font-size: 0.84rem !important;
    color: #E7E5E4 !important;
    margin: 0 !important;
}

html body .ud-longevity-body {
    padding: 36px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
}

html body .ud-longevity-block {
    background: #FAF6EE !important;
    border: 1px solid #E7E0D6 !important;
    border-radius: 10px !important;
    padding: 20px !important;
}

html body .ud-longevity-block-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #78350F !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

html body .ud-longevity-block-val {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--ios-dark) !important;
    margin-bottom: 8px !important;
}

html body .ud-longevity-block-text {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    color: #4A3E34 !important;
}

/* Rich Jaimini Sections Styling */
html body .ud-longevity-section {
    padding-bottom: 28px !important;
    margin-bottom: 28px !important;
    border-bottom: 1.5px dashed #EAE3D8 !important;
}

html body .ud-section-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
}

html body .ud-section-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

html body .ud-section-icon.icon-dk { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important; }
html body .ud-section-icon.icon-ul { background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important; }
html body .ud-section-icon.icon-longevity { background: linear-gradient(135deg, #78350F 0%, #451A03 100%) !important; }
html body .ud-section-icon.icon-a7 { background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important; }
html body .ud-section-icon.icon-remedy { background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%) !important; }

html body .ud-section-eyebrow {
    font-family: var(--font-mono, monospace) !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    color: #D97706 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    display: block !important;
}

html body .ud-section-title {
    font-family: var(--font-heading, serif) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #1C130D !important;
    margin: 2px 0 0 0 !important;
}

html body .ud-section-p {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    color: #4A3E34 !important;
    margin: 0 0 16px 0 !important;
}

html body .ud-info-grid-2 {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 16px !important;
}

html body .ud-info-box {
    background: #FAF6EE !important;
    border: 1.5px solid #EAE3D8 !important;
    border-radius: 10px !important;
    padding: 16px 18px !important;
    transition: all 0.25s ease !important;
}

html body .ud-info-box:hover {
    background: #FFFFFF !important;
    border-color: #D97706 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.08) !important;
}

html body .ud-info-label {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    color: #78350F !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    display: block !important;
    margin-bottom: 4px !important;
}

html body .ud-info-val {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
    color: #1C130D !important;
}

html body .ud-remedy-callout {
    background: linear-gradient(135deg, #FFFDF8 0%, #FAF4E8 100%) !important;
    border: 1.5px solid #E7E0D6 !important;
    border-left: 4px solid #D97706 !important;
    border-radius: 10px !important;
    padding: 20px 24px !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.06) !important;
}

html body .ud-remedy-tag {
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    color: #D97706 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    display: block !important;
}

/* Aspect pill styling */
.ud-aspect-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    background: #F4ECE0 !important;
    border: 1px solid #E2DACD !important;
    color: #2B1B12 !important;
    margin: 2px !important;
}

/* Responsive */
@media (max-width: 600px) {
    html body .ud-form-card { padding: 24px 16px !important; }
    html body .ud-hero { padding: 48px 16px 36px 16px !important; }
    html body .ud-btn-submit { width: 100% !important; }
    .ud-sub-select-grid { gap: 6px !important; }
    html body .ud-top-3-grid { grid-template-columns: 1fr !important; }
    html body .ud-longevity-body { padding: 20px 16px !important; }
    html body .ud-info-grid-2 { grid-template-columns: 1fr !important; }
}

@media (max-width: 767px) {
    html body .ud-form-card {
        padding: 24px 16px !important;
        border-radius: 12px;
        box-sizing: border-box !important;
    }
    html body .ud-form-grid, html body .form-grid-columns {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}

/* ===================================================================
   INFORMATIVE CONTENT SECTIONS (Articles, FAQ, Lists, Spacing)
   =================================================================== */

html body .ud-content-section {
    max-width: 1040px !important;
    margin: 72px auto 0 auto !important;
    padding: 0 20px 90px 20px !important;
}

html body .ud-content-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

/* Article Block Spacing & Typography */
html body .ud-article {
    padding: 10px 0 !important;
    margin: 0 !important;
}

html body .ud-article-header {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    margin-bottom: 24px !important;
}

html body .ud-article-number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%) !important;
    color: #E11D48 !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    letter-spacing: 0.04em !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08) !important;
}

html body .ud-article-title {
    font-family: var(--font-heading, serif) !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #1C130D !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: -0.01em !important;
}

html body .ud-article-body {
    padding-left: 60px !important;
}

html body .ud-article-body p {
    font-size: 0.98rem !important;
    color: #3D2E22 !important;
    line-height: 1.82 !important;
    margin: 0 0 20px 0 !important;
}

html body .ud-article-body p:last-child {
    margin-bottom: 0 !important;
}

/* Divider between articles */
html body .ud-divider {
    border: none !important;
    border-top: 1.5px solid #EAE3D8 !important;
    margin: 48px 0 !important;
    opacity: 0.8 !important;
}

/* Vector SVG Darakaraka Cards */
html body .ud-dk-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: 14px !important;
    margin: 28px 0 !important;
}

html body .ud-dk-card {
    background: #FFFFFF !important;
    border: 1.5px solid #EAE3D8 !important;
    border-radius: 14px !important;
    padding: 16px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

html body .ud-dk-card:hover {
    border-color: #E11D48 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.06) !important;
}

html body .ud-dk-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 4px !important;
    background: #FFFDFB !important;
    border: 1px solid #FFE4E6 !important;
}

html body .ud-dk-name {
    font-size: 0.94rem !important;
    font-weight: 800 !important;
    color: #881337 !important;
}

html body .ud-dk-trait {
    font-size: 0.84rem !important;
    color: #5C4D42 !important;
    line-height: 1.5 !important;
}

/* ===================================================================
   PREMIUM FAQ ACCORDION WITH ANIMATIONS & HIGHLIGHTS
   =================================================================== */

html body .ud-faq-accordion {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin-top: 12px !important;
}

html body .ud-faq-item {
    background: #FFFFFF !important;
    border: 1.5px solid #EAE3D8 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

html body .ud-faq-item:hover {
    border-color: #E11D48 !important;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.05) !important;
}

html body .ud-faq-item.active {
    border-color: #E11D48 !important;
    box-shadow: 0 6px 22px rgba(225, 29, 72, 0.08) !important;
    background: #FFFDFB !important;
}

html body .ud-faq-question {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 20px 22px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    text-align: left !important;
    font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, sans-serif) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1C130D !important;
    line-height: 1.45 !important;
    gap: 16px !important;
    transition: color 0.2s ease !important;
}

html body .ud-faq-question:hover .ud-faq-qtext {
    color: #E11D48 !important;
}

html body .ud-faq-item.active .ud-faq-qtext {
    color: #881337 !important;
}

html body .ud-faq-toggle-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 50% !important;
    background: #FFF1F2 !important;
    color: #E11D48 !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, color 0.2s ease !important;
}

html body .ud-faq-question[aria-expanded="true"] .ud-faq-toggle-icon {
    transform: rotate(45deg) !important;
    background: #E11D48 !important;
    color: #FFFFFF !important;
}

html body .ud-faq-answer-wrapper {
    display: grid !important;
    grid-template-rows: 0fr !important;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html body .ud-faq-question[aria-expanded="true"] + .ud-faq-answer-wrapper {
    grid-template-rows: 1fr !important;
}

html body .ud-faq-answer-content {
    overflow: hidden !important;
    padding: 0 22px 0 22px !important;
    transition: padding 0.3s ease !important;
}

html body .ud-faq-question[aria-expanded="true"] + .ud-faq-answer-wrapper .ud-faq-answer-content {
    padding: 0 22px 22px 22px !important;
}

html body .ud-faq-answer-content p {
    font-size: 0.95rem !important;
    color: #5C4D42 !important;
    line-height: 1.78 !important;
    margin: 0 !important;
    padding-top: 4px !important;
    border-top: 1px dashed #FFE4E6 !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
    html body .ud-content-section {
        margin: 40px auto 0 auto !important;
        padding: 0 16px 60px 16px !important;
    }

    html body .ud-article-header {
        gap: 12px !important;
        margin-bottom: 18px !important;
    }

    html body .ud-article-number {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 0.78rem !important;
        border-radius: 10px !important;
    }

    html body .ud-article-title {
        font-size: 1.28rem !important;
    }

    html body .ud-article-body {
        padding-left: 0 !important;
    }

    html body .ud-divider {
        margin: 36px 0 !important;
    }

    html body .ud-faq-question {
        font-size: 0.96rem !important;
        padding: 16px 18px !important;
    }

    html body .ud-faq-answer-content {
        padding: 0 18px 0 18px !important;
    }

    html body .ud-faq-question[aria-expanded="true"] + .ud-faq-answer-wrapper .ud-faq-answer-content {
        padding: 0 18px 18px 18px !important;
    }
}


/* ===================================================================
   VISUAL ILLUSTRATIONS & GRAPHICS FOR CONTENT ARTICLES
   =================================================================== */

/* Calculation Step Flow Card */
html body .ud-illustration-card {
    background: #FFFDFB !important;
    border: 1.5px solid #FFE4E6 !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    margin: 24px 0 !important;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.04) !important;
}

html body .ud-illustration-badge {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    color: #E11D48 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 4px !important;
}

html body .ud-illustration-title {
    font-family: var(--font-heading, serif) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #881337 !important;
    margin: 0 0 16px 0 !important;
}

html body .ud-step-flow {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

html body .ud-step-item {
    flex: 1 !important;
    min-width: 140px !important;
    background: #FFFFFF !important;
    border: 1px solid #FCD34D !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

html body .ud-step-item.result-step {
    border-color: #E11D48 !important;
    background: #FFF1F2 !important;
}

html body .ud-step-num {
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    color: #D97706 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
}

html body .ud-step-item.result-step .ud-step-num {
    color: #E11D48 !important;
}

html body .ud-step-label {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #1C130D !important;
}

html body .ud-step-val {
    font-size: 0.85rem !important;
    color: #4A3E34 !important;
    line-height: 1.4 !important;
}

html body .ud-step-arrow {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #D97706 !important;
}

/* Key Dimensions Grid */
html body .ud-dimensions-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 16px !important;
    margin: 24px 0 !important;
}

html body .ud-dim-card {
    background: #FFFFFF !important;
    border: 1.5px solid #EAE3D8 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
}

html body .ud-dim-card:hover {
    border-color: #E11D48 !important;
    transform: translateY(-2px) !important;
}

html body .ud-dim-icon {
    font-size: 1.4rem !important;
}

html body .ud-dim-title {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #881337 !important;
}

html body .ud-dim-desc {
    font-size: 0.85rem !important;
    color: #5C4D42 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* Comparison Matrix Table */
html body .ud-comparison-wrapper {
    overflow-x: auto !important;
    margin: 24px 0 !important;
    border-radius: 14px !important;
    border: 1.5px solid #EAE3D8 !important;
}

html body .ud-comparison-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 0.9rem !important;
    text-align: left !important;
}

html body .ud-comparison-table th {
    background: #FFF1F2 !important;
    color: #881337 !important;
    font-weight: 800 !important;
    padding: 14px 18px !important;
    border-bottom: 1.5px solid #FFE4E6 !important;
}

html body .ud-comparison-table td {
    padding: 14px 18px !important;
    border-bottom: 1px solid #F5EDE0 !important;
    color: #3D2E22 !important;
    line-height: 1.55 !important;
}

html body .ud-comparison-table tr:last-child td {
    border-bottom: none !important;
}

/* 7-Planet Darakaraka Cheat Sheet Grid */
html body .ud-dk-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
    gap: 12px !important;
    margin: 24px 0 !important;
}

html body .ud-dk-card {
    background: #FFFDFB !important;
    border: 1px solid #FFE4E6 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

html body .ud-dk-symbol {
    font-size: 1.2rem !important;
    color: #E11D48 !important;
}

html body .ud-dk-name {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: #881337 !important;
}

html body .ud-dk-trait {
    font-size: 0.82rem !important;
    color: #5C4D42 !important;
    line-height: 1.45 !important;
}

/* Benefic vs Malefic Influence Breakdown */
html body .ud-influence-box {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin: 24px 0 !important;
}

@media (max-width: 640px) {
    html body .ud-influence-box {
        grid-template-columns: 1fr !important;
    }
}

html body .ud-influence-col {
    border-radius: 14px !important;
    padding: 18px 20px !important;
}

html body .ud-influence-col.benefic {
    background: #ECFDF5 !important;
    border: 1.5px solid #A7F3D0 !important;
}

html body .ud-influence-col.malefic {
    background: #FFF1F2 !important;
    border: 1.5px solid #FECDD3 !important;
}

html body .ud-influence-tag {
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 6px !important;
}

html body .ud-influence-col.benefic .ud-influence-tag { color: #047857 !important; }
html body .ud-influence-col.malefic .ud-influence-tag { color: #BE123C !important; }

html body .ud-influence-col p {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    color: #374151 !important;
}

/* Rashi Drishti Aspect Grid */
html body .ud-drishti-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 14px !important;
    margin: 24px 0 !important;
}

html body .ud-drishti-card {
    background: #FAF6EE !important;
    border: 1px solid #E7E0D6 !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
}

html body .ud-drishti-type {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    color: #D97706 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    display: block !important;
}

html body .ud-drishti-signs {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: #1C130D !important;
    display: block !important;
    margin-bottom: 6px !important;
}

html body .ud-drishti-rule {
    font-size: 0.84rem !important;
    color: #4A3E34 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

/* Process Timeline Flow */
html body .ud-process-timeline {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 14px !important;
    margin: 24px 0 !important;
}

html body .ud-timeline-step {
    background: #FFFFFF !important;
    border: 1.5px solid #EAE3D8 !important;
    border-radius: 14px !important;
    padding: 18px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

html body .ud-tstep-num {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #E11D48 !important;
    color: #FFFFFF !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body .ud-tstep-title {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    color: #1C130D !important;
}

html body .ud-tstep-desc {
    font-size: 0.82rem !important;
    color: #5C4D42 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

/* --- ARTICLE STYLING WITH LEFT ALIGNMENT --- */
html body .ud-content-section {
    margin-top: 48px !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

html body .ud-article {
    background: #FFFFFF !important;
    border: 1.5px solid #FDE68A !important;
    border-radius: 16px !important;
    padding: 32px 36px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 8px 30px rgba(217, 119, 6, 0.04) !important;
    text-align: left !important;
}

html body .ud-article-number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    border: 1.5px solid #FDE68A !important;
    background: #FEF3C7 !important;
    color: #B45309 !important;
    margin: 0 0 12px 0 !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.1) !important;
}

html body .ud-article-title {
    font-family: 'Cinzel', Georgia, serif !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #1F1914 !important;
    margin: 0 0 16px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #FEF3C7 !important;
    text-align: left !important;
}

html body .ud-article-body {
    font-size: 0.96rem !important;
    color: #5C4D42 !important;
    line-height: 1.75 !important;
    text-align: left !important;
}

html body .ud-article-body p {
    margin-bottom: 16px !important;
    text-align: left !important;
}
html body .ud-article-body p:last-child {
    margin-bottom: 0 !important;
}

/* Left-Aligned Edu Grid & Cards */
html body .ud-edu-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    margin: 22px 0 !important;
}

html body .ud-edu-card {
    background: #FAF7F2 !important;
    border: 1px solid #FDE68A !important;
    border-radius: 12px !important;
    padding: 22px !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.03) !important;
    text-align: left !important;
}

html body .ud-edu-card h4 {
    font-family: 'Cinzel', Georgia, serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #B45309 !important;
    margin: 0 0 10px 0 !important;
    text-align: left !important;
}

html body .ud-edu-card p {
    font-size: 0.9rem !important;
    color: #5C4D42 !important;
    margin: 0 !important;
    line-height: 1.65 !important;
    text-align: left !important;
}

/* Left-Aligned Step Cards */
html body .ud-step-card {
    background: #FFFDF9 !important;
    border: 1.5px solid #FDE68A !important;
    border-radius: 12px !important;
    padding: 18px 22px !important;
    margin-bottom: 12px !important;
    text-align: left !important;
}

html body .ud-step-card strong {
    color: #1F1914 !important;
    font-size: 0.98rem !important;
    display: block !important;
    margin-bottom: 4px !important;
}

html body .ud-step-card p {
    margin: 0 !important;
    font-size: 0.9rem !important;
    color: #5C4D42 !important;
    text-align: left !important;
}

/* Badge Chips */
html body .ud-badge-chip {
    display: inline-block !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
}
html body .ud-badge-chip.benefic {
    background: #ECFDF5 !important;
    color: #047857 !important;
    border: 1px solid #A7F3D0 !important;
}
html body .ud-badge-chip.gold {
    background: #FEF3C7 !important;
    color: #B45309 !important;
    border: 1px solid #FDE68A !important;
}
html body .ud-badge-chip.malefic {
    background: #FEF2F2 !important;
    color: #B91C1C !important;
    border: 1px solid #FECACA !important;
}

/* Table Styling */
html body .ud-table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    border-radius: 12px !important;
    border: 1.5px solid #FDE68A !important;
    margin: 22px 0 !important;
}

html body .ud-comparison-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 0.92rem !important;
    text-align: left !important;
    background: #FFFFFF !important;
}

html body .ud-comparison-table th {
    background: #FEF3C7 !important;
    color: #78350F !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.06em !important;
    padding: 14px 18px !important;
    border-bottom: 1.5px solid #FDE68A !important;
    text-align: left !important;
}

html body .ud-comparison-table td {
    padding: 14px 18px !important;
    border-bottom: 1px solid #FEF3C7 !important;
    color: #5C4D42 !important;
    text-align: left !important;
}

html body .ud-comparison-table tr:last-child td {
    border-bottom: none !important;
}

/* FAQ Accordion Styling */
html body .ud-faq-accordion {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin-top: 16px !important;
}

html body .ud-faq-item {
    background: #FFFDF9 !important;
    border: 1.5px solid #FDE68A !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
}

html body .ud-faq-item.active {
    border-color: #D97706 !important;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.1) !important;
    background: #FFFFFF !important;
}

html body .ud-faq-question {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 20px !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    color: #1F1914 !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}

html body .ud-faq-toggle-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #FEF3C7 !important;
    color: #B45309 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease !important;
    flex-shrink: 0 !important;
}

html body .ud-faq-item.active .ud-faq-toggle-icon {
    transform: rotate(45deg) !important;
    background: #C37A2E !important;
    color: #FFFFFF !important;
}

html body .ud-faq-answer-content {
    display: none !important;
    padding: 0 20px 18px 20px !important;
    font-size: 0.94rem !important;
    color: #5C3D2E !important;
    line-height: 1.65 !important;
    margin-top: 4px !important;
    padding-top: 14px !important;
    text-align: left !important;
}

html body .ud-faq-item.active .ud-faq-answer-content {
    display: block !important;
}

@media (max-width: 768px) {
    html body .ud-article { padding: 24px 20px !important; }
    html body .ud-article-title { font-size: 1.25rem !important; }
}



/* --- REMOVE ARTICLE NUMBERS --- */
html body .ud-article-number {
    display: none !important;
}

/* --- ENFORCED LEFT ALIGNMENT OVERRIDE --- */
html body .ud-content-section,
html body .ud-article,
html body .ud-article-header,
html body .ud-article-title,
html body .ud-article-body,
html body .ud-article-body p,
html body .ud-article-body div,
html body .ud-article-body li,
html body .ud-edu-grid,
html body .ud-edu-card,
html body .ud-edu-card h4,
html body .ud-edu-card p,
html body .ud-step-card,
html body .ud-step-card strong,
html body .ud-step-card p,
html body .ud-table-responsive,
html body .ud-comparison-table,
html body .ud-comparison-table th,
html body .ud-comparison-table td,
html body .ud-faq-accordion,
html body .ud-faq-item,
html body .ud-faq-question,
html body .ud-faq-answer-content,
html body .ud-faq-answer-content p {
    text-align: left !important;
}

/* Universal Design System Link Styles */
html body .ud-article-body a,
html body .wy-article-body a,
a.ud-inline-link,
a.vng-inline-link {
    color: #65250C !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(101, 37, 12, 0.4) !important;
    transition: all 0.2s ease !important;
}

html body .ud-article-body a:hover,
html body .wy-article-body a:hover,
a.ud-inline-link:hover,
a.vng-inline-link:hover {
    color: #C37A2E !important;
    text-decoration-color: #C37A2E !important;
}
/* Universal Link Styling High-Specificity Override */
html body a.vng-inline-link,
html body a.ud-inline-link,
html body a.wy-inline-link,
html body .wy-article-body a,
html body .ud-article-body a,
html body .wy-seo-articles a,
html body .ud-seo-articles a,
html body article a {
    color: #65250C !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-decoration-color: #65250C !important;
    text-underline-offset: 3px !important;
    text-decoration-thickness: 1.5px !important;
    transition: color 0.2s ease, text-decoration-color 0.2s ease !important;
}

html body a.vng-inline-link:hover,
html body a.ud-inline-link:hover,
html body a.wy-inline-link:hover,
html body .wy-article-body a:hover,
html body .ud-article-body a:hover,
html body .wy-seo-articles a:hover,
html body .ud-seo-articles a:hover,
html body article a:hover {
    color: #C37A2E !important;
    text-decoration: underline !important;
    text-decoration-color: #C37A2E !important;
}
/* --- UNIVERSAL DESIGN PROTOTYPE DARK TERRACOTTA LINK COLORS (#65250C) --- */
html body a,
html body a.vng-inline-link,
html body a.ud-inline-link,
html body a.wy-inline-link,
html body .upapada-body a,
html body .ud-content-section a,
html body .wy-article-body a,
html body .ud-article-body a,
html body .ud-article p a,
html body .wy-seo-articles a,
html body .ud-seo-articles a,
html body article a {
    color: #65250C !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-decoration-color: #65250C !important;
    text-underline-offset: 3px !important;
    text-decoration-thickness: 1.5px !important;
    transition: color 0.2s ease, text-decoration-color 0.2s ease !important;
}

html body a:hover,
html body a.vng-inline-link:hover,
html body a.ud-inline-link:hover,
html body a.wy-inline-link:hover,
html body .upapada-body a:hover,
html body .ud-content-section a:hover,
html body .wy-article-body a:hover,
html body .ud-article-body a:hover,
html body .ud-article p a:hover,
html body .wy-seo-articles a:hover,
html body .ud-seo-articles a:hover,
html body article a:hover {
    color: #C37A2E !important;
    text-decoration: underline !important;
    text-decoration-color: #C37A2E !important;
}

/* Universal Design System — Clean Unboxed Article Prose (Directly On Page) */
html body .wy-seo-articles,
html body .ud-seo-articles {
    max-width: 840px !important;
    margin: 48px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    text-align: left !important;
    background: transparent !important;
}

html body .ud-article,
html body article.wy-article-section,
html body .wy-article-section {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 46px !important;
    box-shadow: none !important;
    text-align: left !important;
}

html body .ud-article-title,
html body .wy-article-h2,
html body .wy-article-section h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #65250C !important;
    margin: 0 0 18px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1.5px solid #65250C !important;
    background: transparent !important;
    text-align: left !important;
}

html body .ud-article-body p,
html body .wy-article-body p {
    font-family: 'Be Vietnam Pro', sans-serif !important;
    font-size: 1.05rem !important;
    color: #555555 !important;
    line-height: 1.85 !important;
    margin: 0 0 18px 0 !important;
    text-align: left !important;
}

html body .wy-item-list,
html body .ud-article-body ul,
html body .wy-article-body ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 24px 0 !important;
}

html body .wy-item-list li,
html body .ud-article-body ul li,
html body .wy-article-body ul li {
    position: relative !important;
    padding-left: 26px !important;
    margin-bottom: 14px !important;
    font-family: 'Be Vietnam Pro', sans-serif !important;
    font-size: 1.05rem !important;
    color: #555555 !important;
    line-height: 1.85 !important;
    text-align: left !important;
}

html body .wy-item-list li::before,
html body .ud-article-body ul li::before,
html body .wy-article-body ul li::before {
    content: "✦" !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    color: #65250C !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
}

html body .wy-item-list strong,
html body .ud-article-body strong,
html body .wy-article-body strong {
    color: #65250C !important;
    font-weight: 700 !important;
}

/* Universal Design System — Tight Natural Paragraph & Section Spacing */
html body .site-main {
    padding-top: 20px !important;
    padding-bottom: 0 !important;
}

html body #calc-results,
html body .vng-results-container,
html body .vnc-results-container {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}

html body .wy-seo-articles,
html body .ud-seo-articles {
    max-width: 840px !important;
    margin: 24px auto 32px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    text-align: left !important;
    background: transparent !important;
}

html body .ud-article,
html body article.wy-article-section,
html body .wy-article-section {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
    box-shadow: none !important;
    text-align: left !important;
}

html body .ud-article-title,
html body .wy-article-h2,
html body .wy-article-section h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.55rem !important;
    font-weight: 700 !important;
    color: #65250C !important;
    margin: 0 0 12px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 1.5px solid #65250C !important;
    background: transparent !important;
    text-align: left !important;
}

html body .ud-article-body p,
html body .wy-article-body p,
html body .wy-seo-articles p,
html body .ud-seo-articles p {
    font-family: 'Be Vietnam Pro', sans-serif !important;
    font-size: 0.98rem !important;
    color: #555555 !important;
    line-height: 1.65 !important;
    margin: 0 0 10px 0 !important;
    text-align: left !important;
}

html body .wy-item-list,
html body .ud-article-body ul,
html body .wy-article-body ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 10px 0 16px 0 !important;
}

html body .wy-item-list li,
html body .ud-article-body ul li,
html body .wy-article-body ul li {
    position: relative !important;
    padding-left: 22px !important;
    margin-bottom: 8px !important;
    font-family: 'Be Vietnam Pro', sans-serif !important;
    font-size: 0.96rem !important;
    color: #555555 !important;
    line-height: 1.65 !important;
    text-align: left !important;
}

html body .wy-item-list li::before,
html body .ud-article-body ul li::before,
html body .wy-article-body ul li::before {
    content: "✦" !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    color: #65250C !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
}

html body .wy-item-list strong,
html body .ud-article-body strong,
html body .wy-article-body strong {
    color: #65250C !important;
    font-weight: 700 !important;
}

html body .pkr-faq-section {
    margin-top: 28px !important;
    margin-bottom: 40px !important;
}
/* Universal Design System — Absolute Fix for Global Article Height & Flex Stretching */
html body article,
html body article.ud-article,
html body article.wy-article-section,
html body .wy-article-section,
html body .ud-article {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    display: block !important;
    flex: none !important;
    align-self: auto !important;
    justify-content: flex-start !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
/* 360px Mobile */
@media (max-width: 360px) {
  [class*="upapada-form"], [class*="darapada-form"] { padding: 14px !important; }
  [class*="upapada-result"], [class*="darapada-result"] { padding: 12px !important; }
  [class*="upapada-table"] { font-size: 0.8rem !important; overflow-x: auto !important; }
  h1 { font-size: 1.35rem !important; }
  [class*="upapada-btn"], [class*="darapada-btn"] { width: 100% !important; }
}



/* Responsive 4-Pillars Summary Grid */
html body .ud-four-grid, .ud-four-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    html body .ud-four-grid, .ud-four-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    html body .ud-four-grid, .ud-four-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* Tighter Screen Margins & Optimized Mobile Width */
html body .vng-page-container, .vng-page-container {
    max-width: 840px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 16px !important;
}

@media (max-width: 768px) {
    html body .vng-page-container, .vng-page-container {
        padding: 0 10px !important;
    }
    html body .vng-form-card, .vng-form-card {
        padding: 16px 12px !important;
    }
    html body .ud-maroon-body, .ud-maroon-body {
        padding: 14px 12px !important;
    }
    html body .ud-maroon-banner, .ud-maroon-banner {
        padding: 14px 12px !important;
    }
    html body .ud-marriage-analysis-card, .ud-marriage-analysis-card {
        padding: 16px 12px !important;
    }
}

@media (max-width: 480px) {
    html body .vng-page-container, .vng-page-container {
        padding: 0 6px !important;
    }
    html body .vng-form-card, .vng-form-card {
        padding: 14px 10px !important;
    }
    html body .ud-maroon-body, .ud-maroon-body {
        padding: 12px 10px !important;
    }
    html body .ud-maroon-banner, .ud-maroon-banner {
        padding: 12px 10px !important;
    }
    html body .ud-marriage-analysis-card, .ud-marriage-analysis-card {
        padding: 14px 10px !important;
    }
}

/* HIGH-SPECIFICITY FAQ ACCORDION OVERRIDES */
html body .pkr-faq-section,
html body .vng-faq-section {
    max-width: 840px !important;
    margin: 40px auto 60px auto !important;
    padding: 0 !important;
    text-align: center !important;
    background: transparent !important;
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

html body .pkr-faq-container,
html body .vng-faq-container {
    max-width: 840px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    box-sizing: border-box !important;
}

html body .pkr-faq-item,
html body .vng-faq-entry {
    background: #FFF8EA !important;
    background-color: #FFF8EA !important;
    border: 1.5px solid #E4D5C1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

html body .pkr-faq-item.active,
html body .vng-faq-entry.active,
html body .vng-faq-entry:has(.vng-faq-toggle[aria-expanded="true"]) {
    background: #FFFDF8 !important;
    background-color: #FFFDF8 !important;
    border-color: #C98A58 !important;
}

html body .pkr-faq-question,
html body .vng-faq-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 16px 20px !important;
    color: #682B12 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    text-align: left !important;
    box-sizing: border-box !important;
    gap: 14px !important;
}

html body .faq-icon,
html body .vng-faq-symbol {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    color: #65250C !important;
    background: #FFFDF8 !important;
    border-radius: 50% !important;
    border: 1px solid #D8C3AB !important;
    font-family: Arial, sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

html body .pkr-faq-item.active .faq-icon,
html body .vng-faq-entry.active .vng-faq-symbol,
html body .pkr-faq-item.active .vng-faq-symbol {
    color: #FFFFFF !important;
    background: #65250C !important;
    border-color: #65250C !important;
    transform: none !important;
}

html body .pkr-faq-answer,
html body .vng-faq-answer {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 20px 18px 20px !important;
    color: #4A4A4A !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 0.96rem !important;
    line-height: 1.7 !important;
    box-sizing: border-box !important;
}

html body .pkr-faq-answer p,
html body .vng-faq-answer p {
    color: #4A4A4A !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 0.96rem !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

html body .pkr-faq-answer[hidden],
html body .vng-faq-answer[hidden],
html body .pkr-faq-item:not(.active) .pkr-faq-answer[hidden],
html body .vng-faq-entry:not(.active) .pkr-faq-answer[hidden] {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

