:root {
    --bg: #010101;
    --panel: #111a33;
    --text: #e7ecff;
    --muted: #9fb0ff;
    --border: #22305c;
    --input: #0c1430;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

h2 {
    margin: 0 0 8px 0;
    font-size: 16px
}

.btns {
    display: flex;
    gap: 8px;
    margin: 8px 0
}

.chartPanel {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.chartHost {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    min-height: 420px;
}

canvas {
    display: block;
    width: 100%;
    height: 100%
}
#skillsLegend {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; 
    align-items: center;
    gap: 16px; 
}

.legend-item {
    display: inline-flex; 
    align-items: center;
    gap: 6px;
    white-space: nowrap; 
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}