html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.controls {
    padding: 8px 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.controls input {
    padding: 6px 8px;
    font-size: 14px;
    width: 220px;
}

.controls button {
    padding: 6px 10px;
    font-size: 14px;
}

.info {
    margin-left: auto;
    font-size: 12px;
    color: #666;
}

.table-wrap {
    height: calc(100vh - 48px);
    overflow-x: auto;
}

thead {
    position: sticky;
    z-index: 1;
    top: 0;
}

table {
    border-spacing: 0;
    width: 0;
}

thead th {
    position: sticky;
    /*background: #fff;*/
    padding: 8px 6px;
    /*border-bottom: 1px solid #ccc;*/
    border: 0.5px solid gray;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unmovable-header {
    background: #fff;
    z-index: 1;
}


.movable-header {
    background: #fff;
}

.movable-header-liquid-glass {
     backdrop-filter: blur(10px);           /* размытое стекло */
    -webkit-backdrop-filter: blur(10px);
}


tbody {
    position: relative;
}

tbody tr {
    height: 32px;
}

td {
    padding: 6px 6px;
    border: 0.5px solid gray;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


tbody tr:nth-child(even) td {
    background-color: #f3f3ff;
}

tbody tr:nth-child(odd) td {
    background-color: #ffffff;
}


tbody tr:hover td {
    background: #fff3e5;
}

tbody tr:nth-child(even) td.ok,
tbody tr:nth-child(odd) td.ok {
    background-color: lightgreen;
}

tbody tr:nth-child(even) td.bad,
tbody tr:nth-child(odd) td.bad {
    background-color: lightcoral;
}

.cell-item {
    max-width: 22px;
    min-width: 22px;
    width: 22px;
    overflow-wrap: normal;
    text-align: center;
    vertical-align: center;
    overflow: visible;
    text-overflow: clip;
    font-size: small;
}