.input-group-custom {
            margin-bottom: 1rem;
        }
        .result-value-sm {
            font-weight: 600;
            color: #c0392b;
            font-size: 1.2rem;
        }
        .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;
        }
        .ballistics-canvas {
            width: 100%;
            height: auto;
            background-color: #fafaf8;
            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%;
            border: 1px solid rgba(0,0,0,0.1);
        }
        .legend-color.red { background-color: #c0392b; }
        .legend-color.blue { background-color: #2c6e9c; }
        .legend-color.green { background-color: #27ae60; }
        .legend-color.gold { background-color: #d4a017; }
        .legend-color.dash { width: 20px; height: 2px; background: transparent; border-top: 2px dashed #888; }
        .result-card {
            background: #faf8f7;
            border-radius: 8px;
            padding: 1.2rem;
            margin: 0.8rem 0;
            border: 1px solid #eee;
        }
        .result-card .label {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #777;
        }
        .result-card .value {
            font-size: 2rem;
            font-weight: 700;
            color: #2c3e50;
        }
        .result-card .unit {
            font-size: 1rem;
            color: #888;
            font-weight: 400;
        }
        .result-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        @media (max-width: 576px) {
            .result-grid {
                grid-template-columns: 1fr;
            }
        }
        .unit-toggle {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            margin: 0.5rem 0;
        }
        .unit-toggle .btn-group .btn {
            font-size: 0.8rem;
            padding: 0.2rem 0.8rem;
        }
        .unit-toggle .btn-group .btn.active {
            background-color: #c0392b;
            border-color: #c0392b;
            color: #fff;
        }
        .unit-toggle .btn-group .btn:not(.active) {
            background-color: #f0f0f0;
            border-color: #ddd;
            color: #555;
        }
        .unit-toggle .btn-group .btn:not(.active):hover {
            background-color: #e0e0e0;
        }
        .reference-dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-right: 4px;
        }
        .reference-dot.red { background: #c0392b; }
        .reference-dot.blue { background: #2c6e9c; }
        .reference-dot.green { background: #27ae60; }
        .reference-dot.gold { background: #d4a017; }
        .reference-dot.purple { background: #8e44ad; }
        .reference-dot.teal { background: #1abc9c; }
        .reference-dot.orange { background: #e67e22; }
        .reference-dot.pink { background: #e84393; }
        .caliber-badge {
            display: inline-block;
            background: #2c3e50;
            color: #fff;
            padding: 0.15rem 0.6rem;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.3px;
        }
        .disclaimer-box {
            background: #f8f0f0;
            border: 1px solid #e8d5d5;
            border-radius: 6px;
            padding: 0.8rem 1.2rem;
            margin: 1.5rem 0;
            font-size: 0.9rem;
            color: #5a4a4a;
        }
        .disclaimer-box strong {
            color: #a93226;
        }
        .tool-header .badge {
            background-color: #a93226 !important;
        }
        .btn-outline-primary {
            color: #a93226;
            border-color: #a93226;
        }
        .btn-outline-primary:hover {
            background-color: #a93226;
            border-color: #a93226;
            color: #fff;
        }
        .accordion-button:not(.collapsed) {
            background-color: rgba(169, 50, 38, 0.08);
            color: #a93226;
        }
        .accordion-button:focus {
            border-color: #a93226;
            box-shadow: 0 0 0 0.25rem rgba(169, 50, 38, 0.25);
        }
        .accordion-item {
            border-color: #e8d5d5;
        }
        .accordion-item:first-of-type .accordion-button {
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
        }
        .accordion-item:last-of-type .accordion-button.collapsed {
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
        }