.property-table th,
        .property-table td {
            padding: 0.6rem 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .property-table .highlight-row {
            background-color: rgba(70, 130, 180, 0.08);
        }
        .material-badge {
            display: inline-block;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            background: rgba(70, 130, 180, 0.12);
            color: var(--primary-color);
        }
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 4px;
            display: inline-block;
            margin-right: 4px;
        }
        .legend-color.steel {
            background: #4a6fa5;
        }
        .legend-color.aluminum {
            background: #b0c4de;
        }
        .legend-color.copper {
            background: #b87333;
        }
        .legend-color.wood {
            background: #8b6b3d;
        }
        .legend-color.concrete {
            background: #a0a0a0;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1.5rem;
        }
        .geometry-canvas {
            width: 100%;
            height: auto;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            display: block;
        }
        .legend {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.8rem 1.8rem;
            margin: 0.5rem 0;
            font-size: 0.85rem;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .unit-note {
            font-size: 0.85rem;
            color: #6c757d;
        }
        .coord-input {
            margin-bottom: 0.3rem;
        }
        .input-group-custom {
            margin-bottom: 0.8rem;
        }
        .density-chart-container {
            margin-top: 1.5rem;
        }
        .shape-desc {
            font-size: 0.9rem;
            color: #555;
            font-style: italic;
        }
        .material-props {
            background: #f8f9fa;
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
        }
        .material-props .row {
            margin: 0.3rem 0;
        }
        .material-props .label {
            font-weight: 600;
            color: #495057;
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .accordion-button:not(.collapsed) {
            background-color: rgba(70, 130, 180, 0.06);
            color: var(--accent-color);
        }
        .badge-density {
            background: #6c757d;
            color: #fff;
            font-size: 0.7rem;
            padding: 0.2rem 0.5rem;
            border-radius: 10px;
        }
        .input-icon {
            color: var(--primary-color);
            margin-right: 6px;
        }
        .result-card {
            background: white;
            border-radius: 8px;
            padding: 1rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            border: 1px solid #eee;
            margin-bottom: 0.8rem;
        }
        .result-card .value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        .result-card .unit {
            font-size: 1rem;
            font-weight: 400;
            color: #6c757d;
            margin-left: 4px;
        }
        .result-card .label {
            font-size: 0.85rem;
            color: #6c757d;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .shape-selector {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin: 0.5rem 0;
        }
        .shape-btn {
            padding: 0.4rem 1rem;
            border: 2px solid #ddd;
            border-radius: 20px;
            background: #fff;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.9rem;
        }
        .shape-btn:hover {
            border-color: var(--primary-color);
        }
        .shape-btn.active {
            border-color: var(--primary-color);
            background: rgba(70, 130, 180, 0.08);
            font-weight: 600;
        }
        .shape-btn i {
            margin-right: 6px;
        }
        @media (max-width: 768px) {
            .result-card .value {
                font-size: 1.4rem;
            }
            .property-table th,
            .property-table td {
                padding: 0.4rem 0.5rem;
            }
        }