.property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .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.red {
            background-color: #dc3545;
        }
        .legend-color.blue {
            background-color: #0d6efd;
        }
        .legend-color.gray {
            background-color: #6c757d;
        }
        .term-list {
            max-height: 320px;
            overflow-y: auto;
            background: #f8f9fa;
            border-radius: 6px;
            padding: 12px 16px;
            font-family: 'Courier New', monospace;
            font-size: 0.95rem;
            border: 1px solid #e9ecef;
        }
        .term-list .term-item {
            padding: 2px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        .term-list .term-item:last-child {
            border-bottom: none;
        }
        .coeff-table {
            width: 100%;
            font-size: 0.9rem;
        }
        .coeff-table th {
            background: #e9ecef;
        }
        .coeff-table td,
        .coeff-table th {
            padding: 6px 12px;
            text-align: center;
        }
        .result-expansion {
            font-size: 1.3rem;
            padding: 16px;
            background: white;
            border-radius: 6px;
            border: 1px solid #dee2e6;
            word-wrap: break-word;
            line-height: 2;
        }
        .result-expansion .term {
            display: inline-block;
            margin: 0 2px;
        }
        .result-expansion .coeff {
            font-weight: 600;
            color: #0d6efd;
        }
        .result-expansion .variable {
            font-weight: 500;
            color: #2c3e50;
        }
        .result-expansion .exponent {
            font-size: 0.85em;
            vertical-align: super;
        }
        .numeric-expansion {
            font-size: 1.15rem;
            padding: 16px;
            background: #f1f8ff;
            border-radius: 6px;
            border: 1px solid #cce5ff;
            word-wrap: break-word;
            line-height: 2;
        }
        .result-summary {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 1rem;
        }
        .result-summary .card {
            flex: 1;
            min-width: 140px;
            padding: 12px 16px;
            background: #f8f9fa;
            border-radius: 6px;
            border: 1px solid #e9ecef;
            text-align: center;
        }
        .result-summary .card .label {
            font-size: 0.75rem;
            text-transform: uppercase;
            color: #6c757d;
            letter-spacing: 0.5px;
        }
        .result-summary .card .value {
            font-size: 1.5rem;
            font-weight: 600;
            color: #0d6efd;
        }
        .pascal-legend {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 0.5rem;
            font-size: 0.8rem;
            color: #6c757d;
        }
        .pascal-legend .swatch {
            display: inline-block;
            width: 14px;
            height: 14px;
            border-radius: 3px;
            margin-right: 4px;
        }
        .canvas-info {
            font-size: 0.8rem;
            color: #6c757d;
            margin-top: 4px;
        }