%%{init: {
'theme': 'base',
'themeVariables': { 'fontFamily': 'Arial' },
'flowchart': { 'curve': 'linear' }
}}%%
flowchart TD
A[Total Variance Profit]
A --> B[Other costs]
A --> C[Manufacturing costs]
A --> D[Revenue]
B --> B1[Administration]
B --> B2[Marketing & Sales]
B --> B3[R&D]
C --> C1[Variable costs]
C --> C2[Fixed costs]
C1 --> C1a[Material]
C1 --> C1b[Direct labor]
C1 --> C1c[Variable overhead]
D --> D1[Selling price]
D --> D2[Volume / Mix]
D2 --> D2a[Market share]
D2 --> D2b[Market size]
%% White background and horizontal centering
classDef default fill:#ffffff,stroke:#000,stroke-width:1px,color:#000;
%% Bold root + first level
classDef bold font-weight:bold,stroke-width:2px;
class A,B,C,D bold;