.property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .result-fraction {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            font-family: 'Cambria Math', serif;
            text-align: center;
            padding: 10px;
            background: rgba(70, 130, 180, 0.06);
            border-radius: 8px;
            margin: 10px 0;
        }
        .result-fraction .frac {
            display: inline-block;
            text-align: center;
            vertical-align: middle;
        }
        .result-fraction .frac .num {
            display: block;
            border-bottom: 2px solid #333;
            padding: 0 8px 2px;
        }
        .result-fraction .frac .den {
            display: block;
            padding: 2px 8px 0;
        }
        .result-fraction .whole {
            font-size: 2rem;
            margin-right: 8px;
            vertical-align: middle;
        }
        .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;
            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.orange {
            background-color: #fd7e14;
        }
        .legend-color.green {
            background-color: #198754;
        }
        .step-box {
            background: #f8f9fa;
            border-radius: 6px;
            padding: 12px 16px;
            margin: 8px 0;
            font-family: 'Courier New', monospace;
            font-size: 0.95rem;
            border-left: 3px solid var(--primary-color);
        }
        .step-box .step-label {
            font-weight: 600;
            color: var(--primary-color);
            margin-right: 8px;
        }
        .fraction-display {
            font-size: 2rem;
            font-weight: 600;
            color: #0d6efd;
        }
        .viz-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            flex-wrap: wrap;
            margin: 20px 0;
        }
        .viz-pie {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: #e9ecef;
            position: relative;
            overflow: hidden;
        }
        .viz-pie .slice {
            position: absolute;
            width: 100%;
            height: 100%;
            clip: rect(0, 180px, 180px, 90px);
            border-radius: 50%;
        }
        .viz-pie .slice-fill {
            position: absolute;
            width: 100%;
            height: 100%;
            clip: rect(0, 90px, 180px, 0);
            border-radius: 50%;
            background: #0d6efd;
            transform: rotate(0deg);
        }
        .viz-label {
            text-align: center;
            font-size: 1rem;
            color: #333;
            font-weight: 500;
        }
        .gcd-calc {
            background: #f0f4f8;
            padding: 12px 16px;
            border-radius: 6px;
            font-size: 0.95rem;
        }
        .tool-header .badge {
            font-size: 0.8rem;
            padding: 0.4rem 0.8rem;
        }
        .result-card {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            border: 1px solid #eee;
            margin: 12px 0;
        }
        .result-card .label {
            font-size: 0.85rem;
            color: #6c757d;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .result-card .value {
            font-size: 1.8rem;
            font-weight: 600;
            color: #0d6efd;
        }
        .result-card .value .frac {
            display: inline-block;
            text-align: center;
            vertical-align: middle;
            font-size: 1.8rem;
        }
        .result-card .value .frac .num {
            display: block;
            border-bottom: 2px solid #0d6efd;
            padding: 0 8px 2px;
        }
        .result-card .value .frac .den {
            display: block;
            padding: 2px 8px 0;
        }
        .result-card .value .whole {
            font-size: 1.6rem;
            margin-right: 6px;
            vertical-align: middle;
        }
        .input-group-custom .form-control-lg {
            font-size: 1.2rem;
        }