/* Erzeugt aus hexagon/index.html: dieselben Regeln, nur innerhalb von .hx (Einbettung auf der Afferenzen-Seite). */
.hx.hx { color: #e8e6df; font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.3; letter-spacing: 0; text-transform: none; text-align: left; }
/* Portfolio-Klassen gleichen Namens (.ctl, .row, .seg, .stage, .sp, .small, .on, .open …) dürfen hier nicht greifen. Nur HTML-Elemente, nie SVG-Teile. */
.hx.hx div, .hx.hx span, .hx.hx button, .hx.hx input, .hx.hx select, .hx.hx label, .hx.hx h3, .hx.hx p, .hx.hx aside { all: revert; }
.hx.hx [hidden] { display: none !important; }
.hx.hx #springs { width: 100%; height: auto; display: block; }
.hx.hx svg.view { width: 100%; height: auto; display: block; }
.hx.hx .view { touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.hx.hx .view:active { cursor: grabbing; }
.hx.hx .view { background: #0d0f12; border-radius: 12px; }
.hx.hx .dark { background: #0d0f12; border-radius: 12px; }
.hx.hx .bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; font-size: 13px; color: #8a909c; }
.hx.hx .bar .sp { flex: 1; }
.hx.hx button { font: inherit; font-size: 13px; padding: 6px 12px; border: 0.5px solid #444a55; border-radius: 8px; background: #262a31; color: #e8e6df; cursor: pointer; }
.hx.hx button:hover { background: #30353d; }
.hx.hx button.primary { background: #e8e6df; color: #0d0f12; border-color: #e8e6df; }
.hx.hx button.primary:hover { background: #ffffff; }
.hx.hx #ov-wrap { position: fixed; inset: 0; z-index: 50; background: #0d0f12; color: #e8e6df; display: grid; grid-template-columns: minmax(0, 1fr) 340px;
    transform: translateX(100%); visibility: hidden; transition: transform .5s cubic-bezier(.2,.8,.2,1), visibility 0s linear .5s, grid-template-columns .3s ease; font-size: 13px; }
.hx.hx #ov-wrap.open { transform: none; visibility: visible; transition: transform .5s cubic-bezier(.2,.8,.2,1), visibility 0s, grid-template-columns .3s ease; }
.hx.hx #ov-wrap.nopanel { grid-template-columns: minmax(0, 1fr) 0px; }
@media (prefers-reduced-motion: reduce) {
.hx.hx #ov-wrap, .hx.hx #ov-wrap.open { transition: none; }
}
.hx.hx .stage { position: relative; overflow: hidden; min-height: 0; }
.hx.hx #ov-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hx.hx .ov-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; pointer-events: none; }
.hx.hx .ov-top > * { pointer-events: auto; }
.hx.hx .ov-top .sp { flex: 1; pointer-events: none; }
.hx.hx .ov-bottom { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; gap: 8px; align-items: flex-end; pointer-events: none; }
.hx.hx .ov-bottom > * { pointer-events: auto; }
.hx.hx #ov-hint { flex: 1; font-size: 12px; color: #8a909c; pointer-events: none; }
.hx.hx .btn-d { font: inherit; font-size: 13px; padding: 7px 12px; border-radius: 8px; border: 0.5px solid #3a3f49; background: #1a1d22; color: #e8e6df; cursor: pointer; }
.hx.hx .btn-d:hover { background: #23272e; }
.hx.hx .btn-d.danger { color: #F09595; border-color: #5b2a2a; }
.hx.hx .btn-d.danger:hover { background: #2a1717; }
.hx.hx .btn-d.accent { background: #e8e6df; color: #0d0f12; border-color: #e8e6df; }
.hx.hx .seg { display: inline-flex; border: 0.5px solid #3a3f49; border-radius: 8px; overflow: hidden; background: #1a1d22; }
.hx.hx .seg button { border: 0; border-radius: 0; background: transparent; color: #c9c7bf; padding: 7px 12px; font-size: 13px; }
.hx.hx .seg button:hover { background: #23272e; }
.hx.hx .seg button.on { background: #e8e6df; color: #0d0f12; }
.hx.hx .seg.small button { padding: 5px 10px; font-size: 12px; }
.hx.hx .panel { background: #121418; border-left: 0.5px solid #2a2e35; overflow-y: auto; overflow-x: hidden; padding: 14px 16px 48px; min-width: 0; }
.hx.hx .panel h3 { font-size: 12px; font-weight: 500; color: #8a909c; margin: 22px 0 8px; text-transform: none; }
.hx.hx .panel h3:first-child { margin-top: 4px; }
.hx.hx .phead { display: flex; justify-content: space-between; align-items: center; }
.hx.hx .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 9px 0; min-height: 24px; }
.hx.hx .row label { color: #c9c7bf; flex: 1; }
.hx.hx .row .ctl { display: flex; align-items: center; gap: 8px; }
.hx.hx input[type=range] { width: 130px; accent-color: #ff3b3b; }
.hx.hx .val { font: inherit; font-variant-numeric: tabular-nums; color: #8a909c; width: 48px; box-sizing: border-box; flex: none; text-align: right; font-size: 12px; background: transparent; border: 0.5px solid transparent; border-radius: 4px; padding: 1px 2px; margin: 0; cursor: text; }
.hx.hx .val:hover { border-color: #3a3f49; }
.hx.hx .val:focus { outline: none; border-color: #5DCAA5; background: #1a1d22; color: #e8e6df; }
.hx.hx input[type=color] { width: 36px; height: 24px; border: 0.5px solid #3a3f49; border-radius: 6px; padding: 0; background: none; cursor: pointer; }
.hx.hx select { background: #1a1d22; color: #e8e6df; border: 0.5px solid #3a3f49; border-radius: 6px; padding: 4px 6px; font: inherit; font-size: 12px; }
.hx.hx .tg { appearance: none; -webkit-appearance: none; width: 34px; height: 20px; border-radius: 10px; background: #3a3f49; position: relative; cursor: pointer; transition: background .15s; margin: 0; flex: none; }
.hx.hx .tg::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #e8e6df; transition: left .15s; }
.hx.hx .tg:checked { background: #ff3b3b; }
.hx.hx .tg:checked::after { left: 16px; }
.hx.hx .dim { opacity: 0.4; }
.hx.hx .muted { color: #8a909c; }
.hx.hx .small { font-size: 11px; }
.hx.hx .rope-list { max-height: 230px; overflow-y: auto; margin: 0 -6px; }
.hx.hx .rope-row { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 8px; cursor: pointer; }
.hx.hx .rope-row:hover { background: #1a1d22; }
.hx.hx .rope-row.sel { background: #1f3a32; }
.hx.hx .sw { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.hx.hx .rn { flex: 1; }
.hx.hx .rl { color: #8a909c; font-variant-numeric: tabular-nums; font-size: 12px; }
.hx.hx .rw, .hx.hx .rw0 { width: 16px; height: 16px; flex: none; }
.hx.hx .rw { border-radius: 50%; background: #633806; color: #FAC775; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.hx.hx .icon-btn { background: none; border: 0; color: #8a909c; font-size: 16px; line-height: 1; padding: 2px 6px; border-radius: 6px; cursor: pointer; }
.hx.hx .icon-btn:hover { background: #2a1717; color: #F09595; }
.hx.hx .sel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.hx.hx .xyz { display: grid; grid-template-columns: 40px 1fr 1fr 1fr; gap: 6px; align-items: center; margin-top: 8px; }
.hx.hx .xl { color: #c9c7bf; }
.hx.hx .xi { display: flex; align-items: center; gap: 4px; min-width: 0; }
.hx.hx .xi span { color: #8a909c; font-size: 11px; }
.hx.hx .xi input { width: 100%; min-width: 0; box-sizing: border-box; background: #1a1d22; border: 0.5px solid #3a3f49; border-radius: 6px; color: #e8e6df; padding: 5px 5px; font: inherit; font-size: 12px; font-variant-numeric: tabular-nums; }
.hx.hx .xd { font-size: 11px; color: #8a909c; margin: 4px 0 0 46px; }
.hx.hx .link { background: none; border: 0; padding: 0; color: #5DCAA5; font-size: 11px; cursor: pointer; text-decoration: underline; }
.hx.hx .warn { color: #FAC775; font-size: 12px; margin: 5px 0; }
.hx.hx .okline { color: #5DCAA5; font-size: 12px; margin: 8px 0; }
.hx.hx .rz-num { width: 54px; box-sizing: border-box; background: #1a1d22; border: 0.5px solid #3a3f49; border-radius: 6px; color: #e8e6df; padding: 4px 5px; font: inherit; font-size: 12px; }
.hx.hx .rz-chk { display: inline-flex; align-items: center; gap: 4px; color: #c9c7bf; font-size: 12px; flex: none; }
.hx.hx span.val { cursor: default; }
.hx.hx .btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
@media (max-width: 820px) {
.hx.hx #ov-wrap { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 46vh; }
.hx.hx #ov-wrap.nopanel { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 0px; }
.hx.hx .panel { border-left: 0; border-top: 0.5px solid #2a2e35; }
}
/* über Kopfzeile (800) und Seitennavigation (900) der Portfolio-Seite */
.hx.hx #ov-wrap { z-index: 1000; }
/* Knöpfe unter der Ansicht: über dem breiten Hover-Bereich der Seitennavigation, sonst nicht anklickbar */
.hx.hx .bar { position: relative; z-index: 950; }
