/* Цветовая схема */
:root {
    --color-blue: #2563eb;    /* blue-600 */
    --color-green: #16a34a;   /* green-600 */
    --color-yellow: #ca8a04;  /* yellow-600 */
}

/* SVG специфичные стили */

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.node-circle {
    fill: white;
    stroke: black;
    stroke-width: 2;
    cursor: move;
}

.node-circle:hover {
    fill: #f0f0f0;
}

.node-label {
    text-anchor: middle;
    font-size: 12px;
    pointer-events: none;
}

.edge-line {
    fill: none;
    stroke: black;
    stroke-width: 2;
    pointer-events: none;
}

.edge-line.dashed {
    stroke-dasharray: 5,5;
}

.edge-line.selected {
    stroke: var(--color-blue);
    stroke-width: 3;
}

.edge-label {
    text-anchor: middle;
    font-size: 11px;
    fill: #333;
    font-weight: bold;
}

.edge-hit-area {
    fill: none;
    stroke: transparent;
    stroke-width: 20;
    cursor: pointer;
}

.selected {
    stroke: var(--color-blue);
    stroke-width: 3;
}

/* Текстовые блоки */
.text-block-text {
    user-select: none;
}