.lead {
    color: var(--color-text-db);
    font-size: var(--text-sm);
}

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

.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--color-back-0);
    border: 0px solid var(--color-border);
    color: var(--color-muted);
    text-decoration: none;
    font-size: var(--text-sm);;
    font-weight: 600;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.filter-pill:hover {
    background: var(--color-bg);
    border-color: var(--color-primary-b0);
    color: var(--color-muted);
}

.filter-pill.active {
    border-color: var(--color-primary-b);
    background: var(--gradient-b);
    color: var(--color-text-w);
}

.filter-pill.active-parent {
    background: var(--gradient-b);
    border-color: var(--color-primary-bb);
}

.filter-pill.active-parent:hover {
    background: var(--gradient-bb);
    border-color: var(--color-primary-b);
}

.filter-pill-sub {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: var(--text-sm);
    font-weight: 600;
    background: var(--color-back-0);
    border-color: var(--color-border-soft);
    min-height: 40px;
}

.filter-pill-sub.active {
    border-color: var(--color-primary-b);
    background: var(--gradient-b0);
    color: var(--color-text-w);
        box-shadow:
        0 4px 12px rgba(37, 99, 235, .18);
}


.filter-pill-sub:hover {
    border-color: var(--color-primary-b0);
}



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

.plan-card {
    position: relative;
    overflow: hidden;

    min-height: 260px;

    border-radius: var(--radius-card);

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

    color: var(--color-text-ww);
}

.plan-card::before {
    content: '';

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(15,23,42,.08) 0%,
            rgba(15,23,42,.72) 100%
        );
}

.plan-card-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    height: 100%;
}

.plan-card h3 {
    margin-bottom: 10px;

    color: var(--color-text-ww);
}

.plan-card p {
    color: rgba(255,255,255,.88);
}

.plan-card .mini-meta {
    color: rgba(255,255,255,.78);
}

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

    width: fit-content;

    margin-bottom: 14px;

    padding: 6px 10px;

    border-radius: 999px;

    background: rgba(255,255,255,.16);

    backdrop-filter: blur(6px);

    color: var(--color-text-w);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}



/*___________перенесенное из pages*/
.plan-card {
position: relative;
overflow: hidden;

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

padding-top: 8px;
padding-right: 24px;
}

.plan-card h3 {
font-size: 17px;      /* 1 — заголовок */
margin-bottom: 3px;
}

.plan-card p {
font-size: 13px;      /* 2 — описание */
line-height: 15px;
color: #1557e4 /*#184490*/;
}

.plan-card .mini-meta {
font-size: 13px;      /* 3 — показатели / требует внимания */
margin-right: 100px;
margin-top: 00px;
}


.page-hero {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 32px;
margin-bottom: 10px;

}

.hero-actions {
flex-shrink: 0;
}


/*начинка чекапа*/

.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(--title-xs);
    line-height: 1.1;
}

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

.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;
    
}

@media (max-width: 760px) {
    .plan-variant-switcher {
        grid-template-columns: 1fr;
    }
}

/* */