
    /* --- 作用域标识：RS-DC6980-4ST 组网拓扑模块 --- */
    #module-rs-dc6980-4st-topology * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    #module-rs-dc6980-4st-topology {
        font-family: 'Inter', -apple-system, sans-serif;
        background: #f8fafc;
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    #module-rs-dc6980-4st-topology .diagram-wrapper {
        max-width: 1400px;
        width: 100%;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
        border: 1px solid #e9edf4;
        padding: 30px;
        position: relative;
    }
    #module-rs-dc6980-4st-topology .diagram-title {
        text-align: center;
        margin-bottom: 30px;
    }
    #module-rs-dc6980-4st-topology .diagram-title h2 {
        font-size: 24px;
        font-weight: 700;
        color: #0a1929;
    }
    #module-rs-dc6980-4st-topology .diagram-title p {
        font-size: 15px;
        color: #475569;
        margin-top: 8px;
        line-height: 1.5;
    }
    #module-rs-dc6980-4st-topology .topology-container {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 20px;
        min-height: 500px;
        background: #fcfdff;
    }
    #module-rs-dc6980-4st-topology .layer-row {
        display: flex;
        align-items: flex-start;
        position: relative;
        padding: 20px 0;
        border-bottom: 1px dashed #e2e8f0;
        background: rgba(252, 253, 255, 0.85);
        min-height: 120px;
    }
    #module-rs-dc6980-4st-topology .layer-row:last-child { border-bottom: none; }
    #module-rs-dc6980-4st-topology .layer-label {
        width: 160px;
        flex-shrink: 0;
        padding-top: 10px;
    }
    #module-rs-dc6980-4st-topology .layer-label .title {
        font-size: 16px;
        font-weight: 700;
        color: #1e3a8a;
        display: block;
    }
    #module-rs-dc6980-4st-topology .layer-label .sub {
        font-size: 12px;
        color: #475569;
        display: block;
        margin-top: 2px;
        line-height: 1.4;
    }
    #module-rs-dc6980-4st-topology .device-area {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
        position: relative;
    }
    #module-rs-dc6980-4st-topology .device-group-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    #module-rs-dc6980-4st-topology .device-group-row {
        display: flex;
        justify-content: space-between;
        width: 100%;
        gap: 20px;
        flex-wrap: wrap;
    }
    #module-rs-dc6980-4st-topology .device-group {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        background: #f8faff;
        border: 1px solid #b9ccf0;
        border-radius: 12px;
        flex-wrap: wrap;
        justify-content: center;
        flex: 1;
        min-width: 200px;
    }
    #module-rs-dc6980-4st-topology .center-indicator {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        display: inline-block;
        background: #f0f6ff;
        padding: 6px 12px;
        border-radius: 8px;
        border: 1px solid #b9ccf0;
        font-size: 12px;
        font-weight: 600;
        color: #2563eb;
        text-align: center;
        line-height: 1.3;
    }
    #module-rs-dc6980-4st-topology .device-icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 10px;
        position: relative;
    }
    #module-rs-dc6980-4st-topology .device-icon:last-child { margin-right: 0; }
    #module-rs-dc6980-4st-topology .switch-box {
        width: 76px;
        height: 24px;
        background: linear-gradient(180deg, #1e40af, #1d4ed8);
        border-radius: 3px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }
    #module-rs-dc6980-4st-topology .switch-box::after {
        content: '';
        position: absolute;
        bottom: 4px; left: 4px; right: 4px; height: 6px;
        background: repeating-linear-gradient(90deg, #ffffff 0px, #ffffff 2px, transparent 2px, transparent 4px);
        opacity: 0.5; border-radius: 1px;
    }
    #module-rs-dc6980-4st-topology .switch-box .port-dots {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.2;
        background-image: radial-gradient(#ffffff 1px, transparent 1px); background-size: 4px 4px;
    }
    #module-rs-dc6980-4st-topology .device-label {
        font-size: 11px; font-weight: 500; color: #1e293b; margin-top: 4px;
    }
    #module-rs-dc6980-4st-topology .server-box {
        width: 54px; height: 40px; background: linear-gradient(180deg, #475569, #334155);
        border-radius: 3px; display: flex; align-items: center; justify-content: center; position: relative;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    #module-rs-dc6980-4st-topology .server-box::after {
        content: ''; position: absolute; top: 8px; left: 6px; right: 6px; height: 4px;
        background: repeating-linear-gradient(90deg, #cbd5e1 0px, #cbd5e1 2px, transparent 2px, transparent 4px);
        border-radius: 1px;
    }
    #module-rs-dc6980-4st-topology .server-box::before {
        content: ''; position: absolute; bottom: 4px; left: 6px; right: 6px; height: 4px;
        background: repeating-linear-gradient(90deg, #cbd5e1 0px, #cbd5e1 2px, transparent 2px, transparent 4px);
        border-radius: 1px;
    }
    #module-rs-dc6980-4st-topology .interface-labels {
        width: 180px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center;
        padding-left: 20px; font-size: 13px; color: #334155; border-left: 1px solid #e2e8f0;
    }
    #module-rs-dc6980-4st-topology .interface-labels span { padding: 4px 0; }
    #module-rs-dc6980-4st-topology .interface-labels .hl { font-weight: 600; color: #0f172a; }

    @media (max-width: 1024px) {
        #module-rs-dc6980-4st-topology .layer-label { width: 120px; }
        #module-rs-dc6980-4st-topology .interface-labels { width: 140px; }
        #module-rs-dc6980-4st-topology .device-area { padding: 0 10px; }
    }
    @media (max-width: 768px) {
        #module-rs-dc6980-4st-topology .layer-row { flex-direction: column; min-height: auto; }
        #module-rs-dc6980-4st-topology .layer-label { width: 100%; }
        #module-rs-dc6980-4st-topology .interface-labels {
            width: 100%; border-left: none; border-top: 1px solid #e2e8f0;
            padding-left: 0; padding-top: 12px; flex-direction: row; flex-wrap: wrap; gap: 8px;
        }
        #module-rs-dc6980-4st-topology .device-area { width: 100%; flex-direction: column; align-items: stretch; }
        #module-rs-dc6980-4st-topology .device-group-wrapper { gap: 4px; }
        #module-rs-dc6980-4st-topology .device-group-row { flex-direction: column; gap: 12px; }
        #module-rs-dc6980-4st-topology .device-group { width: 100%; justify-content: center; flex-wrap: wrap; }
        #module-rs-dc6980-4st-topology .center-indicator {
            width: 100% !important; margin-top: 4px !important;
        }
        #module-rs-dc6980-4st-topology .diagram-wrapper { padding: 16px; }
    }
