#tableLayer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.table-active #tableLayer, .ocr-active #tableLayer { z-index: 6; }
.table-active #inspector > .property-section, .table-active #formLayer { display: none; }
.studio-page .transaction-cell { position: absolute; display: block; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; outline: .5px solid #168d8740; outline-offset: -1px; background: transparent; box-shadow: none; pointer-events: auto; cursor: pointer; transition: none; }
.studio-page .transaction-cell:hover, .studio-page .transaction-cell:focus-visible { background: #168d8715; outline: 1px solid #168d87; }
.studio-page .transaction-cell.selected { outline: 1px solid #168d87; background: transparent; }
.studio-page .transaction-row-delete { position: absolute; width: 24px; height: 24px; min-width: 24px; min-height: 24px; padding: 4px; border: 1px solid #bd6a5e; border-radius: 4px; color: #a33728; background: #fff; pointer-events: auto; }
.studio-page .transaction-row-delete:hover, .studio-page .transaction-row-delete:focus-visible { background: #fcebe7; border-color: #a33728; }
.studio-page .transaction-row-delete svg { width: 14px; height: 14px; }
.transaction-grid-space { position: absolute; pointer-events: none; overflow: hidden; background: repeating-linear-gradient(to bottom, #168d8740 0 1px, transparent 1px var(--table-row-step)); }
.transaction-grid-space > i { position: absolute; top: 0; height: 100%; outline: .5px solid #168d8740; outline-offset: -.5px; }
#tableRows { display: grid; gap: 4px; max-height: 280px; overflow: auto; }
.table-row-choice { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 6px; }
.table-row-choice input { width: 16px; height: 16px; accent-color: var(--ui-accent, #ad4a35); }
.table-row-choice button { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 12px; }
#tableColumns { display: grid; gap: 10px; }
#tableRowEditor textarea { min-height: 92px; resize: vertical; }
#tablePanel h2 { font-size: 13px; }
.table-colour-controls { display: flex; align-items: center; gap: 8px; }
.studio-page .table-colour-swatch { flex: 0 0 32px; width: 32px; height: 32px; min-height: 32px; padding: 0; border: 1px solid #aab6bd; border-radius: 4px; background: var(--swatch); }
.studio-page .table-colour-swatch:hover, .studio-page .table-colour-swatch:focus, .studio-page .table-colour-swatch:active { background: var(--swatch); }
.studio-page .table-colour-swatch[aria-pressed="true"] { background: var(--swatch); outline: 2px solid var(--ui-accent, #ad4a35); outline-offset: 2px; }
.studio-page #tableRowColour { flex: 0 0 48px; width: 48px; height: 32px; min-height: 32px; padding: 3px; cursor: pointer; }
#tableRowColourStatus { margin: 8px 0 0; font-size: 12px; }
#tableGeometry summary { cursor: pointer; font-size: 12px; }
#tableBatchPanel summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.table-batch-controls { display: grid; gap: 12px; margin-top: 14px; min-width: 0; }
.table-batch-controls .property-row { grid-template-columns: minmax(0, 1fr); }
.table-match-options { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.studio-page .table-match-options label, .studio-page .table-match-all { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.table-match-options input, .table-match-all input, .table-find-result > input { width: 16px; height: 16px; min-height: 16px; flex-shrink: 0; accent-color: var(--ui-accent, #ad4a35); }
#tableFindStatus { font-size: 12px; margin: 0; }
#tableFindResults { max-height: 320px; overflow: auto; min-width: 0; }
.table-find-result { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--ui-line, #dce1de); }
.table-find-result > input { margin-top: 7px; }
.table-find-result > div { min-width: 0; display: grid; gap: 4px; }
.studio-page .table-find-jump { justify-content: flex-start; padding: 2px 0; min-height: 24px; font-size: 12px; border: 0; background: transparent; }
.table-find-field { font-size: 11px; color: var(--ui-muted, #637167); }
.table-find-value { display: block; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 64px; overflow: auto; }
del.table-find-value { color: #993e35; }
ins.table-find-value { color: #24705b; text-decoration: none; }
#tableFindPager { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
