.mode-selector { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; border-bottom: 1px solid #ddd; padding-bottom: 0.5rem; }
        .mode-btn { background: none; border: none; padding: 0.5rem 1.25rem; font-weight: 500; border-radius: 30px; transition: 0.2s; color: #6c757d; }
        .mode-btn.active { background: var(--primary-color); color: white; }
        .mode-btn:not(.active):hover { background: rgba(70,130,180,0.1); }
        .input-panel { transition: 0.2s; }.author-bio{display:block}
        .geometry-canvas { width: 100%; height: auto; background: #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: #dc3545; }
        .line-swatch { width: 24px; height: 3px; display: inline-block; }
        .line-swatch.orange { background: #fd7e14; }
        .line-swatch.purple { background: #6f42c1; }
        .verified-badge { background: #e8f5e9; border-left: 4px solid #2e7d32; padding: 0.5rem 1rem; margin: 1rem 0; font-size: 0.9rem; }
        .eq-input-group { background: rgba(0,0,0,0.02); padding: 0.75rem; border-radius: 8px; margin-bottom: 0.5rem; }
        .inline-equation { font-family: monospace; font-size: 1rem; background: #f1f3f5; padding: 0.25rem 0.5rem; border-radius: 4px; }