/* DMX Tab (KL-137, extracted to features/). Art-Net node list +
   protocol picker + enable toggle live here. */
@layer features {

/* DMX Tab */
.dmx-panel {
    background: var(--surface);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.dmx-panel > h2 {
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.dmx-panel .setting-row {
    margin-bottom: 1.25rem;
}

.dmx-panel .toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text);
    cursor: pointer;
}

.dmx-panel .toggle input[type="checkbox"] {
    accent-color: var(--accent);
    width: 1rem;
    height: 1rem;
}

.dmx-nodes {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.dmx-nodes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.dmx-nodes-header h3 {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.dmx-nodes-header .action-btn {
    flex: 0 0 auto;
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
}

.dmx-nodes-hint {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.dmx-node-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dmx-nodes-empty {
    padding: 1rem;
    text-align: center;
    color: var(--text-dim);
    font-style: italic;
    background: var(--surface-2);
    border-radius: 0.4rem;
    font-size: 0.8rem;
}

.dmx-node-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.55rem 0.75rem;
    background: var(--surface-2);
    border-radius: 0.4rem;
    font-size: 0.85rem;
}

.dmx-node-ip { color: var(--text); }
.dmx-node-ip strong { color: var(--text); font-weight: 600; }

.dmx-node-universe {
    color: var(--text-dim);
    font-size: 0.8rem;
}

.dmx-node-actions {
    display: flex;
    gap: 0.35rem;
}

.dmx-node-actions .action-btn {
    flex: 0 0 auto;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
}


} /* end @layer features */
