#workspace:has(> .record-table-scroll) { padding: 0; overflow: hidden; }
.record-table-controls { display: flex; justify-content: flex-end; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.record-table-controls > button { min-height: 34px; padding: 6px 12px; }
.record-table-scroll { width: 100%; overflow: auto; }
.record-table .record-actions-cell { position: sticky; right: 0; z-index: 2; width: 80px; min-width: 80px; padding: 8px 12px; text-align: center; vertical-align: middle; background: var(--surface); box-shadow: -7px 0 10px -10px var(--text); white-space: nowrap; }
.record-table th.record-actions-cell { z-index: 3; background: var(--surface-soft); }
.record-table .record-actions-cell:has(.record-action-menu:not([hidden])) { z-index: 4; }
.record-table tbody tr:hover .record-actions-cell { background: var(--surface-hover); }
.record-table .record-actions-trigger { width: 36px; height: 34px; min-height: 34px; margin: 0; padding: 0 8px; font-size: 22px; line-height: 1; }
.record-popup { position: fixed; z-index: 100; inset: auto; width: max-content; max-width: min(340px, calc(100vw - 16px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 6px; background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); border-radius: 7px; box-shadow: 0 8px 28px #0003; text-align: left; white-space: normal; font-size: 14px; }
.record-action-menu { min-width: 210px; }
.record-action-menu button { display: block; width: 100%; margin: 0; min-height: 36px; padding: 8px 12px; border-color: transparent; background: transparent; border-radius: 4px; text-align: left; font-size: 14px; }
.record-action-menu button:hover:not(:disabled), .record-action-menu button:focus-visible { background: var(--surface-hover); }
.record-column-picker { width: 300px; padding: 14px; }
.record-column-picker > strong { display: block; margin-bottom: 10px; }
.record-column-picker label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 2px; cursor: pointer; font-weight: 400; }
.record-column-picker input[type=checkbox] { width: 16px; height: 16px; min-height: 0; margin: 0; flex-shrink: 0; }
.record-column-picker > button { margin: 4px 6px 0 0; }
