.result-value-large { font-size: 2.2rem; font-weight: 700; color: var(--primary-color); }.chart-container{height:auto}
        .result-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
        .recoil-gauge { background: #e9ecef; border-radius: 12px; height: 18px; overflow: hidden; margin: 0.8rem 0 0.4rem; position: relative; }
        .recoil-gauge-fill { height: 100%; border-radius: 12px; transition: width 0.5s ease; background: linear-gradient(90deg, #28a745, #ffc107, #fd7e14, #dc3545); width: 0%; }
        .recoil-gauge-labels { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--text-muted); padding: 0 2px; }
        .recoil-badge { display: inline-block; padding: 0.25rem 1rem; border-radius: 20px; font-weight: 600; font-size: 0.85rem; }
        .recoil-badge.light { background: #d4edda; color: #155724; }
        .recoil-badge.moderate { background: #fff3cd; color: #856404; }
        .recoil-badge.heavy { background: #f8d7da; color: #721c24; }
        .recoil-badge.extreme { background: #dc3545; color: #fff; }
        .recoil-badge.severe { background: #721c24; color: #fff; }
        .example-btn .caliber { font-weight: 600; }
        .math-box .case-study .case-title { font-weight: 600; color: var(--accent-color); font-size: 1.1rem; }
        .result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 1rem 0; }
        .result-card { background: #f8f9fa; border-radius: 8px; padding: 0.8rem 1rem; text-align: center; border: 1px solid #e9ecef; }
        .result-card .number { font-size: 1.6rem; font-weight: 700; color: var(--primary-color); }
        .result-card .unit { font-size: 0.75rem; color: var(--text-muted); }
        .sub-section-title { font-weight: 600; margin-top: 2rem; margin-bottom: 1rem; color: var(--accent-color); font-size: 1.2rem; }
        .chart-container canvas { max-width: 100%; height: auto; cursor: pointer; }
        .inline-icon { margin-right: 0.4rem; }
        .input-group-custom { margin-bottom: 1rem; }
        .form-text.unit-hint { font-size: 0.8rem; color: var(--text-muted); }
        .legend { display: flex; justify-content: center; gap: 1.5rem; margin: 0.5rem 0; font-size: 0.85rem; flex-wrap: wrap; }
        .legend-item { display: flex; align-items: center; gap: 0.3rem; }
        .legend-color { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
        .legend-color.orange { background: #fd7e14; }
        .legend-color.blue { background: #0d6efd; }
        .legend-color.green { background: #28a745; }
        .legend-color.red { background: #dc3545; }
        .tool-header .lead { font-size: 1.1rem; }
        .unit-toggle .btn { font-size: 0.8rem; padding: 0.2rem 0.8rem; }
        .unit-toggle .btn.active { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }
        #chartTooltip { position: absolute; background: rgba(0,0,0,0.8); color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 12px; pointer-events: none; display: none; z-index: 10; }
        @media (max-width: 576px) { .result-grid { grid-template-columns: 1fr 1fr; } .result-value-large { font-size: 1.6rem; } }
        .gas-velocity-group { border-left: 2px dashed #dee2e6; padding-left: 15px; }
        @media (max-width: 768px) { .gas-velocity-group { border-left: none; padding-left: 0; margin-top: 10px; } }