.data-table .record-sort-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:28px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.record-sort-heading>span:first-child{min-width:0;overflow-wrap:anywhere}
.record-sort-arrow{flex:none;width:14px;text-align:center;color:var(--muted);font-size:14px}
th[aria-sort=ascending] .record-sort-arrow,th[aria-sort=descending] .record-sort-arrow{color:var(--primary);font-weight:700}
.record-sort-heading:focus-visible{outline:2px solid var(--primary);outline-offset:4px;border-radius:2px}
.record-sort-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;padding:8px 10px;border-bottom:1px solid var(--line);background:var(--surface,#fff)}
.record-sort-controls select{max-width:100%;min-height:32px;border:1px solid var(--line);border-radius:4px;padding:4px 28px 4px 8px;background:var(--surface,#fff);color:inherit;font:inherit;font-size:12px}
.record-sort-controls span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.record-sort-scroll{max-width:100%;overflow-x:auto}
.record-sort-scroll>table{min-width:700px}
@media(max-width:600px){.record-sort-controls{justify-content:flex-start}.record-sort-heading{gap:4px}}
