/* /Components/EditableTable.razor.rz.scp.css */
.et-toolbar[b-lhoc0x2cnd] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.et-btn[b-lhoc0x2cnd],
.et-toolbar[b-lhoc0x2cnd]  .et-btn {
    width: auto;
    margin-bottom: 0;
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
}

.et-table[b-lhoc0x2cnd] {
    width: auto;
    margin-bottom: 0;
}

    .et-table th[b-lhoc0x2cnd],
    .et-table td[b-lhoc0x2cnd] {
        text-align: center;
        vertical-align: middle;
        min-width: 5rem;
        border: var(--pico-border-width) solid var(--pico-table-border-color);
    }

    .et-table thead th[b-lhoc0x2cnd] {
        --pico-border-width: 0.0625rem;
        background-color: var(--pico-table-row-stripped-background-color);
    }

    /* No cell padding: the input fills the whole cell, so the entire cell is clickable. */
    .et-table td[b-lhoc0x2cnd] {
        padding: 0;
    }

        .et-table td.et-cell-readonly[b-lhoc0x2cnd] {
            padding: 0.6rem 0.8rem;
        }

        /* Row-spanning cells (e.g. θ): stretch the input over the full merged height. */
        .et-table td.et-cell-tall[b-lhoc0x2cnd] {
            position: relative;
        }

            .et-table td.et-cell-tall .et-input[b-lhoc0x2cnd] {
                position: absolute;
                inset: 0;
                height: 100%;
            }

/* Same padding as .et-input so the hidden text matches the visible width. */
.et-sizer[b-lhoc0x2cnd] {
    display: block;
    height: 0;
    padding: 0 0.8rem;
    visibility: hidden;
    white-space: pre;
}

        .et-table td:focus-within[b-lhoc0x2cnd] {
            box-shadow: inset 0 0 0 2px var(--pico-primary);
        }

.et-input[b-lhoc0x2cnd] {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0.6rem 0.8rem;
    cursor: text;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    text-align: center;
}

    .et-input:focus[b-lhoc0x2cnd] {
        box-shadow: none;
    }

.et-header-editor[b-lhoc0x2cnd] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
}

.et-header-input[b-lhoc0x2cnd] {
    min-width: 5rem;
    height: auto;
    margin: 0;
    padding: 0.25rem 0.4rem;
    font-size: 0.8rem;
    text-align: center;
}

.et-header-toggles[b-lhoc0x2cnd] {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 400;
}

    .et-header-toggles label[b-lhoc0x2cnd] {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        margin-bottom: 0;
    }

    .et-header-toggles input[type="checkbox"][b-lhoc0x2cnd] {
        margin: 0;
    }

.et-dropdown[b-lhoc0x2cnd] {
    margin-bottom: 0;
}

    .et-dropdown > summary.et-btn[b-lhoc0x2cnd] {
        height: auto;
    }
