.au-table-native { --at-bg: #fff; --at-row: #f7f8fa; --at-head: #f0f1f4; --at-line: #e4e6eb; --at-text: #252a35; --at-muted: #687185; --at-selected: #efe8ff; --at-accent: #7828ff; position: relative; width: 100%; min-width: 0; color: var(--at-text); background: var(--at-bg); font: 12px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.au-table-native *, .au-table-native *::before, .au-table-native *::after { box-sizing: border-box; }
.au-table-native [hidden] { display: none !important; }
.au-table-tools { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 4px; border-bottom: 1px solid var(--at-line); }
.au-table-tools .au-table-button { width: 20px; height: 20px; min-height: 20px; padding: 2px; border: 0; border-radius: 2px; }
.au-table-tools .au-table-button span { display: none; }
.au-table-tools .au-table-button[aria-expanded="true"] { background: var(--at-selected); color: var(--at-accent); }
.au-table-layout { display: grid; grid-template-columns: minmax(0,1fr); min-width: 0; }
.au-table-panel-open .au-table-layout { grid-template-columns: minmax(0,1fr) minmax(190px,230px); }
.au-table-viewport { width: 100%; min-width: 0; max-height: 340px; overflow: auto; }
.au-table-native .au-table-demo { width: 100%; min-width: 0; margin: 0; table-layout: fixed; border-collapse: separate; border-spacing: 0; color: var(--at-text); background: var(--at-bg); font: inherit; }
.au-table-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.au-table-native .au-table-demo th, .au-table-native .au-table-demo td { padding: 7px 9px; min-height: 32px; border: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.au-table-native .au-table-demo th { position: sticky; top: 0; z-index: 1; font-weight: 600; background: var(--at-head); border-bottom: 1px solid var(--at-line); padding-right: 30px; }
.au-table-native .au-table-demo th + th { border-left: 1px solid var(--at-line); }
.au-table-native .au-table-demo td.au-table-numeric { text-align: right; }
.au-table-native .au-table-demo tbody tr:nth-child(even) { background: var(--at-row); }
.au-table-native .au-table-demo tbody tr:hover, .au-table-native .au-table-demo tbody tr.au-row-selected { background: var(--at-selected); }
.au-table-native .au-table-demo .au-table-check-cell { width: 32px; padding: 6px 9px; }
.au-table-native input[type="checkbox"] { width: 13px; height: 13px; margin: 1px 0; accent-color: var(--at-accent); }
.au-table-sort { width: 100%; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; font-weight: inherit; cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-table-sort span { white-space: nowrap; }
.au-table-demo th[aria-sort="ascending"] .au-table-sort::after { content: " ▴"; color: var(--at-muted); }
.au-table-demo th[aria-sort="descending"] .au-table-sort::after { content: " ▾"; color: var(--at-muted); }
.au-table-header-filter { position: absolute; right: 7px; top: 6px; width: 20px; height: 20px; padding: 2px; border: 0; border-radius: 2px; color: var(--at-muted); background: transparent; cursor: pointer; }
.au-table-header-filter span { display: none; }
.au-table-header-filter:hover, .au-table-header-filter.au-filter-active { color: var(--at-accent); background: var(--at-selected); }
.au-table-resize { position: absolute; top: 0; right: 0; height: 100%; width: 5px; padding: 0; border: 0; cursor: col-resize; background: transparent; touch-action: none; }
.au-table-resize:hover { background: var(--at-accent); }
.au-table-status { display: flex; gap: 6px 14px; flex-wrap: wrap; padding: 7px 9px; min-height: 30px; font-size: 11px; color: var(--at-muted); border-top: 1px solid var(--at-line); }
.au-table-native .au-table-demo td.au-table-empty { padding: 25px 12px; white-space: normal; color: var(--at-muted); text-align: center; }
.au-table-error { padding: 8px 10px; border: 1px solid #f0bfc2; color: #9d1829; background: #fff2f4; overflow-wrap: anywhere; }
.au-table-panel { min-width: 0; max-height: 340px; overflow-y: auto; border-left: 1px solid var(--at-line); padding: 10px; background: var(--at-bg); }
.au-table-panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; }
.au-table-panel-heading strong { font-size: 12px; font-weight: 600; }
.au-table-panel-heading .au-table-button { width: 20px; height: 20px; padding: 2px; }
.au-table-panel-heading .au-table-button span { display: none; }
.au-table-button { display: inline-flex; align-items: center; justify-content: flex-start; gap: 6px; padding: 4px 6px; min-height: 26px; border: 1px solid var(--at-line); border-radius: 3px; background: var(--at-bg); color: var(--at-text); font: inherit; cursor: pointer; text-align: left; }
.au-table-button svg { flex-shrink: 0; }
.au-table-button:hover { color: var(--at-accent); background: var(--at-selected); }
.au-table-button:disabled { opacity: .45; cursor: default; }
.au-table-native button:focus-visible, .au-table-native input:focus-visible, .au-table-native select:focus-visible { outline: 2px solid var(--at-accent); outline-offset: 1px; }
.au-table-panel input:not([type="checkbox"]), .au-table-panel select { width: 100%; max-width: 100%; min-height: 28px; padding: 4px 6px; margin: 0 0 8px; border: 1px solid var(--at-line); border-radius: 3px; color: var(--at-text); background: var(--at-bg); font: inherit; }
.au-table-check { display: flex; gap: 7px; align-items: flex-start; margin: 7px 0; overflow-wrap: anywhere; cursor: pointer; }
.au-table-check input { flex-shrink: 0; }
.au-table-panel-actions { display: flex; gap: 4px; flex-wrap: wrap; margin: 5px 0 12px; }
.au-table-context { position: absolute; z-index: 12; min-width: 180px; max-width: calc(100% - 8px); padding: 7px; border: 1px solid var(--at-line); border-radius: 3px; background: var(--at-bg); color: var(--at-text); box-shadow: 0 8px 22px #12112826; }
.au-table-context > .au-table-button { display: flex; width: 100%; border: 0; padding: 5px 7px; font-size: 12px; }
.au-table-native[data-theme="dark"], .dark .au-table-native, [data-theme="dark"] .au-table-native { --at-bg: #202126; --at-row: #2b2c32; --at-head: #36373f; --at-line: #41434d; --at-text: #ecedf3; --at-muted: #a5adbf; --at-selected: #332044; --at-accent: #b28aff; }
@media (max-width: 700px) { .au-table-panel-open .au-table-layout { grid-template-columns: minmax(0,1fr); } .au-table-panel { border-left: 0; border-top: 1px solid var(--at-line); max-height: 260px; } .au-table-status { font-size: 10px; gap: 5px 9px; } }
