.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;
        }
        .geometry-canvas {
            width: 100%;
            height: auto;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-top: 1.5rem;
            display: block;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1rem;
        }
        .legend {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1.5rem;
            margin: 0.5rem 0;
            font-size: 0.9rem;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: inline-block;
        }
        .legend-color.box-group { background-color: #2ecc71; }
        .legend-color.box-median { background-color: #e74c3c; }
        .group-input-container {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin: 0.75rem 0;
            align-items: center;
        }
        .group-input-container .group-box {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 0.75rem 1rem;
            flex: 1 1 200px;
            min-width: 160px;
            position: relative;
        }
        .group-input-container .group-box .group-label {
            font-weight: 600;
            font-size: 0.85rem;
            color: #495057;
            margin-bottom: 0.25rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .group-input-container .group-box .group-label .remove-group {
            color: #dc3545;
            cursor: pointer;
            font-size: 0.8rem;
            opacity: 0.6;
            transition: opacity 0.2s;
            background: none;
            border: none;
            padding: 0 4px;
        }
        .group-input-container .group-box .group-label .remove-group:hover {
            opacity: 1;
        }
        .group-input-container .group-box textarea {
            width: 100%;
            border: 1px solid #ced4da;
            border-radius: 4px;
            padding: 0.35rem 0.5rem;
            font-size: 0.9rem;
            font-family: 'Courier New', monospace;
            resize: vertical;
            min-height: 44px;
            max-height: 80px;
            overflow-y: auto;
            background: white;
        }
        .group-input-container .group-box textarea:focus {
            border-color: #28a745;
            outline: none;
            box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
        }
        .group-input-container .group-box .group-stats {
            font-size: 0.75rem;
            color: #6c757d;
            margin-top: 0.2rem;
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
        }
        .add-group-btn {
            border: 2px dashed #28a745;
            background: transparent;
            color: #28a745;
            padding: 0.5rem 1.25rem;
            border-radius: 6px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            height: fit-content;
            align-self: center;
        }
        .add-group-btn:hover {
            background: rgba(40, 167, 69, 0.08);
            transform: translateY(-2px);
        }
        .result-container .result-stat {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem 3rem;
            margin: 0.5rem 0;
            padding: 0.5rem 0;
        }
        .result-stat .stat-item {
            display: flex;
            flex-direction: column;
        }
        .result-stat .stat-item .stat-label {
            font-size: 0.8rem;
            text-transform: uppercase;
            color: #6c757d;
            letter-spacing: 0.5px;
        }
        .result-stat .stat-item .stat-value {
            font-size: 1.8rem;
            font-weight: 600;
            color: #212529;
        }
        .result-stat .stat-item .stat-value.significant {
            color: #dc3545;
        }
        .result-stat .stat-item .stat-value.not-significant {
            color: #28a745;
        }
        .conclusion-box {
            background: #f8f9fa;
            border-radius: 6px;
            padding: 1rem 1.25rem;
            margin-top: 1rem;
            border-left: 4px solid #28a745;
        }
        .conclusion-box .conclusion-text {
            font-size: 1.05rem;
            margin: 0;
        }
        .conclusion-box .conclusion-text strong {
            color: #1a7a3a;
        }
        .rank-table {
            font-size: 0.9rem;
            margin: 1rem 0;
        }
        .rank-table th {
            background: #e9ecef;
        }
        .rank-table td, .rank-table th {
            padding: 0.4rem 0.6rem;
            border: 1px solid #dee2e6;
            text-align: center;
        }
        .box-plot-container {
            margin-top: 1.5rem;
            background: #fafafa;
            border-radius: 8px;
            padding: 0.5rem 0.25rem;
            border: 1px solid #e9ecef;
        }
        .box-plot-container canvas {
            width: 100%;
            height: auto;
            display: block;
        }
        .sig-note {
            font-size: 0.85rem;
            color: #6c757d;
            margin-top: 0.25rem;
            font-style: italic;
        }
        @media (max-width: 576px) {
            .group-input-container .group-box {
                flex: 1 1 100%;
                min-width: unset;
            }
            .result-stat {
                gap: 0.75rem 1.5rem;
            }
            .result-stat .stat-item .stat-value {
                font-size: 1.4rem;
            }
        }
        .group-input-container .group-box .group-label .group-name-input {
            border: none;
            background: transparent;
            font-weight: 600;
            font-size: 0.85rem;
            color: #495057;
            width: 60px;
            padding: 0 2px;
            border-bottom: 1px dashed #ced4da;
        }
        .group-input-container .group-box .group-label .group-name-input:focus {
            outline: none;
            border-bottom-color: #28a745;
        }
        .tool-header .badge {
            background-color: #28a745 !important;
        }
        .btn-outline-primary {
            color: #28a745;
            border-color: #28a745;
        }
        .btn-outline-primary:hover {
            background-color: #28a745;
            border-color: #28a745;
            color: white;
        }
        .nav-link.active, .footer h4, .footer h5 {
            color: #28a745;
        }
        .footer .footer .breadcrumb-item a {
            color: #28a745;
        }
        .breadcrumb-item.active {
            color: #1a7a3a;
        }
        .accordion-button:not(.collapsed) {
            background-color: rgba(40, 167, 69, 0.08);
            color: #1a7a3a;
        }
        .accordion-button:focus {
            border-color: #28a745;
            box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
        }
        .legend-color.red { background-color: #dc3545; }
        .legend-color.blue { background-color: #0d6efd; }
        .legend-color.gray { background-color: #6c757d; }
        .legend-color.purple { background-color: #9b59b6; }