:root {
  --prefix-color: #bbf7d0;
  --prefix-hover-color: #86efac;
  --suffix-color: #fecaca;
  --suffix-hover-color: #fca5a5;
  --light-blue: #bfdbfe;
  --dark-blue: #93c5fd;
}

.matrix {
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  border-color: #4b5563;
  border-style: solid;
  border-width: 2px;
  font-size: 1.25em;
}

.matrix * {
  padding: 0;
  margin: 0;
  border-width: 0px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.matrix table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  height: 100%;
}

.matrix td {
  border-color: #4b5563;
  border-style: solid;
  min-width: 3em;
  vertical-align: middle;
  line-height: 2em;
}

.prefixes {
  background-color: var(--prefix-color);
}
.suffixes {
  background-color: var(--suffix-color);
}

.matrix .mIypqTDFNV {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.matrix td.sdfWiTVxas {
  /* border-width: 0 0.1em;
  width: 2em; */
  height: 100%;
  /* padding: 1em 1em; */
  background-color: var(--light-blue);
}
.matrix td.sdfWiTVxas > .mIypqTDFNV > button {
  width: 100%;
  height: 100%;
  background-color: transparent;
  font-size: 3em;
  font-weight: bold;
  padding: 0.5em 0.25em;
}
.matrix td.sdfWiTVxas > .mIypqTDFNV > button:hover,
.matrix td.sdfWiTVxas > .mIypqTDFNV > button.active {
  background-color: var(--dark-blue) !important;
  cursor: pointer;
}

.matrix div.ODXkBXWmli > button,
.matrix div.xQHUpzTvCi > button {
  width: 100%;
  height: 100%;
  background-color: transparent;
  font-size: 1.125rem;
  line-height: 1rem;
}

.prefixes button,
.suffixes button {
  display: block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.matrix .prefixes div.ODXkBXWmli > button:hover,
.matrix .prefixes div.xQHUpzTvCi > button:hover {
  background-color: var(--prefix-hover-color);
  cursor: pointer;
}

.matrix .prefixes div.ODXkBXWmli > button:disabled,
.matrix .prefixes div.xQHUpzTvCi > button:disabled {
  background-color: var(--prefix-color);
  cursor: not-allowed;
}

.matrix .suffixes div.ODXkBXWmli > button:hover,
.matrix .suffixes div.xQHUpzTvCi > button:hover {
  background-color: var(--suffix-hover-color);
  cursor: pointer;
}

.matrix .suffixes div.ODXkBXWmli > button:disabled,
.matrix .suffixes div.xQHUpzTvCi > button:disabled {
  background-color: var(--suffix-color);
  cursor: not-allowed;
}

.description {
  font-size: 1.5em;
  font-style: italic;
  text-align: center;
  line-height: 1.25em;
  margin: 0.5em 0;
}

.matrix td.prefixes,
.matrix td.suffixes {
  vertical-align: top;
  padding: 0;
}

.matrix td.adewfBCixy {
  text-align: center;
}

.matrix td.olWgASdYVP {
  width: 100%;
  padding: 0;
  border-top-width: 0.1em;
}

.matrix td.olWgASdYVP.GCWaogROEj {
  border-top-width: 0;
}

.prefixes td.olWgASdYVP {
  border-right-width: 0.1em;
}

.suffixes td.olWgASdYVP {
  border-left-width: 0.1em;
}

.matrix div.xQHUpzTvCi {
  font-size: 1.5em;
  font-weight: bold;
}

.matrix div.ODXkBXWmli {
  height: 100%;
}

.matrix div.xQHUpzTvCi {
  height: 100%;
  background-color: var(--light-blue);
}
.matrix div.xQHUpzTvCi > button {
  text-align: center !important;
}
.matrix div.xQHUpzTvCi > button:hover,
.matrix div.xQHUpzTvCi > button.active {
  background-color: var(--dark-blue) !important;
  cursor: pointer;
}

.matrix td.EqkLGdmKYg {
  width: 100%;
}

.prefixes td.EqkLGdmKYg button {
  text-align: right;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.suffixes td.EqkLGdmKYg button {
  text-align: left;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.prefixes button.active {
  background-color: var(--prefix-hover-color) !important;
}

.suffixes button.active {
  background-color: var(--suffix-hover-color) !important;
}
