.ratio-resizer-page .field-row {
  display: flex;
  gap: 1rem;
}

.ratio-resizer-page .field-row--spaced {
  margin-bottom: 2rem;
}

.ratio-resizer-page .field-row .tool-field {
  flex: 1;
}

.ratio-resizer-page .ratio-actions {
  margin-top: 2rem;
}

.ratio-resizer-page .ratio-stage {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-inset);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 1rem;
}

.ratio-resizer-page .ratio-box {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text);
  color: var(--surface-stronger);
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
  transition: aspect-ratio 0.2s ease;
}

.ratio-resizer-page .status-field {
  margin-top: 1rem;
}
