.math-panel {
            background-color: #f8f9fc;
            border-left: 5px solid #0d6efd;
            padding: 1rem;
            margin: 1.2rem 0;
            border-radius: 0 12px 12px 0;
        }
        .formula-card {
            font-family: 'Courier New', 'Cambria Math', monospace;
            background: #eef2ff;
            border-radius: 12px;
            padding: 0.8rem;
            text-align: center;
            font-size: 1.2rem;
        }
        .result-badge {
            font-size: 2rem;
            font-weight: 700;
            color: #0a58ca;
        }
        .shape-canvas-container {
            background: #ffffff;
            border-radius: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            padding: 15px;
            text-align: center;
        }
        canvas#shapeCanvas {
            background: #fefefe;
            border-radius: 16px;
            width: 100%;
            max-width: 300px;
            height: auto;
            margin: 0 auto;
            display: block;
        }
        .dimension-group {
            background: #f8f9fa;
            padding: 1rem;
            border-radius: 16px;
            margin-bottom: 1rem;
        }
        .input-label-icon {
            font-weight: 600;
            margin-bottom: 0.3rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .info-icon {
            color: #0d6efd;
            cursor: help;
            font-size: 0.9rem;
        }
        .toast-copy {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #28a745;
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.9rem;
            z-index: 9999;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }