.sheet-grid input.selected-cell {
  outline: 2px solid #1766bd !important;
  outline-offset: -2px;
  box-shadow: inset 0 0 0 9999px #d8eaff35;
}

.sheet-format-toolbar {
  gap: 4px;
}

.sheet-format-toolbar select {
  max-width: 128px;
}

.sheet-color {
  position: relative;
  width: 34px;
  height: 33px;
  border: 1px solid #cbd4df;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-weight: 700;
  cursor: pointer;
}

.sheet-color input {
  position: absolute;
  inset: auto 3px 2px;
  width: 26px;
  height: 5px;
  padding: 0;
  border: 0;
}

.sheet-color.fill input {
  height: 25px;
  opacity: .25;
  inset: 3px;
}

.border-color {
  width: 34px !important;
  height: 33px !important;
  padding: 5px !important;
  border: 1px solid #cbd4df !important;
}

.sheet-dimension {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}

.sheet-dimension input {
  width: 55px;
  height: 32px;
}

.sheet-formula-row {
  flex-wrap: nowrap;
}

.sheet-formula-row small {
  color: #6d798b;
  white-space: nowrap;
}

@media (max-width: 1400px) {
  .sheet-format-toolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}
