.property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .unit-note {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .circuit-canvas {
            width: 100%;
            height: auto;
            background-color: #fafafa;
            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%;
            display: inline-block;
        }
        .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; }
        .resistor-bands {
            display: flex;
            gap: 4px;
            justify-content: center;
            margin: 5px 0;
        }
        .band {
            width: 14px;
            height: 34px;
            border-radius: 2px;
            border: 1px solid #ccc;
        }
        .resistor-.resistor-wire {
            width: 20px;
            height: 2px;
            background: #888;
        }
        .resistor-wire-left {
            width: 20px;
            height: 2px;
            background: #888;
        }
        .resistor-wire-right {
            width: 20px;
            height: 2px;
            background: #888;
        }
        .result-card {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 1rem;
            margin: 0.5rem 0;
            border: 1px solid #e9ecef;
            height: 100%;
        }
        .result-card .label {
            font-size: 0.8rem;
            color: #6c757d;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }
        .result-card .value {
            font-size: 1.6rem;
            font-weight: 700;
            color: #1a1a2e;
        }
        .result-card .value .unit {
            font-size: 1rem;
            font-weight: 400;
            color: #6c757d;
            margin-left: 4px;
        }
        .std-resistor-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            justify-content: center;
        }
        .std-resistor-badge {
            background: #e9ecef;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            border: 2px solid transparent;
            font-family: 'Courier New', monospace;
        }
        .std-resistor-badge:hover {
            background: #dee2e6;
            border-color: #0d6efd;
            transform: scale(1.02);
        }
        .std-resistor-badge.selected {
            border-color: #0d6efd;
            background: #cfe2ff;
            font-weight: 700;
        }
        .led-count-control {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin: 0.5rem 0;
        }
        .led-count-control button {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid #ddd;
            background: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .led-count-control button:hover {
            background: #f0f0f0;
        }
        .led-count-control .count-display {
            font-size: 1.4rem;
            font-weight: 600;
            min-width: 40px;
            text-align: center;
        }
        .design-tip {
            background: #e8f4f8;
            border-left: 4px solid #17a2b8;
            padding: 0.8rem 1.2rem;
            border-radius: 0 4px 4px 0;
            margin: 0.8rem 0;
        }
        .design-tip i {
            color: #17a2b8;
            margin-right: 8px;
        }
        .safety-note {
            background: #fef3e2;
            border-left: 4px solid #fd7e14;
            padding: 0.8rem 1.2rem;
            border-radius: 0 4px 4px 0;
            margin: 0.8rem 0;
        }
        .safety-note i {
            color: #fd7e14;
            margin-right: 8px;
        }
        .tolerance-badge {
            font-size: 0.75rem;
            background: #e9ecef;
            padding: 2px 8px;
            border-radius: 10px;
            margin-left: 6px;
        }
        .deviation-badge {
            font-size: 0.85rem;
            font-weight: 500;
        }
        .deviation-badge.positive { color: #0d6efd; }
        .deviation-badge.negative { color: #dc3545; }
        .deviation-badge.neutral { color: #28a745; }
        @media (max-width: 576px) {
            .result-card .value {
                font-size: 1.2rem;
            }
            .band {
                width: 10px;
                height: 26px;
            }
        }