.property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .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;
        }
        .factor-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin: 0.75rem 0;
        }
        .factor-badge {
            background-color: rgba(70, 130, 180, 0.12);
            border: 1px solid rgba(70, 130, 180, 0.25);
            border-radius: 20px;
            padding: 0.3rem 0.9rem;
            font-size: 1rem;
            font-family: 'Courier New', monospace;
            color: var(--primary-color);
        }
        .factor-badge.prime {
            background-color: rgba(220, 53, 69, 0.10);
            border-color: rgba(220, 53, 69, 0.25);
            color: #a71d2a;
        }
        .factor-badge.composite {
            background-color: rgba(13, 110, 253, 0.08);
            border-color: rgba(13, 110, 253, 0.20);
            color: #0a58ca;
        }
        .divisibility-check-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .divisibility-item {
            background: #f8f9fa;
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
            text-align: center;
            font-size: 0.95rem;
            border: 1px solid #e9ecef;
            transition: 0.2s;
        }
        .divisibility-item.passes {
            background: #d4edda;
            border-color: #b7dfb9;
            color: #155724;
        }
        .divisibility-item.fails {
            background: #f8d7da;
            border-color: #f5c6cb;
            color: #721c24;
        }
        .divisibility-item .divisor {
            font-weight: 700;
            font-size: 1.1rem;
        }
        .divisibility-item .rule-hint {
            font-size: 0.7rem;
            opacity: 0.7;
            display: block;
            margin-top: 0.15rem;
        }
        .prime-factor-tree {
            font-family: 'Courier New', monospace;
            font-size: 1.1rem;
            background: #f8f9fa;
            padding: 1rem 1.5rem;
            border-radius: 8px;
            border: 1px solid #e9ecef;
            white-space: pre-wrap;
            word-break: break-all;
            line-height: 1.8;
        }
        .result-card {
            background: white;
            border-radius: 8px;
            padding: 1.25rem;
            margin: 0.75rem 0;
            border: 1px solid #e9ecef;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
        }
        .result-card .card-title {
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--accent-color);
            margin-bottom: 0.75rem;
        }
        .rule-reference {
            font-size: 0.9rem;
            color: #495057;
            background: #f1f3f5;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            display: inline-block;
            margin: 0.1rem 0.15rem;
        }
        .stat-badge {
            display: inline-block;
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }
        .stat-badge.prime-badge {
            background: #dc3545;
            color: white;
        }
        .stat-badge.composite-badge {
            background: #0d6efd;
            color: white;
        }
        .stat-badge.neither-badge {
            background: #6c757d;
            color: white;
        }
        @media (max-width: 576px) {
            .divisibility-check-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            }
        }