:root {
    --primary: #FF9F1C;
    --secondary: #2EC4B6;
    --accent: #E71D36;
    --dark: #011627;
    --light: #FDFFFC;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --dark: #F0F4F8;
    --light: #102A43;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Hind', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    min-height: 100vh;
    padding: 1.5rem;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.background-blobs {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(at 0% 0%, rgba(46, 196, 182, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255, 159, 28, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(231, 29, 54, 0.1) 0px, transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, var(--light) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: right;
}

.subtitle {
    margin: 1rem 0 2rem;
    opacity: 0.7;
    font-size: 1.1rem;
    text-align: center;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    opacity: 0.7;
}

.tab-btn span.material-symbols-rounded {
    font-size: 1.3rem;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    opacity: 1;
    box-shadow: 0 8px 25px rgba(46, 196, 182, 0.3);
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.6rem 1.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    backdrop-filter: blur(8px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
}

/* Search Container */
.search-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
}

.search-box {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.2rem 1rem;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
}

.search-icon {
    font-size: 20px;
    color: var(--secondary);
    margin-right: 0.8rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.8rem 0;
    color: var(--light);
    font-size: 1rem;
    outline: none;
}

.clear-btn {
    background: none;
    border: none;
    color: var(--light);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s;
}

.clear-btn:hover {
    opacity: 1;
}

.stats {
    font-size: 0.9rem;
    opacity: 0.6;
    letter-spacing: 0.05em;
}

#photoCount {
    color: var(--secondary);
    font-weight: 700;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    /* Default: Big & Better */
    gap: 1.5rem;
    margin-bottom: 3rem;
    min-height: 400px;
}

.gallery-grid.grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    /* Very Compact Profile Grid */
    gap: 0.8rem;
}

.grid-compact .profile-card {
    padding: 0.6rem 0.2rem;
    gap: 0.3rem;
}

.grid-compact .profile-card .image-wrapper {
    width: 60px;
    height: 60px;
}

.grid-compact .profile-card h3 {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-bottom: 0px;
    width: 100%;
    color: white;
    /* Ensure high contrast */
}

.grid-compact .profile-card .father-name {
    font-size: 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 95%;
    text-align: center;
    margin-top: 0;
    color: var(--secondary) !important;
    display: block !important;
    /* Force visibility */
}

.grid-compact .profile-card .note {
    display: none;
}

.gallery-grid.loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loader */
.loader {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--secondary);
    grid-column: 1 / -1;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(46, 196, 182, 0.1);
    border-top: 3px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Photo Item (General Gallery) */
.photo-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 1;
}

.photo-item img,
.photo-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.photo-item:hover img,
.photo-item:hover video {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-item .video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    transition: var(--transition);
}

.photo-item:hover .video-indicator {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--secondary);
}

.photo-overlay h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
}

.photo-overlay span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.profile-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 0.8rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    animation: cardFadeIn 0.6s ease-out backwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    background: rgba(255, 255, 255, 0.03);
}

.profile-card:hover .image-wrapper {
    border-color: var(--secondary);
    transform: scale(1.05);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.image-wrapper img.lazy {
    opacity: 0;
}

.profile-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 0.1rem;
}

.father-name {
    font-size: 0.72rem;
    color: var(--secondary);
    font-style: italic;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 0.1rem;
}

.profile-card .note {
    font-size: 0.75rem;
    opacity: 0.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

/* Lightbox (Showcase) */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 22, 39, 0.9);
    backdrop-filter: blur(12px);
}

.lightbox-content {
    position: relative;
    max-width: 700px;
    width: 95%;
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    overflow: hidden;
    z-index: 1001;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    animation: modalSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Layout Modes */
.lightbox.mode-profiles .nav-arrow {
    display: none !important;
}

.lightbox.mode-profiles .detail-section,
.lightbox.mode-profiles .relatives-grid {
    display: none !important;
}

.lightbox.mode-photos .lightbox-content {
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    background: #000;
}

.lightbox.mode-photos .showcase-container {
    height: 100%;
    padding: 0;
    justify-content: center;
}

.lightbox.mode-photos .showcase-header {
    height: 100%;
    flex-direction: column;
    gap: 0;
}

.lightbox.mode-photos .showcase-image-wrapper {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    border-radius: 0;
    border: none;
    background: #000;
}

.lightbox.mode-photos .showcase-image-wrapper img {
    object-fit: contain;
}

.lightbox.mode-photos .showcase-title {
    padding: 1rem 1.5rem;
    /* Reduced padding */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    z-index: 10;
}

.lightbox.mode-photos .showcase-title h2 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

/* Video specific in Lightbox */
#lightboxVideo {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    object-fit: contain;
    background: #000;
}

.video-player-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-action-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.4);
    z-index: 15;
}

.video-player-container:hover .video-action-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-player-container.paused .video-action-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background: rgba(255, 255, 255, 0.2);
}

.lightbox.mode-photos .showcase-body {
    display: none;
}

.lightbox.mode-photos .showcase-footer {
    display: none;
}

.lightbox.mode-photos .close-lightbox {
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.5);
}

.lightbox.mode-photos .nav-arrow {
    background: rgba(0, 0, 0, 0.5);
}

.showcase-container {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.close-lightbox {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.close-lightbox:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

/* Lightbox Navigation */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1010;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.nav-arrow:hover {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 0 20px rgba(46, 196, 182, 0.4);
}

.prev-photo {
    left: 1rem;
}

.next-photo {
    right: 1rem;
}

@media (max-width: 800px) {
    .nav-arrow {
        width: 40px;
        height: 40px;
    }

    .prev-photo {
        left: 0.5rem;
    }

    .next-photo {
        right: 0.5rem;
    }
}

/* Photo Actions */
.lightbox-actions {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1.2rem;
    z-index: 1050;
    opacity: 1 !important;
    /* Always visible in lightbox */
}

.lightbox-actions button {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-actions button:hover {
    background: var(--secondary);
    transform: scale(1.1) translateY(-3px);
    color: var(--dark);
    box-shadow: 0 10px 20px rgba(46, 196, 182, 0.4);
}

.lightbox-actions button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(1, 22, 39, 0.8);
    border: 1px solid var(--glass-border);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-actions button:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: scale(1.1);
}

.showcase-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 500px) {
    .showcase-header {
        flex-direction: column;
        text-align: center;
    }
}

.showcase-image-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary);
    box-shadow: 0 0 30px rgba(46, 196, 182, 0.3);
    flex-shrink: 0;
}

.showcase-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-title h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.alive {
    background: rgba(46, 196, 182, 0.15);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.status-badge.deceased {
    background: rgba(231, 29, 54, 0.15);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.detail-section h3 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

.detail-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
}

.date-pill {
    background: var(--glass-bg);
    padding: 1rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border: 1px solid var(--glass-border);
}

.date-pill .pill-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.5;
}

.date-pill .pill-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.relatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.relation-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.relation-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.relation-card .rel-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    display: grid;
    place-items: center;
    color: var(--dark);
    font-weight: 800;
    font-size: 0.8rem;
}

.relation-card .rel-info .rel-label {
    font-size: 0.7rem;
    opacity: 0.5;
    text-transform: uppercase;
}

.relation-card .rel-info .rel-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.showcase-footer {
    margin-top: 1rem;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #17A094 100%);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 196, 182, 0.4);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--light);
    opacity: 0.4;
    font-size: 0.9rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations */
.stagger-enter {
    animation: staggerFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}/* --- Modals specific to Family Dialog layout --- */
.modal-section { margin-bottom: 1.5rem; }
.modal-section h3 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); border-bottom: 2px solid rgba(255, 255, 255, 0.05); padding-bottom: 0.75rem; margin-bottom: 1.25rem; display: inline-block; }
[data-theme="light"] .modal-section h3 { border-bottom-color: rgba(0, 0, 0, 0.1); }
.ancestors-grid { display: flex; gap: 1rem; justify-content: flex-start; }
.person-card { background: var(--surface-1); border: 1px solid var(--border-color); border-radius: 12px; padding: 0.8rem; text-align: center; min-width: 120px; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; transition: all 0.2s ease; }
.person-card__content { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.person-card__image { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.status-dot-mini { width: 8px; height: 8px; border-radius: 50%; }
.person-card--alive { background: rgba(34, 197, 94, 0.05); border-color: rgba(34, 197, 94, 0.15); }
.person-card--deceased { background: rgba(239, 68, 68, 0.05); border-color: rgba(239, 68, 68, 0.15); }
.relation-label { display: block; font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 0.25rem; text-transform: uppercase; }
.person-name { font-weight: 600; color: var(--text-primary); }
.chips-container { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.person-chip { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255,255,255,0.1); padding: 0.25rem 1rem 0.25rem 0.4rem; min-height: 2.2rem; border-radius: 99px; font-size: 0.9rem; font-weight: 600; color: var(--text-primary); transition: all 0.2s ease; cursor: pointer; box-sizing: border-box; }
.person-chip__image { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1.5px solid #ffffff; }
.person-chip__dot { width: 8px; height: 8px; border-radius: 50%; margin-left: 0.4rem; flex-shrink: 0; }
.person-chip--alive { background: rgba(34, 197, 94, 0.08) !important; border-color: rgba(34, 197, 94, 0.2) !important; color: var(--text-primary) !important; }
.person-chip--deceased { background: rgba(239, 68, 68, 0.08) !important; border-color: rgba(239, 68, 68, 0.2) !important; color: var(--text-primary) !important; }
.person-chip.child { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.2)); border-color: rgba(59, 130, 246, 0.3); color: #93c5fd; }
.person-chip.grandchild { background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(167, 139, 250, 0.2)); border-color: rgba(167, 139, 250, 0.3); color: #c4b5fd; }
.descendants-group { margin-bottom: 1rem; }
.descendants-group h4 { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
