.elementor-2172 .elementor-element.elementor-element-3e264fa{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-70f0598 *//* ============ GLOBAL MOBILE FIX ============ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ============ ASTROLOGY SECTION BASE ============ */
.astrology-section {
    position: relative;
    background: linear-gradient(180deg, #FFE4A8 0%, #FFF3D1 20%, #FFFEF9 40%, #FFFFFF 60%, #FFFEF9 100%);
    padding: 4rem 0.5rem;
    overflow: hidden;
    /* Prevent any horizontal scroll */
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
}

@media (max-width: 768px) {
    .astrology-section {
        padding: 2rem 0.5rem;
    }
}

.astrology-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 100% 80% at 10% 20%, rgba(251, 191, 36, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse 80% 60% at 90% 80%, rgba(249, 115, 22, 0.12) 0%, transparent 40%);
    pointer-events: none;
}

/* ORBS - Hidden on mobile */
.astrology-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

.astrology-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.astrology-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.1) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
}

.astrology-orb-3 {
    display: none;
}

@media (max-width: 768px) {
    .astrology-bg-orb {
        display: none;
    }
}

/* CONTAINER - Force full width */
.astrology-container {
    position: relative;
    z-index: 10;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* HEADER */
.astrology-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.astrology-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.astrology-badge-text {
    color: #B45309;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.astrology-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: #1F2937;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.astrology-title-gradient {
    background: linear-gradient(135deg, #EA580C 0%, #F97316 50%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.astrology-subtitle {
    font-size: 0.9rem;
    color: #4B5563;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .astrology-title {
        font-size: 1.5rem;
    }

    .astrology-subtitle {
        font-size: 0.85rem;
    }
}

/* LAYOUT - Single column on mobile */
.astrology-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .astrology-content {
        display: grid;
        grid-template-columns: 320px 1fr;
        gap: 2rem;
        align-items: start;
    }
}

/* CARDS - Force containment */
.astrology-form-card,
.astrology-chart-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    /* CRITICAL: Prevent overflow */
    width: 100%;
    max-width: 100%;
}

.astrology-form-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.astro-form-group {
    margin-bottom: 1rem;
    position: relative;
}

.astro-form-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
}

.astro-form-group input,
.astro-form-group select {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
    background: white;
    border: 2px solid rgba(251, 191, 36, 0.25);
    border-radius: 0.5rem;
    font-size: 1rem;
}

/* GENDER OPTIONS */
.gender-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.gender-option {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 0.6rem;
    border-radius: 0.4rem;
    border: 1px solid #eee;
    font-size: 0.85rem;
}

.gender-option:hover {
    background: #FFF7ED;
    border-color: #FED7AA;
}

.astrology-submit-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #F97316 0%, #FBBF24 100%);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
}

/* FEATURES GRID */
.astrology-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 600px) {
    .astrology-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .astrology-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.25rem;
}

.feature-card p {
    color: #4B5563;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* ============ CHART RESULT AREA ============ */
.chart-result {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.chart-content {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    /* Allow horizontal scroll INSIDE content if needed */
    -webkit-overflow-scrolling: touch;
}

/* Chart Header */
.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chart-header h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1F2937;
    margin: 0;
}

.chart-download-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.4rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
}

/* ============ TABS - Scrollable ============ */
.astro-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(249, 115, 22, 0.2);
    padding-bottom: 2px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
}

.astro-tabs::-webkit-scrollbar {
    display: none;
}

.astro-tab-btn {
    background: none;
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4B5563;
    cursor: pointer;
    border-radius: 0.4rem 0.4rem 0 0;
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

.astro-tab-btn:hover {
    color: #F97316;
    background: rgba(249, 115, 22, 0.05);
}

.astro-tab-btn.active {
    color: #F97316;
    background: #FFF7ED;
    font-weight: 700;
}

.astro-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #F97316;
}

.tab-pane {
    display: none;
    width: 100%;
    max-width: 100%;
}

.tab-pane.active {
    display: block;
}

/* ============ INFO GRID - Wrap text properly ============ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
}

@media (max-width: 400px) {
    .info-grid {
        grid-template-columns: 1fr;
        /* Single column on very small screens */
    }
}

.info-item {
    background: rgba(251, 191, 36, 0.1);
    padding: 0.5rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

.info-label {
    font-weight: 600;
    color: #374151;
    display: block;
    font-size: 0.7rem;
    margin-bottom: 2px;
}

.info-value {
    color: #1F2937;
    display: block;
    word-break: break-word;
}

.highlight-item {
    background: #FEF9C3;
    border-left: 3px solid #F59E0B;
}

/* ============ KUNDLI CHART - Centered & Scaled ============ */
.kundli-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    width: 100%;
}

.kundli-chart {
    position: relative;
    width: 100%;
    max-width: min(280px, 90vw);
    /* Never exceed 90% of viewport width */
    aspect-ratio: 1 / 1;
    background: #FFFBF5;
    border: 2px solid #F97316;
    margin: 0 auto;
}

.kundli-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23F97316' stroke-width='0.5' /%3E%3Cline x1='100' y1='0' x2='0' y2='100' stroke='%23F97316' stroke-width='0.5' /%3E%3Cpolygon points='50,0 100,50 50,100 0,50' fill='none' stroke='%23F97316' stroke-width='0.5' /%3E%3C/svg%3E");
    background-size: 100% 100%;
}

.kundli-chart-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
    text-align: center;
}

.kundli-house {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.55rem;
    font-weight: bold;
    z-index: 2;
    color: #1F2937;
    pointer-events: none;
    overflow: hidden;
}

.kundli-house small {
    color: #C2410C;
    font-size: 0.5rem;
    margin-bottom: 1px;
}

/* Houses Positioning */
.kundli-house-1 {
    top: 0;
    left: 25%;
    width: 50%;
    height: 50%;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    padding-top: 8%;
    justify-content: flex-start;
}

.kundli-house-2 {
    top: 0;
    left: 0;
    width: 50%;
    height: 25%;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    padding-bottom: 2%;
    padding-right: 8%;
}

.kundli-house-3 {
    top: 0;
    left: 0;
    width: 25%;
    height: 50%;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    padding-left: 2%;
    padding-top: 10%;
    align-items: flex-start;
}

.kundli-house-4 {
    top: 25%;
    left: 0;
    width: 50%;
    height: 50%;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    padding-right: 20%;
}

.kundli-house-5 {
    top: 50%;
    left: 0;
    width: 25%;
    height: 50%;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    padding-left: 2%;
    padding-bottom: 10%;
    align-items: flex-start;
}

.kundli-house-6 {
    top: 75%;
    left: 0;
    width: 50%;
    height: 25%;
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
    padding-bottom: 2%;
    padding-right: 8%;
    justify-content: flex-end;
}

.kundli-house-7 {
    top: 50%;
    left: 25%;
    width: 50%;
    height: 50%;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    padding-bottom: 10%;
    justify-content: flex-end;
    padding-top: 25%;
}

.kundli-house-8 {
    top: 75%;
    left: 50%;
    width: 50%;
    height: 25%;
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
    padding-bottom: 2%;
    padding-left: 8%;
    justify-content: flex-end;
}

.kundli-house-9 {
    top: 50%;
    right: 0;
    width: 25%;
    height: 50%;
    clip-path: polygon(100% 100%, 0 50%, 100% 0);
    padding-right: 2%;
    padding-bottom: 10%;
    align-items: flex-end;
}

.kundli-house-10 {
    top: 25%;
    right: 0;
    width: 50%;
    height: 50%;
    clip-path: polygon(50% 100%, 0 50%, 50% 0, 100% 50%);
    padding-left: 20%;
}

.kundli-house-11 {
    top: 0;
    right: 0;
    width: 25%;
    height: 50%;
    clip-path: polygon(100% 100%, 0 50%, 100% 0);
    padding-right: 2%;
    padding-top: 10%;
    align-items: flex-end;
}

.kundli-house-12 {
    top: 0;
    left: 50%;
    width: 50%;
    height: 25%;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    padding-top: 2%;
    padding-left: 8%;
    justify-content: flex-start;
}

.kundli-center {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 20%;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.55rem;
    font-weight: bold;
    color: #F97316;
    z-index: 5;
}

/* ============ DUAL CHARTS GRID ============ */
.dual-chart-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .dual-chart-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

.chart-card-inner {
    background: rgba(255, 255, 255, 0.8);
    padding: 0.75rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid rgba(251, 191, 36, 0.2);
    width: 100%;
    overflow: hidden;
}

/* MISC */
.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    z-index: 100;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 0.4rem;
}

.location-item {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.location-item:hover {
    background: #fff8e1;
}

.yogas-grid {
    display: grid;
    gap: 0.5rem;
}

.yoga-card {
    background: #FFF7ED;
    padding: 0.75rem;
    border: 1px solid #FFEDD5;
    border-radius: 0.4rem;
    font-size: 0.85rem;
}

/* ERROR & LOADING */
.chart-error {
    color: #DC2626;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

.chart-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #F97316;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.chart-loading-small {
    font-size: 0.8rem;
    color: #6B7280;
    padding: 0.75rem;
    text-align: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* VARGA SELECTOR */
.varga-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    background: #FFF7ED;
    padding: 0.5rem;
    border-radius: 0.5rem;
    flex-wrap: wrap;
}

.varga-select {
    padding: 0.4rem 0.5rem;
    border: 1px solid #F97316;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    background: white;
    flex: 1;
    min-width: 120px;
}

.varga-btn {
    background: #F97316;
    color: white;
    border: none;
    padding: 0.4rem 0.75rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
}

/* CHART SECTIONS */
.chart-section {
    margin-bottom: 1rem;
}

.chart-section h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.section-icon {
    font-size: 1rem;
}

/* DASHA ACCORDION */
.dasha-accordion {
    border: 1px solid #FED7AA;
    border-radius: 0.4rem;
    overflow: hidden;
    margin-top: 0.5rem;
}

.dasha-item {
    border-bottom: 1px solid #FED7AA;
}

.dasha-item:last-child {
    border-bottom: none;
}

.dasha-header {
    background: #FFFAF0;
    padding: 0.6rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #4B5563;
    font-size: 0.8rem;
    gap: 0.5rem;
}

.dasha-header:hover {
    background: #FFF7ED;
    color: #F97316;
}

.dasha-header.active {
    background: #FFF7ED;
    color: #F97316;
}

.dasha-body {
    display: none;
    padding: 0 0.6rem;
    background: white;
}

.dasha-body.active {
    display: block;
}

.sub-dasha-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-dasha-item {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #E5E7EB;
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    color: #6B7280;
}

.sub-dasha-item:last-child {
    border-bottom: none;
}

.sub-dasha-lord {
    font-weight: 500;
    color: #374151;
}

/* Placeholder */
.chart-placeholder {
    text-align: center;
    padding: 1.5rem 0.75rem;
}

.placeholder-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.chart-placeholder h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.chart-placeholder p {
    color: #4B5563;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.placeholder-features {
    display: grid;
    gap: 0.4rem;
    text-align: left;
    max-width: 250px;
    margin: 0 auto;
}

.placeholder-feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #374151;
}

/* TABLE OVERFLOW */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

th,
td {
    padding: 6px 4px;
    text-align: left;
}

thead tr {
    background: #FFF7ED;
}

tbody tr {
    border-bottom: 1px solid #eee;
}

/* ============ DASHA ACCORDION STYLES ============ */
.dasha-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dasha-item {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
}

.dasha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFFBF5 100%);
    cursor: pointer;
    font-weight: 500;
    color: #1F2937;
    transition: background 0.2s ease;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dasha-header:hover {
    background: linear-gradient(135deg, #FFEDD5 0%, #FFF7ED 100%);
}

.dasha-header.active {
    background: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
    color: white;
}

.dasha-header span:first-child {
    font-size: 0.9rem;
}

.dasha-header span:last-child {
    font-size: 0.75rem;
    color: #6B7280;
}

.dasha-header.active span:last-child {
    color: rgba(255, 255, 255, 0.9);
}

.dasha-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #FAFAFA;
}

.dasha-body.active {
    max-height: 600px;
    padding: 0.5rem;
}

.sub-dasha-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sub-dasha-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #F97316;
    font-size: 0.8rem;
    color: #374151;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sub-dasha-item:hover {
    background: #FFF7ED;
}

.sub-dasha-lord {
    font-weight: 500;
    color: #F97316;
}

@media (max-width: 480px) {
    .dasha-header {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .dasha-header span:last-child {
        font-size: 0.7rem;
    }

    .sub-dasha-item {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* ============ 5-LEVEL DASHA NAVIGATION ============ */
.sub-dasha-item {
    cursor: pointer;
    transition: background 0.2s ease;
}

.sub-dasha-item.expanded {
    background: #FFF7ED !important;
}

.sub-dasha-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.sub-dasha-dates {
    font-size: 0.7rem;
    color: #6B7280;
}

.sub-dasha-children {
    margin-top: 0.5rem;
    padding-left: 0.5rem;
    border-left: 2px solid #FED7AA;
}

/* Level-specific styling */
.sub-dasha-item.level-2 {
    border-left: 3px solid #F97316;
}

.sub-dasha-item.level-3 {
    border-left: 3px solid #FB923C;
    background: #FFFAF5;
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
}

.sub-dasha-item.level-4 {
    border-left: 3px solid #FDBA74;
    background: #FFFBF7;
    font-size: 0.7rem;
    padding: 0.35rem 0.5rem;
}

.sub-dasha-item.level-5 {
    border-left: 3px solid #FED7AA;
    background: #FFFCF9;
    font-size: 0.65rem;
    padding: 0.3rem 0.4rem;
    cursor: default;
}

.sub-dasha-item.level-5.final {
    display: flex;
    justify-content: space-between;
}

.sub-dasha-item.level-3 .sub-dasha-lord,
.sub-dasha-item.level-4 .sub-dasha-lord,
.sub-dasha-item.level-5 .sub-dasha-lord {
    font-size: inherit;
}

/* Expand indicator */
.sub-dasha-item:not(.final)::after {
    content: '+';
    font-weight: bold;
    color: #F97316;
    margin-left: 0.5rem;
    font-size: 0.8em;
}

.sub-dasha-item.expanded::after {
    content: '−';
}

.sub-dasha-item.final::after {
    content: '';
}/* End custom CSS */