.input-group-custom { margin-bottom: 1rem; }
        .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; }
        .result-card { background-color: #f8f9fc; border-radius: 8px; padding: 1.5rem; border: 1px solid #e9ecef; }
        .result-card .value { font-size: 1.8rem; font-weight: 700; color: #0d6efd; }
        .result-card .label { font-size: 0.8rem; color: #6c757d; text-transform: uppercase; letter-spacing: 0.5px; }
        .result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
        .result-grid .item { background: white; padding: 1rem; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); text-align: center; }
        @media (max-width: 576px) { .result-grid { grid-template-columns: repeat(2, 1fr); } .result-card .value { font-size: 1.3rem; word-break: break-all; } }
        .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.blue { background-color: #0d6efd; }
        .legend-color.green { background-color: #198754; }
        .legend-color.orange { background-color: #fd7e14; }
        .canvas-container { text-align: center; margin-top: 1rem; }
        .std-curve-canvas { width: 100%; height: auto; background-color: #f9f9f9; border: 1px solid #ddd; border-radius: 8px; display: block; }
        .badge-mol { background-color: #e9ecef; color: #495057; font-size: 0.8rem; padding: 0.2rem 0.6rem; border-radius: 12px; }
        .formula-box { background: #f0f4f8; border-radius: 6px; padding: 1.2rem; font-family: 'Courier New', monospace; font-size: 1.1rem; margin: 0.8rem 0; border: 1px solid #dde4ec; }
        .tool-header .lead { font-size: 1.1rem; font-weight: 400; color: #495057; }
        .switch-container { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.3rem; }
        .switch-label { font-weight: 500; font-size: 0.9rem; }
        .toggle { position: relative; display: inline-block; width: 48px; height: 26px; }
        .toggle input { opacity: 0; width: 0; height: 0; }
        .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .3s; border-radius: 26px; }
        .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 4px; bottom: 4px; background-color: white; transition: .3s; border-radius: 50%; }
        input:checked + .slider { background-color: #0d6efd; }
        input:checked + .slider:before { transform: translateX(22px); }
        .unit-select { max-width: 130px; }
        .form-control:invalid { border-color: #dc3545; }
        .form-control:invalid:focus { border-color: #dc3545; box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); }
        .invalid-feedback { display: none; width: 100%; margin-top: 0.25rem; font-size: 0.875em; color: #dc3545; }
        .was-validated .form-control:invalid ~ .invalid-feedback { display: block; }
        .was-validated .form-control:invalid { border-color: #dc3545; }