.iv-root{min-width:0;color:#2a3446}.iv-tools,.iv-link-choices,.iv-legend,.iv-connections{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.iv-tools .iv-primary{background:#213454;color:#fff;border-color:#213454}.iv-status{font-size:.94rem;margin:10px 0;color:#444d5c}.iv-scroll{overflow:auto;border:1px solid #cacfd8;border-radius:14px;max-height:72vh;overscroll-behavior:contain}.iv-plot{width:100%;min-width:560px;position:relative;isolation:isolate}.iv-plot canvas{display:block;width:100%;height:100%}.iv-hits{position:absolute;inset:0}.iv-hits button{position:absolute;transform:translate(-50%,-50%);font:inherit}.iv-node,.iv-port{touch-action:none;cursor:grab;border:0;background:transparent}.iv-node{border-radius:16px;user-select:none;-webkit-user-select:none}.iv-dragging,.iv-dragging .iv-node,.iv-node:active{cursor:grabbing}.iv-port{display:grid;place-items:center;cursor:crosshair}.iv-port::before{content:'';width:11px;height:11px;border:2px solid #556176;background:#fff;border-radius:50%}.iv-hits button:focus-visible{outline:3px solid #2a4676;outline-offset:2px}.iv-first{border:1px dashed #77849b;background:#eff3f8;color:#2f3e57;border-radius:24px;cursor:pointer}.iv-legend{gap:18px;color:#485161;margin:10px 0;font-size:.9rem}.iv-tension::before,.iv-support::before{content:'';width:24px;display:inline-block;vertical-align:middle;margin-right:7px;border-top:3px dashed #a14f35}.iv-support::before{border-top:3px solid #2b4166}.iv-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.iv-relation{border:1px solid #cbd0d8;background:white;border-radius:8px;padding:7px 12px;cursor:pointer;text-align:left;font:inherit;color:inherit;overflow-wrap:anywhere}.iv-pair{white-space:pre-wrap;overflow-wrap:anywhere}.iv-print,.iv-root [hidden]{display:none}.iv-plot button:focus:not(:focus-visible){outline:none}@media print{.iv-root>*{display:none!important}.iv-root .iv-print{display:block!important;width:100%;height:auto}}


.iv-dialog-actions{flex-wrap:wrap}
.iv-resize{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;background:transparent;touch-action:none;cursor:nwse-resize}
.iv-resize::before,.iv-resize::after{content:"";grid-area:1 / 1;pointer-events:none}
.iv-resize::before{width:24px;height:24px;border:2px solid white;border-radius:7px;background:#384965;box-shadow:0 1px 4px #27334855}
.iv-resize::after{width:17px;height:17px;background:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l12 12M4 9V4h5m7 7v5h-5'/%3E%3C/svg%3E")}
.iv-resize:hover::before,.iv-resize:focus-visible::before,.iv-resize:active::before{background:#22314a}
.iv-resizing,.iv-resizing .iv-node{cursor:nwse-resize}
@media (pointer:coarse){.iv-resize{width:44px;height:44px}}

.iv-group-list,.iv-group-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.iv-group-form{margin:8px 0;padding:10px 12px;background:#edf0f4;border-radius:10px}
.iv-group-form .fw-field{margin:0;min-width:min(100%,13rem)}
.iv-group-form .kb-control{align-self:flex-end}
.iv-group-chip{color:var(--group-ink);background:var(--group-fill);border:1px solid currentColor;border-radius:999px;padding:4px 10px;font:inherit;font-size:.85rem;cursor:pointer;max-width:100%;overflow-wrap:anywhere}
.iv-node[aria-pressed]{cursor:pointer;touch-action:manipulation}
.iv-node[aria-pressed=true]{outline:3px solid #243b64;outline-offset:1px}
.iv-node[aria-pressed=true]::before{content:'✓';position:absolute;top:-8px;left:-8px;background:#243b64;color:white;border:2px solid white;border-radius:50%;width:22px;height:22px;line-height:19px;text-align:center;font-weight:bold}
.iv-node[aria-pressed]:focus-visible{outline:3px double #214a87;outline-offset:4px}
