/* A separate action row keeps the close target clear of sorting and resize handles. */
table thead th > .column-close-bar{display:flex;justify-content:flex-end;align-items:center;min-height:22px;margin:0 0 3px;padding-right:10px;line-height:1;white-space:normal}
table thead th .column-close-bar > .column-close{display:inline-flex;align-items:center;justify-content:center;position:static;flex:0 0 22px;width:22px;min-width:22px;height:22px;min-height:22px;padding:0;margin:0 2px 0 0;border:1px solid transparent;border-radius:4px;font:20px/1 Arial,sans-serif;color:inherit;background:transparent;opacity:.7;cursor:pointer}
table thead th .column-close:hover{opacity:1;background:var(--border,#d8dde733);border-color:currentColor}
table thead th .column-close:focus-visible{opacity:1;outline:2px solid currentColor;outline-offset:1px}
table thead th .column-close:disabled{opacity:.25;cursor:default}
table [hidden],table col[hidden]{display:none!important}
.table-column-menu{font-size:12px;line-height:1.4;padding:4px 0;margin-bottom:6px;color:inherit;text-align:left}
.table-column-menu>summary{cursor:pointer;width:max-content;padding:4px 8px;border:1px solid var(--border,#b9c3d0);border-radius:5px;list-style-position:inside}
.table-column-options{display:flex;flex-wrap:wrap;gap:8px 16px;padding:10px 4px;max-height:180px;overflow:auto}
.table-column-options label{display:flex;align-items:center;gap:5px;font:inherit;cursor:pointer}
.table-column-options input{width:16px;height:16px;margin:0}
@media(pointer:coarse){table thead th .column-close-bar > .column-close{width:28px;min-width:28px;height:28px;min-height:28px;flex-basis:28px}}

.column-panel-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex-shrink:0}
.rnp-column-panel>.column-panel-actions,.dbs-column-options>.column-panel-actions{position:sticky;bottom:0;z-index:1;padding:6px 0;background:var(--panel)}
