


.plan-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}




.compact-section {
    padding-top: 0;
}


.dashboard-grid.dashboard-grid-plans {
    margin-top: 70px;
}
/* Планы анализов - Карточка чекапа*/

/*___________перенесенное из pages*/


/* для картинки внизу справа 
.plan-card {
    position: relative;
    overflow: hidden;
    min-height: 60px;
    border-radius: var(--radius-card);

    background-repeat: no-repeat;
    background-position: right 10px bottom -10px;
    background-size: 140px 140px;

    background-size: cover;
    background-position: center;

    color: var(--color-text);
    padding-top: 8px;
    padding-right: 24px;
}
*/

.plan-card {
    position: relative;
    overflow: hidden;
    min-height: 290px;
    border-radius: var(--radius-card);

    background-position: right 0px bottom -80px;
    /*background-position: 50% 20%;
    background-size: 140px 140px;*/
    padding-top: 0px;
    background-size: cover;

    background-repeat: no-repeat;
    color: var(--color-text);
    padding-right: 24px;

}



.plan-card-cover {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 42%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    pointer-events: none;
}

.plan-card-cover img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
    display: block;
}

.plan-card::before {
/*.plan-card-cover::after {*/
    content: '';

    position: absolute;
    inset: 0;
    background: var(--gradient-card)
}


.plan-card-content {
    position: relative;
    z-index: 2;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    /*height: 100%;*/

    font-size: var(--text-sm); 
    font-weight: var(--weight-xxs);
    color: var(--color-text-ww);

}


.plan-card h3 {
    margin-bottom: 10px;
    font-size: var(--text-md); 
    line-height: 15px;
    font-weight: var(--weight-md);
    color: var(--color-text);
}

.plan-card p {
    color: var(--color-primary-bb);
    font-size: var(--text-sm); 
    line-height: 15px;
    font-weight: var(--weight-xxs)
}


.plan-card .mini-meta {
    color: var(--color-primary-nnn);
    font-size: var(--text-sm); 
}


.mini-badge {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    margin-bottom: 14px;

    padding: 6px 10px;

    border-radius: 999px;

    background: var(--color-back-5);

    backdrop-filter: blur(6px);

    color: var(--color-text-www);
    font-size: var(--text-xs);
    font-weight: var(--weight-xs);
    letter-spacing: .07em;
}




.plan-section-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--color-primary-lbbb);
}

.plan-section-card {
    background: var(--color-back-0);
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 0px solid #edf0f3;
}

.plan-section-summary {
    list-style: none;
    cursor: pointer;
    padding: 02px 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    font-size: var(--text-sm);

}


.plan-section-summary::-webkit-details-marker {
    display: none;
}

.plan-section-summary h3 {
    margin: 0 0 8px;
    font-size: var(--text-sm);
    line-height: 1.0;
    font-weight: var(--weight-sm)
}

.plan-section-summary p {
    margin: 0;
    color: #667085;
    max-width: 720px;
    font-size: var(--text-sm);
    font-weight: var(--weight-xxs)
}

.plan-section-meta {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.plan-section-meta span {
    font-size: var(--text-sm);
    color: #667085;
    background: #f5f7fa;
    border-radius: 999px;
    padding: 6px 12px;
}

.plan-marker-list {
    border-top: 1px solid #edf0f3;
    padding: 0px 0px 0px;
}

.plan-marker-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 5px 5px;
    border-bottom: 1px solid #f1f3f5;
    font-size: var(--text-sm);
    font-weight: var(--weight-xs);
            background: var(--color-back-00);;
}

.plan-marker-row:last-child {
    border-bottom: none;
}

.plan-marker-row p {
    margin: 8px 0 0;
    color: #667085;
    padding: 0px 18px;
    font-size: var(--text-sm);
    line-height: 1.1;
    max-width: 780px;
    font-weight: var(--weight-xs);
}

.marker-role-badge {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: var(--weight-xs);
    border-radius: 999px;
    padding: 6px 12px;
    background: #eef2ff;
    color: #344054;
}

.marker-link {
    color: #344054;
    margin: 8px 0 0;
    padding: 0px 18px;
    font-size: var(--text-sm);
    line-height: 1.1;
    font-weight: var(--weight-xl);
}


.plan-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0 36px;
}

.plan-toolbar .gen-view-switch {
    margin: 0;
}

.plan-view-switch {
    margin-left: auto;
}

.gen-view-switch .plan-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 700;
    color: #667085;
    cursor: pointer;
}

.gen-view-switch .plan-view-button.active {
    background: var(--gradient-lb);
    color: #fff;
}

.section-header .plan-view-switch {
    margin-top: 18px;
    margin-bottom: 0;
}

.section-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.section-header-top .gen-view-switch {
    margin: 0;
    flex-shrink: 0;
}

.plan-flat-marker-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.role-core .marker-role-badge {
    background: #e8f7ee;
}

.role-recommended .marker-role-badge {
    background: #eef2ff;
}

.role-extended .marker-role-badge {
    background: #fff4e5;
}

.role-optional .marker-role-badge {
    background: #f3f4f6;
    opacity: 0.7;
}

.is-inactive {
    opacity: .35;
}

.plan-marker-row.is-inactive {
    opacity: .38;
}

.plan-marker-row.is-inactive .marker-link,
.plan-marker-row.is-inactive p {
    color: #98a2b3;
    
}


.section-title-row {
    display: flex;
    align-items: flex-start;
    gap: 3px;
}



.plan-guide-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    border-radius: 999px;

    border: 1px solid var(--color-border-soft);

    font-size: 13px;
    font-weight: 700;

    color: var(--color-text-soft);
    text-decoration: none;

    background: var(--color-back-0);
    transform: translateY(-5px);
}

.plan-guide-link:hover {
    color: var(--color-primary-b);
    border-color: var(--color-primary-b);
    font-size: 13px;
}

.plan-total-markers {
    display: inline-flex;
    width: fit-content;
    gap: 6px;
    margin-top: -200px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: var(--text-lg);
    color: var(--color-primary-lbbb);
}


