.khe-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.khe-selection-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;padding:.75rem;background:var(--khe-surface,#fff);border:1px solid var(--khe-line,#dce3ea);border-bottom:0;border-radius:var(--khe-radius,.375rem) var(--khe-radius,.375rem) 0 0}
.khe-selection-count{min-width:145px;font-size:.85rem;color:var(--khe-muted,#56667a);font-variant-numeric:tabular-nums}.khe-selection-actions{display:flex;flex-wrap:wrap;gap:.5rem;flex:1}
.khe-table-button{font:inherit;font-size:.85rem;font-weight:600;min-height:36px;border:1px solid var(--khe-navy,#002854);background:var(--khe-navy,#002854);color:#fff;border-radius:var(--khe-radius,.375rem);padding:.45rem .7rem;cursor:pointer;white-space:nowrap}
.khe-table-button--quiet{background:transparent;color:var(--khe-ink,#002854);border-color:var(--khe-line,#dce3ea)}.khe-table-button:disabled{opacity:.45;cursor:default}
.khe-table-viewport{max-height:560px;max-height:min(60vh,560px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--khe-line,#dce3ea);border-radius:0 0 var(--khe-radius,.375rem) var(--khe-radius,.375rem);isolation:isolate;scrollbar-gutter:stable}
.khe-selection-table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:100%;margin:0;font-size:.86rem;background:var(--khe-surface,#fff)}
.khe-selection-table :is(th,td){box-sizing:border-box;position:relative;padding:.65rem .75rem;vertical-align:middle;text-align:left;border-bottom:1px solid var(--khe-line,#dce3ea);border-right:1px solid #e6ebf0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.khe-selection-table thead th{position:sticky;top:0;z-index:3;background:#f1f4f8;color:var(--khe-navy,#002854);font-weight:600;text-transform:none;letter-spacing:0;padding-right:18px;height:44px}
.khe-selection-table .khe-selection-cell{position:sticky;left:0;z-index:2;width:48px;text-align:center;padding:.6rem;background:var(--khe-surface,#fff)}.khe-selection-table thead .khe-selection-cell{z-index:4;background:#f1f4f8}
.khe-selection-table tbody tr:nth-child(even)>td{background:#f7f9fb}.khe-selection-table tbody tr:hover>td{background:#eef3f8}.khe-selection-table tbody tr.is-selected>td{background:var(--khe-accent-tint,#e5f6fd)}
.khe-selection-table input[type=checkbox]{width:18px;height:18px;accent-color:var(--khe-navy,#002854);margin:0;cursor:pointer}
.khe-selection-table .khe-table-empty{white-space:normal;padding:2rem;color:var(--khe-muted,#56667a)}
.khe-column-resizer{position:absolute;right:0;top:0;bottom:0;width:12px;cursor:col-resize;touch-action:none;z-index:1}.khe-column-resizer::after{content:"";position:absolute;right:4px;top:25%;bottom:25%;border-right:2px solid var(--khe-line-strong,#8796a8)}.khe-column-resizer:hover,.khe-column-resizer:focus-visible{background:var(--khe-accent-tint,#e5f6fd)}
.khe-table-resizing{user-select:none;cursor:col-resize}.khe-selection-table .khe-id{font-variant-numeric:tabular-nums}
.khe-table-viewport:focus-visible,.khe-column-resizer:focus-visible,.khe-selection-toolbar button:focus-visible,.khe-selection-table input:focus-visible{outline:3px solid var(--khe-focus,#008cc4);outline-offset:-3px}
@media(pointer:coarse){.khe-table-button{min-height:44px}.khe-selection-table .khe-selection-cell{height:44px}.khe-column-resizer{width:18px}}
@media(max-width:600px){.khe-selection-actions{flex-basis:100%;order:2}.khe-selection-count{flex:1;min-width:0}.khe-selection-toolbar{gap:.5rem;padding:.6rem}.khe-selection-toolbar>.khe-table-button{font-size:.75rem}.khe-table-viewport{max-height:65vh}}

.khe-column-sort{display:flex;align-items:center;justify-content:space-between;gap:.4rem;width:100%;border:0;background:transparent;color:inherit;font:inherit;text-align:left;padding:0;cursor:pointer}.khe-column-sort:hover{text-decoration:underline}.khe-column-sort:focus-visible{outline:3px solid var(--khe-focus,#008cc4);outline-offset:2px}.khe-sort-indicator{flex-shrink:0;color:var(--khe-muted,#56667a)}
/* "Select all" sits beside the header box. Every box in the column lines up on the left under it. */
.khe-table.khe-selection-table .khe-selection-cell{width:120px;text-align:left;padding-inline:.85rem .5rem}
.khe-selection-table .khe-select-all{display:inline-flex;align-items:center;gap:.45rem;white-space:nowrap;font-size:.8rem;font-weight:600;color:var(--khe-ink,#16273b);cursor:pointer}
