.data-table-scroll { max-width:100%; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; border:0; background:transparent; }
.data-table { table-layout:fixed; border-collapse:collapse; width:100%; font:inherit; }
.data-table :is(th,td) { padding:8px; text-align:left; vertical-align:top; border-bottom:1px solid #dce5ee; }
.data-table-wrap :is(th,td) { white-space:normal; overflow-wrap:anywhere; word-break:normal; }
.data-table-nowrap :is(th,td) { white-space:nowrap; }
.data-table.data-table-adaptive { table-layout:auto; }
.data-table-adaptive col.data-table-compact { width:1%; }
.data-table :is(th,td).data-table-compact { white-space:nowrap; }
.data-table .salon-table-legal { display:block; max-inline-size:30ch; }
.data-table .salon-table-inn { white-space:nowrap; }
.data-table th { position:sticky; top:0; z-index:1; height:44px; box-sizing:border-box; background:#edf3f9; font-weight:600; }
/* Keep heading/data alignment together despite the shell's centered legacy headings. */
.reference-app table.data-table:has(> thead) > thead > tr > th { text-align:center; font-weight:400; }
.data-table tbody tr:last-child td { border-bottom:0; }
.data-table-actions { white-space:normal; }
.data-row-actions { display:flex; flex-wrap:wrap; gap:.25rem; }
.data-row-actions button { display:inline-flex; align-items:center; justify-content:center; min-width:2.25rem; min-height:2.25rem; padding:.35rem; border:1px solid #a8bacb; border-radius:.3rem; background:#fff; color:#194d7c; cursor:pointer; }
.data-row-actions button:hover { background:#e4eff9; }
.data-row-actions svg { width:1rem; height:1rem; }
.data-bool { display:inline-flex; width:1.15rem; height:1.15rem; align-items:center; justify-content:center; border:1px solid #718ca7; border-radius:.2rem; color:#194d7c; font-weight:700; }
.data-table-heading {
 display:grid;
 grid-template-columns:24px minmax(min-content,auto) 24px;
 align-items:center;
 justify-content:center;
 gap:4px;
}
th button.data-table-heading { display:inline-grid; }
.data-table-heading-label { grid-column:2; grid-row:1; text-align:center; }
.data-table-heading button, th button.data-table-heading { border:0; background:transparent; color:inherit; font:inherit; cursor:pointer; padding:0; }
.data-table-sort-arrows { grid-column:1; grid-row:1; display:grid; justify-items:center; }
.data-table-sort-arrows button { display:grid; place-items:center; width:24px; height:14px; }
.data-table-sort-arrows svg { display:block; width:11px; height:6px; fill:#a8b1bf; }
.data-table-sort-arrows :is(button[aria-pressed=true],.data-table-sort-active) svg { fill:var(--primary,#2578e8); }
.data-record-link { border:0; padding:0; font:inherit; color:var(--primary,#245cc5); background:none; cursor:pointer; text-align:inherit; overflow-wrap:anywhere; }
.reference-app .data-registry-controls .btn { height:32px; min-height:32px; display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.data-registry-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
.data-registry-actions svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; }
.reference-app .data-registry-controls :is(select,input:not([type=checkbox]):not([type=radio]):not(.single-date-input > input)) { min-height:32px; height:32px; padding:0 12px; font-size:14px; }
.reference-app .data-registry-controls .supply-combo-input { min-height:32px; height:32px; }
.reference-app .data-registry-controls .data-row-actions button { min-width:32px; min-height:32px; }
@media(max-width:700px) {
 .reference-app .data-registry-controls .btn,.reference-app .data-registry-controls .supply-combo-input,.reference-app .data-registry-controls :is(select,input:not([type=checkbox]):not([type=radio]):not(.single-date-input > input)) { min-height:44px; height:44px; }
}

input.data-bool { appearance:auto; margin:0; accent-color:var(--primary,#245cc5); opacity:1; }
