         .canvas-container {
            text-align: center;
            margin: 20px 0;
        }
        .shaft-canvas {
            background: #ffffff;
            border: 1px solid #ddd;
            border-radius: 12px;
            max-width: 100%;
            height: auto;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            font-size: 0.85rem;
            margin-top: 8px;
        }
        .legend-color {
            width: 16px;
            height: 16px;
            display: inline-block;
            border-radius: 2px;
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .related-name a {
            text-decoration: none;
            font-weight: 600;
        }
        .footer a {
            color: #adb5bd;
        }