.input-group-custom {
            margin-bottom: 1rem;
        }
        .result-value-sm {
            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; }
        .legend-color.orange { background-color: #fd7e14; }
        .result-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 1rem;
            margin: 1rem 0;
        }
        .result-card {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 1rem;
            text-align: center;
            border: 1px solid #e9ecef;
        }
        .result-card .label {
            font-size: 0.85rem;
            color: #6c757d;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .result-card .value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        .result-card .unit {
            font-size: 0.9rem;
            color: #6c757d;
        }
        @media (max-width: 768px) {
            .result-grid {
                grid-template-columns: 1fr 1fr;
            }
        }
        @media (max-width: 480px) {
            .result-grid {
                grid-template-columns: 1fr;
            }
        }
        .battery-icon {
            font-size: 2rem;
            color: #28a745;
            margin-right: 0.5rem;
        }
        .formula-highlight {
            background: #e8f4f8;
            padding: 0.2rem 0.6rem;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-weight: 600;
        }
        .battery-type-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            background: #e9ecef;
            color: #495057;
        }
        .battery-type-badge.alkaline { background: #d4edda; color: #155724; }
        .battery-type-badge.li-ion { background: #cce5ff; color: #004085; }
        .battery-type-badge.lipo { background: #f8d7da; color: #721c24; }
        .battery-type-badge.nimh { background: #fff3cd; color: #856404; }
        .battery-type-badge.lead { background: #d6d8db; color: #1b1e21; }
        .battery-type-badge.solid { background: #e2d9f3; color: #4a2d7a; }