/* MwSelectOptionSetEditor — option rows laid out as aligned columns:
   key (fixed width, truncates) | localized name inputs (fills) | delete (right). */

.mw-sose-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mw-sose-row {
    display: grid;
    grid-template-columns: 24rem 1fr auto;
    align-items: center;
    column-gap: 16px;
}

/* NOTE: Key cell — let the chip shrink and clip so the rename pencil stays put and the column
   width stays constant across rows. */
.mw-sose-key {
    min-width: 0;
}

.mw-sose-key > div {
    min-width: 0;
    max-width: 100%;
}

.mw-sose-key .mud-chip {
    min-width: 0;
    overflow: hidden;
    flex-shrink: 1;
}

.mw-sose-key .mud-chip-content {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mw-sose-key .mud-icon-button {
    flex-shrink: 0;
}

/* NOTE: Names cell fills the middle column so the EN/DE inputs are a uniform width on every row. */
.mw-sose-names {
    min-width: 0;
}
