.main span {
    position: static;
    left: auto;
    top: auto;
    font-family: inherit;
}

.flow-cat-body {
    padding: 22px 18px 24px;
    min-height: 0;
    display: block;
    overflow-x: auto;
}

.flow-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-width: 900px;
}

.flow-node {
    flex: 0 0 auto;
    width: 9.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

a.flow-node {
    color: inherit;
    text-decoration: none;
}

a.flow-node:hover .node-icon {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 110, 219, 0.42);
}

a.flow-node:hover .node-name {
    color: #0058a9;
}

a.flow-node:hover .node-desc {
    color: #4a7fb0;
}

.node-icon {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.node-name,
.node-desc {
    transition: color 0.18s ease;
}

.node-icon {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #0058a9, #256edb);
    box-shadow: 0 4px 12px rgba(37, 110, 219, 0.25);
}

.node-name {
    margin-top: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

.node-desc {
    margin-top: 4px;
    font-size: 0.72rem;
    color: #7a93ab;
    text-align: center;
    line-height: 1.6;
}

.flow-arrow {
    flex: 1 1 auto;
    min-width: 24px;
    height: 3.6rem;
    display: flex;
    align-items: center;
}

.flow-arrow::before {
    content: '';
    flex: 1 1 auto;
    height: 0;
    border-top: 3px solid #4a90e2;
}

.flow-arrow::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid #4a90e2;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

.flow-branch {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding: 11px 14px;
    border: 1px dashed #bcd7ef;
    border-radius: 8px;
    background: #f7fbff;
}

a.flow-branch {
    color: inherit;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

a.flow-branch:hover {
    background: #eef5fd;
    border-color: #7fb2e8;
}

a.flow-branch:hover .branch-label {
    background: #256edb;
    border-color: #256edb;
    color: #fff;
}

.flow-branch + .flow-branch {
    margin-top: 10px;
}

.branch-label {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: bold;
    color: #256edb;
    background: #e8f2fc;
    border: 1px solid #bcd7ef;
    border-radius: 12px;
    padding: 3px 11px;
    white-space: nowrap;
}

.branch-text {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}

@media (max-width: 1400px) {
    .flow-line {
        min-width: 820px;
    }

    .flow-node {
        width: 7.6rem;
    }

    .node-icon {
        width: 3.8rem;
        height: 3.8rem;
        font-size: 1rem;
    }
}
