.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; }
        .test-mode-selector { display:flex; gap:1.5rem; margin:1rem 0 1.5rem 0; flex-wrap:wrap; }
        .test-mode-selector .btn-group { flex-wrap:wrap; }
        .test-mode-selector .btn { border-radius:20px; padding:0.4rem 1.5rem; }
        .test-mode-selector .btn.active { background:var(--primary-color); color:white; border-color:var(--primary-color); }
        .two-sample-inputs { display:none; margin-top:1rem; }
        .two-sample-inputs.show { display:block; }
        .one-sample-inputs { display:block; }
        .one-sample-inputs.hide { display:none; }
        .stat-badge { display:inline-block; padding:0.2rem 0.8rem; border-radius:12px; font-size:0.8rem; font-weight:600; margin-left:0.5rem; }
        .stat-badge.significant { background:#d4edda; color:#155724; }
        .stat-badge.not-significant { background:#f8d7da; color:#721c24; }
        .stat-badge.info-badge { background:#d1ecf1; color:#0c5460; }
        .distribution-visual { background:#f8f9fa; border-radius:8px; padding:1rem; margin:1rem 0; text-align:center; }
        .distribution-visual canvas { max-width:100%; height:auto; background:white; border-radius:6px; border:1px solid #dee2e6; }
        .formula-card { background:#f8f9fa; border-radius:8px; padding:1.5rem; margin:1.2rem 0; border-left:4px solid #2c3e50; }
        .formula-card .formula { font-size:1.3rem; font-family:'Cambria Math','Latin Modern Math',serif; text-align:center; margin:0.5rem 0; }
        .hypothesis-box { display:flex; flex-wrap:wrap; gap:1rem; background:#f0f4f8; border-radius:8px; padding:1.2rem; margin:1rem 0; }
        .hypothesis-box .h-item { flex:1; min-width:120px; padding:0.5rem; background:white; border-radius:6px; text-align:center; border:1px solid #dee2e6; }
        .hypothesis-box .h-item .h-label { font-size:0.8rem; color:#6c757d; font-weight:600; }
        .hypothesis-box .h-item .h-value { font-size:1.2rem; font-family:'Cambria Math',serif; font-weight:600; color:var(--primary-color); }
        .conclusion-box { padding:1rem 1.5rem; border-radius:8px; margin:1rem 0; font-weight:500; font-size:1.1rem; }
        .conclusion-box.reject { background:#f8d7da; border:1px solid #f5c6cb; color:#721c24; }
        .conclusion-box.fail-reject { background:#d4edda; border:1px solid #c3e6cb; color:#155724; }
        #sampleProportion2 { display:inline-block; }