.group-card {
            background: #f8f9fa;
            border-left: 4px solid var(--primary-color);
            margin-bottom: 0.75rem;
            padding: 0.75rem 1rem;
            border-radius: 0.5rem;
            transition: all 0.2s;
        }
        .group-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            align-items: flex-end;
        }
        .group-name-input {
            flex: 2;
            min-width: 120px;
        }
        .pka-input {
            width: 100px;
        }
        .type-select {
            width: 110px;
        }
        .remove-group {
            color: #dc3545;
            cursor: pointer;
            background: none;
            border: none;
            font-size: 1.2rem;
            padding: 0 0.5rem;
        }
        .preset-badge {
            background-color: #e9ecef;
            border-radius: 20px;
            padding: 0.3rem 0.8rem;
            font-size: 0.8rem;
            cursor: pointer;
            transition: 0.1s;
        }
        .preset-badge:hover {
            background-color: var(--primary-color);
            color: white;
        }
        .curve-canvas {
            background: #ffffff;
            border: 1px solid #dee2e6;
            border-radius: 12px;
            width: 100%;
            height: auto;
            margin-top: 1rem;
        }
        .math-panel {
            background-color: rgba(13, 110, 253, 0.04);
            border-radius: 16px;
            padding: 1.2rem;
            margin: 1.5rem 0;
        }
        .result-badge {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        .legend-curve {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin: 0.5rem 0;
            font-size: 0.85rem;
        }
        .legend-dot {
            width: 14px;
            height: 14px;
            display: inline-block;
            border-radius: 50%;
            margin-right: 6px;
        }
        .authority-ref {
            font-size: 0.9rem;
            border-top: 1px solid #e0e0e0;
            padding-top: 1rem;
            margin-top: 1.5rem;
        }
        .sequence-import-panel {
            background: #f1f9ff;
            border-radius: 12px;
            padding: 1rem;
            margin-bottom: 1rem;
        }
        .temp-correction-panel {
            background: #fef9e6;
            border-radius: 12px;
            padding: 0.75rem 1rem;
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }