[data-source-highlighted] {
    outline: 3px solid #9b4dca !important;
    outline-offset: 2px;
}

/* Grid tables use display: contents on rows, so the visible cells carry the boundary. */
tr[data-source-highlighted] > th,
tr[data-source-highlighted] > td {
    box-shadow: inset 0 3px #9b4dca, inset 0 -3px #9b4dca;
}

tr[data-source-highlighted] > :first-child {
    box-shadow: inset 3px 0 #9b4dca, inset 0 3px #9b4dca, inset 0 -3px #9b4dca;
}

tr[data-source-highlighted] > :last-child {
    box-shadow: inset -3px 0 #9b4dca, inset 0 3px #9b4dca, inset 0 -3px #9b4dca;
}

#sourceInspectorToggle,
#sourceInspectorLabel {
    position: fixed;
    z-index: 2147483647;
    color: #fff;
    background: #34213f;
    border: 1px solid #d3a6ed;
    border-radius: .3rem;
    padding: .45rem .65rem;
    font: 12px/1.3 ui-monospace, Consolas, monospace;
    box-shadow: 0 2px 8px #0006;
}

#sourceInspectorToggle {
    right: .75rem;
    bottom: .75rem;
    cursor: pointer;
}

#sourceInspectorLabel {
    left: .75rem;
    bottom: .75rem;
    max-width: calc(100vw - 10rem);
}
