.input-group-custom {
            margin-bottom: 1rem;
        }
        .result-value-small {
            font-weight: 600;
            color: var(--primary-color);
            font-size: 1.4rem;
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .unit-note {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .coord-input {
            margin-bottom: 0.5rem;
        }
        .geometry-canvas {
            width: 100%;
            height: auto;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-top: 1.5rem;
            display: block;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1rem;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 0.5rem 0;
            font-size: 0.9rem;
            flex-wrap: wrap;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 50%;
        }
        .legend-color.red { background-color: #dc3545; }
        .legend-color.blue { background-color: #0d6efd; }
        .legend-color.gray { background-color: #6c757d; }
        .legend-color.green { background-color: #28a745; }
        .result-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem 1.5rem;
            margin: 1rem 0;
        }
        .result-grid .label {
            font-weight: 500;
            color: #495057;
        }
        .result-grid .value {
            font-weight: 600;
            color: var(--primary-color);
            text-align: right;
        }
        .strain-unit {
            font-size: 0.85rem;
            color: #6c757d;
            margin-left: 4px;
        }
        .material-presets {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin: 0.5rem 0 1rem 0;
        }
        .material-btn {
            background-color: #e9ecef;
            border: 1px solid #ced4da;
            border-radius: 4px;
            padding: 0.25rem 0.6rem;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.15s;
        }
        .material-btn:hover {
            background-color: #dee2e6;
            border-color: #adb5bd;
        }
        @media (max-width: 768px) {
            .result-grid {
                grid-template-columns: 1fr;
            }
        }