/* Tool Options Panel Component Layer (loaded on tool pages) */
.tool-option-select:focus,
.tool-option-input:focus {
  border-color: var(--ps-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.options-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.options-grid-2x2 .tool-option-group {
  min-width: 0;
}

@media (max-width: 640px) {
  .options-grid-2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tool-options-panel:not(.options-grid-2x2) .tool-option-group {
    min-width: 100%;
  }
}
