.iot-mcp-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    background: #070707;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

#iot-mcp-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.mcp3d-label-layer {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 6;
}

.mcp3d-node-label {
    pointer-events: none;
    text-align: center;
    font-family: 'IBM Plex Mono', monospace;
}

.mcp3d-title {
    display: inline-block;
    background: rgba(10,10,10,0.85);
    border: 1px solid #2a2a2a;
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #ffb000;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}

.mcp3d-sub {
    margin-top: 4px;
    font-size: 9px;
    color: #9fcaff;
    background: rgba(10,10,10,0.7);
    border-radius: 4px;
    padding: 2px 8px;
    display: inline-block;
    white-space: nowrap;
}

.mcp3d-tag {
    background: rgba(10,10,10,0.85);
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 8px;
    color: #ffc24d;
    letter-spacing: .5px;
    font-family: 'IBM Plex Mono', monospace;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .iot-mcp-canvas-wrapper {
        height: 360px;
    }
    .mcp3d-title {
        font-size: 9px;
        padding: 3px 7px;
    }
    .mcp3d-sub {
        font-size: 8px;
    }
}