.wf-page {
    background: #f7f7f7;
    color: #111111;
}

.wf-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 72px;
}

.wf-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666666;
    margin-bottom: 24px;
}

.wf-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.wf-breadcrumb a:hover {
    color: #111111;
}

.wf-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 28px;
    padding: 36px;
    margin-bottom: 24px;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.04);
}

.wf-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(124, 92, 255, 0.08);
    color: #7c5cff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wf-hero h1 {
    margin: 18px 0 14px;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.wf-hero__desc {
    max-width: 720px;
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #5f5f5f;
}

.wf-hero__actions,
.wf-cta__actions,
.wf-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.wf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.wf-btn:hover {
    transform: translateY(-1px);
}

.wf-btn--primary {
    background: #111111;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.12);
}

.wf-btn--secondary {
    background: #ffffff;
    color: #111111;
    border-color: rgba(17, 17, 17, 0.12);
}

.wf-hero__stats {
    display: grid;
    gap: 14px;
}

.wf-stat {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f1ff 100%);
    border: 1px solid rgba(124, 92, 255, 0.14);
    border-radius: 20px;
}

.wf-stat strong {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.wf-stat span {
    font-size: 13px;
    color: #666666;
}

.wf-toolbar,
.wf-summary,
.wf-cta,
.wf-empty {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 24px;
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.04);
}

.wf-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.wf-toolbar__meta {
    display: grid;
    gap: 6px;
}

.wf-toolbar__label {
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7c5cff;
    font-weight: 700;
}

.wf-toolbar__active {
    font-size: 14px;
    color: #5f5f5f;
}

.wf-search {
    display: flex;
    gap: 10px;
    width: min(420px, 100%);
}

.wf-search input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    padding: 0 14px;
    font-size: 14px;
    background: #fbfbfb;
}

.wf-search button {
    min-width: 92px;
    border-radius: 14px;
    border: none;
    background: #7c5cff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.wf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.wf-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    background: #ffffff;
    color: #555555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.wf-chip:hover,
.wf-chip.is-active {
    background: rgba(124, 92, 255, 0.08);
    color: #7c5cff;
    border-color: rgba(124, 92, 255, 0.18);
}

.wf-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 18px 22px;
    margin-bottom: 24px;
}

.wf-summary__item {
    display: grid;
    gap: 6px;
}

.wf-summary__item strong {
    font-size: 20px;
    line-height: 1.1;
}

.wf-summary__item span {
    font-size: 13px;
    color: #666666;
}

.wf-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.wf-card {
    display: grid;
    gap: 16px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(17, 17, 17, 0.04);
}

.wf-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wf-card__category,
.wf-card__team,
.wf-card__tools span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.wf-card__category {
    background: rgba(124, 92, 255, 0.08);
    color: #7c5cff;
}

.wf-card__team {
    background: #f1f1f1;
    color: #555555;
}

.wf-card__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.wf-card__title a {
    color: #111111;
    text-decoration: none;
}

.wf-card__desc,
.wf-card__block p,
.wf-empty p,
.wf-cta p {
    margin: 0;
    color: #5f5f5f;
    font-size: 14px;
    line-height: 1.75;
}

.wf-card__block {
    display: grid;
    gap: 8px;
}

.wf-card__label {
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7c5cff;
    font-weight: 700;
}

.wf-card__steps {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: #222222;
    font-size: 14px;
    line-height: 1.6;
}

.wf-card__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wf-card__tools span {
    background: #f4f4f4;
    color: #444444;
}

.wf-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wf-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f7f7f7;
    color: #666666;
    font-size: 12px;
    font-weight: 600;
}

.wf-card__actions {
    margin-top: 4px;
}

.wf-link {
    color: #111111;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.wf-link:hover {
    color: #7c5cff;
}

.wf-empty,
.wf-cta {
    margin-top: 24px;
    padding: 28px 30px;
}

.wf-empty h2,
.wf-cta h2 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.wf-cta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.wf-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    gap: 20px;
    margin-top: 24px;
}

.wf-section,
.wf-side-card {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 24px;
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.04);
}

.wf-section {
    padding: 28px 30px;
    margin-bottom: 20px;
}

.wf-section h2,
.wf-side-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.wf-section p,
.wf-richtext,
.wf-richtext p,
.wf-side-item p {
    color: #5f5f5f;
    font-size: 15px;
    line-height: 1.8;
}

.wf-step-list,
.wf-output-grid,
.wf-side-list {
    display: grid;
    gap: 14px;
}

.wf-step-card,
.wf-output-card,
.wf-side-item {
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 18px;
    background: #fbfbfb;
}

.wf-step-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
}

.wf-step-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(124, 92, 255, 0.1);
    color: #7c5cff;
    font-size: 20px;
    font-weight: 700;
}

.wf-step-card__body {
    display: grid;
    gap: 8px;
}

.wf-step-card__body h3,
.wf-output-card h3,
.wf-side-item h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.wf-step-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wf-step-card__meta span,
.wf-side-item__meta {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f1f1;
    color: #555555;
    font-size: 12px;
    font-weight: 600;
}

.wf-output-card,
.wf-side-item {
    padding: 18px;
}

.wf-side-card {
    padding: 22px;
    margin-bottom: 20px;
}

.wf-side-item a {
    color: #111111;
    text-decoration: none;
}

.wf-side-item a:hover {
    color: #7c5cff;
}

.wf-richtext > :first-child {
    margin-top: 0;
}

.wf-richtext > :last-child {
    margin-bottom: 0;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1080px) {
    .wf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .wf-shell {
        padding: 20px 16px 56px;
    }

    .wf-hero,
    .wf-toolbar,
    .wf-summary,
    .wf-cta {
        grid-template-columns: 1fr;
    }

    .wf-detail-grid {
        grid-template-columns: 1fr;
    }

    .wf-hero {
        padding: 28px 24px;
    }

    .wf-toolbar,
    .wf-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .wf-search {
        width: 100%;
    }

    .wf-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .wf-grid {
        grid-template-columns: 1fr;
    }

    .wf-hero h1 {
        font-size: 32px;
    }

    .wf-card,
    .wf-empty,
    .wf-cta,
    .wf-toolbar,
    .wf-summary,
    .wf-section,
    .wf-side-card {
        padding: 20px;
    }

    .wf-search {
        flex-direction: column;
    }

    .wf-search button {
        min-height: 44px;
    }

    .wf-step-card {
        grid-template-columns: 1fr;
    }

    .wf-step-card__index {
        width: 48px;
        height: 48px;
    }
}
